Registered Member
|
Hi everyone,
Mathematically, A * D only requires multiplying the ith row of A with D_ii. Does the eigen class automatically do this if D is specified as in the Diagonal class? Sorry if I missed the answer somewhere else. |
Moderator
|
yes of course! e.g.:
A = A * d.asDiagonal() will be optimal, i.e., it will perform A.size() multiplications (using SIMD). |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient