Should solve_right() be introducing a numerical error here?  The only 
numbers involved are 0, 1, and 0.24 and the calculation is linear in 0.24.

sage: RF= RealField(52)
sage: Y=matrix(RF,2,2,1);Y

[ 1.00000000000000 0.000000000000000]
[0.000000000000000  1.00000000000000]

sage: A = matrix(RF,[[0.24,1,0],[1,0,0]]); A

[0.240000000000000  1.00000000000000 0.000000000000000]
[ 1.00000000000000 0.000000000000000 0.000000000000000]

sage: X=A.solve_right(Y, check=false); X

[ 0.000000000000000   1.00000000000000]
[  1.00000000000000 -0.240000000000000]
[ 0.000000000000000  0.000000000000000]

sage: A*X-Y

[    0.000000000000000 -5.55111512312578e-17]
[    0.000000000000000     0.000000000000000]


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to