Gareth Charnock wrote:
> PS: Okay so I just had a looked at the matrix and vector classes in
> Ogre3D and irrlicht. Looks like they both define v*v as element wise
> multiplication but m*m is matrix multiplication. That just seems even
> more inconsistent.

        Eigen (http://eigen.tuxfamily.org/ ) uses '*' for the matrix
multiplication. v*v is an error (incompatible shapes). Element wise
operations can be done like this: v.cwise()*v

                Jerome
-- 
mailto:[email protected]
http://jeberger.free.fr
Jabber: [email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to