Hello,

I cannot find the proper sympy incantation so that the following system of 
equations (sy is my alias for sympy:

>>> sy.Eq(omega_e, euler_rates, evaluate=False)
Eq(Matrix([
[  \dot\phi],
[\dot\theta],
[  \dot\psi]]), Matrix([
[\omega_x + \omega_y*sin(\phi)*tan(\theta) + \omega_z*cos(\phi)*tan(\theta
)],
[                                   \omega_y*cos(\phi) - \omega_z*sin(\phi
)],
[           \omega_y*sin(\phi)*sec(\theta) + \omega_z*cos(\phi)*sec(\theta
)]]))

prints each equation matching matrix elements on the lhs and rhs as LaTeX 
code in a single statement.  It's simple to emit multiple latex statements, 
but this seems to cumbersome, and also makes it difficult to wrap the 
entire system of equations into a "array" or "bmatrix" LaTeX environment.  
Any suggestions welcome.

--
Seb

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/380adbf4-4ef4-41b6-9b2f-40d6902d489e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to