← Back to team overview

yade-dev team mailing list archive

Re: WM3 -> Eigen migration

 

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 <gladky.anton@xxxxxxxxx>

> 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
>
>

Follow ups

References