Question #194486 on Yade changed:
https://answers.launchpad.net/yade/+question/194486

    Status: Open => Answered

Sergei Dorofeenko proposed the following answer:
Somehow so:

Matrix3r mat1,mat2;
mat<<11,12,13,  21,22,23,  31,32,33;
mat=mat*mat;

yade uses eigen3 library, so see doc on http://eigen.tuxfamily.org/dox/

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to