On 04/16/2010 03:46 PM, Alec Mihailovs wrote:
On Apr 16, 4:01 pm, Alexander Shyrokov<sjc...@gmail.com> wrote:
I have derived the equation, which looks like this:
((T - (E -T) *(H.dot(N) - T.dot(N))/(E - T).dot(N) - H) / S) == Mp
I'll take a look at it later. But in general, if you have a system of
linear equations, you can write it in a matrix form
A*x=b
in which case the solution can be obtained as
x=A.inverse()*b
That should work better than solve.
And A\b or A.solve_right(b) should work "better" than trying to get the
inverse of A (i.e., should probably be a bit faster, take less memory,
and if the matrices are numerical, have less error).
Thanks,
Jason
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org