[GiNaC-list] (no subject)

Javier Ros Ganuza jros at unavarra.es
Tue Mar 7 19:31:30 CET 2006

Hello! :)

When performing matrix multiplications expressions get expanded like in
the following Example.

Is there a way to avoid expansion, that is to leave the parenthesis


Javier Ros

matrix aux1


matrix R23


matrix R12.mul(aux1)


What I want is to obtain something like

cos(q3)*(-d331*sin(q3)*dq3-d332*cos(q3)*dq3)+.... and so on for the
first (0,0) matrix element.

More information about the GiNaC-list mailing list