Hello,

    I have just started to use sympy.

I am trying to use euler rotation matrix
R(a, b, g) to transform a tensor (say, T_p
3x3 matrix) from its principal frame of
reference to lab frame of reference.

http://en.wikipedia.org/wiki/Euler_angles

basically doing,

T_lf = R(a,b,g) * T_p * R(a,b,g).inv()

I need to simplify the resultant matrix
T_lf using trignometry relations and
also evaluate the elements.

When I just tried to do,

T_lf.evalf(),

it takes forever to carry out the operations.

I have tried converting the T_lf into a list
and used a for loop to carry out,

trisimp(T_lf[i][j]).evalf()

But still it is very slow.

Kindly let me know the proper way to
carry out the operations on individual
matrix elements which needs to be
simplified and evaluated.

Thanks in advance
Morovia.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to