Registered Member
|
I'm trying to efficiently compute an orthogonal transform of a real, symmetric matrix, N = Q * M * Q^{T}, where Q is orthogonal. Because M' is also symmetric I'm looking at
This works fine, but I want to avoid any temporary memory allocation in the second line. There doesn't seem to be support for mixing views with noalias, i.e.
Thanks. -Mike |
Moderator
|
Yes, no need to add noalias here, noaliasing is the default for views.
|
Registered Member
|
Awesome.
On a similar note, what's the best way to access information about dense rows and columns from a partial matrix? The selfadjoint view doesn't seem to have row/column accessors, i.e.
doesn't work. Do I have to fill M explicitly? And, if so, is there a more efficient way than
Thanks, again! -Mike |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]