yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02714
Re: help with debug
Thx, it works. I must have missed the vector and quaternion multiplication in thewm3 templates.
I have not used Eigen, but will use it later on. What are the differences between using a template integrated into YADE, and one which is introduced like an external library?
Regards,
CWBoon
> From: eudoxos@xxxxxxxx
> To: yade-dev@xxxxxxxxxxxxxxxxxxx
> Date: Tue, 15 Dec 2009 16:50:37 +0100
> Subject: Re: [Yade-dev] help with debug
>
> BTW, speaking of that... delicate thing.
>
> It would be nice to get rid of wm3 in the future. Clearly there is no
> option touching the existing computation code; the first step would be
> writing a _thin_ wrapper for eigen (OK, I like eigen, and I think it is
> really good) that would mimick exactly the wm3 interface + many tests
> that would show equivalent results for various operations etc. Eigen's
> interface is very similar to wm3, so it would be quite straightforward.
>
> Would someone feel like taking this thing? We need Vector2<Real>,
> Vector3<Real>, Vector3<int>, then Quaternions and finally Matrix3<Real>;
> not so much, work for a few days and then some testing...
>
> Cheers, Vaclav
>
>
> > Hi,
> >
> > Can someone advise me how do I multiply a Quaternion.Conjugate *
> > Vector * Quaternion? The following doesn't work, including the
> > assignment in terms of "=" and "()". I looked at the wm3 template,
> > but suspect that vector*quaternion is not supported?
> >
> > Vector3r localP1 = (0);
> > localP1 = state1.ori.Conjugate() * tempP1 * state1.ori;
> > Vector3r localP2 = (0);
> > localP2 (state2.ori.Conjugate() * tempP2 * state2.ori);
> >
> >
> > Yours,
> >
> > CWBoon
> >
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
_________________________________________________________________
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop
Follow ups
References