Registered Member
|
Hello,
using eigen 3.0.1, I wanted to compute eigenvectors and multiply each of them with its corresponding eigenvalue, using broadcasting:
but g++ complains
Can I get some hint as to what is wrong with that code? Cheers, edx PS thanks to devs of Eigen, I love it. |
Moderator
|
hi, what you want here is a matrix * diagonal matrix product, e.g.:
ev = eig.eigenvalues().asDiagonal() * eig.eigenvectors(); |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar