Registered Member
|
Hi,
I'm converting a function which one of the argument is a vector that represent a symetric matrix. For exemple for a 3*3 matrix the vector is (a11 a12 a13 a21 a22 a23 a31 a32 a33). Is there a way to use directly or to convert to a matrice a vector like that with Eigen? I know it's easy to convert it myself but i think it will require a lot of time... Thanks |
Moderator
|
Nope, you need to write one for loop and map each row individually...
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]