This one had me stumped for a while. I'm using 4.1.1 here, but found the
same results in a 4.1.2 notebook. The solve_foo() methods are broken,
too; probably as a consequence.
# Good
sage: m = matrix([ [(-3/10), (1/5), (1/10)],
[(1/5), (-2/5), (2/5)],
[(1/10), (1/5), (-1/2)] ])
sage: m.echelon_form()
[ 1 0 -3/2]
[ 0 1 -7/4]
[ 0 0 0]
# Bad
sage: n = matrix([ [-0.3, 0.2, 0.1],
[0.2, -0.4, 0.4],
[0.1, 0.2, -0.5] ])
sage: n.echelon_form()
[ 1.00000000000000 0.000000000000000 0.000000000000000]
[0.000000000000000 1.00000000000000 0.000000000000000]
[0.000000000000000 0.000000000000000 1.00000000000000]
# Ugly
sage: m == n
True
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---