[sage-support] Re: Sage operations on a matrix containing constant vars fail

2009-10-06 Thread Robert Dodier
On Oct 5, 5:43 pm, Paul wrote: > sage: mat1 = Matrix(4,4,[[-e^-((1/2)*a*k),0,sin(-(1/2)*a*l),cos(-(1/2) > *a*l)],[0,e^(-(1/2)*a*k),-sin((1/2)*a*l),-cos((1/2)*a*l)],[-k*e^-((1/2) > *a*k),0,l*cos(-(1/2)*a*l),-l*sin(-(1/2)*a*l)],[0,k*e^(-(1/2)*a*k),l*cos > ((1/2)*a*l),-l*sin((1/2)*a*l)]]) Sage use

[sage-support] Re: Sage operations on a matrix containing constant vars fail

2009-10-05 Thread kcrisman
Unfortunately, a lot of stuff with symbolic matrices is now broken after our switch to using Pynac/Ginac for symbolics. We only just uncovered a lot of it. In fact, we're not even sure what's all broken! See http://trac.sagemath.org/sage_trac/ticket/6934 for (a little) more information. But

[sage-support] Re: Sage operations on a matrix containing constant vars fail

2009-10-05 Thread Paul
\left(\begin{array}{} -e^{-\frac{1}{2} \, a k} & 0 & \sin\left(-\frac{1}{2} \, a l\right) & \cos\left(-\frac{1}{2} \, a l\right) \\ 0 & e^{-\frac{1}{2} \, a k} & -\sin\left(\frac{1}{2} \, a l\right) & - \cos\left(\frac{1}{2} \, a l\right) \\ -k e^{-\frac{1}{2} \, a k} & 0 & l \cos\left(-\frac{

[sage-support] Re: Sage operations on a matrix containing constant vars fail

2009-10-05 Thread William Stein
On Mon, Oct 5, 2009 at 4:28 PM, Paul wrote: > > I'm trying to run sage matrix operations (ex, solve, eigenvalues, > eigenvectors) on a matrix constant constants variables (variables I've > defined that do not yet have a numeric value), but the ops seem to > either fail, or produce an unreadable a