Hi,

I have a simple task I'd like to do, and I suspect that someone out
there already knows how to do it:
I'd like to display a matrix factorization using jsmath/latex.  For
example, if I do something like

import scipy.linalg
my_mat = matrix(RR,2,2,[1,0,1,1])
u,s,vh = scipy.linalg.svd(my_mat.numpy())

I would like to display the matrix factorization my_mat = u s vh
(with the jsmath/latex version of the matrices instead of their
names).  This is for an interact example (see http://wiki.sagemath.org/interact,
the singular value decomposition example) so I don't want to use a
seperate cell starting with %latex.

Thanks,
M. Hampton
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to