Sorry if I write nonsense, I didn't follow all the details, but it
sounds a bit strange to migrate to "eigen" if we have no use of eigen
decomposition (isn't it precisely the one that is buggy in wm3?).
More importantly, eigen decomposition is used in the code. So, yes, we
need it.
Bruno
Anton Gladky a écrit :
It seems, I have wrapped all function. Except EigenDecomposition in
Matrices. I could not find it in Eigen documentation. Do we really
need it?
Also there are 2 functions Exp and Log in quaternion. I did not wrap them.
Can we try to unite YADE and Eigen?
______________________________
Anton Gladkyy
2010/2/4 Anton Gladky <[email protected]
<mailto:[email protected]>>
Vaclav, could you not control next few strings?
http://bazaar.launchpad.net/%7Eyade-dev/yade/wm3-eigen/annotate/head%3A/eigen/yadeMath.hpp#L151
Quaternionr(const Eigen::Matrix<Real,3,1>c[3]) {
Eigen::Matrix<Real,3,3> x;
x<<c[0][0],c[1][0],c[2][0],c[0][1],c[1][1],c[2][1],c[0][2],c[1][2],c[2][2];
EigenBase q; q=x; *this=q;
}
How do you find it? Is it ok?
Also, please, control FromAxisAngle() and Rotate() fuctions, I
mean implementation.
Thank you very much!
______________________________
Anton Gladkyy
------------------------------------------------------------------------
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp
--
_______________
Bruno Chareyre
Associate Professor
Grenoble INP
Lab. 3SR
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp