On 2013-01-09, Daniel Friedan <[email protected]> wrote:
> ------=_Part_1296_8764740.1357697544661
> Content-Type: text/plain; charset=ISO-8859-1
>
> solve_right() fails on matrices of arbitrary precision real numbers for 
> some but not all values of the precision.  See examples below.
>
> I'm seeing this in Sage 5.5 64bit under OS X 10.6.8 and also in Sage 5.2 
> under ScientificLinux.
>
> sage: RF= RealField(52)
> sage: Y=matrix(RF,2,2,1)
> sage: A = matrix(RF,[[0.24,1,0],[1,0,0]])
> sage: A.solve_right(Y)
>     ValueError: matrix equation has no solutions

indeed, also fails for me (Sage 5.6.beta2 on OSX 10.6.8).
It's certainly a bug.

>
> sage: RF= RealField(53)
> sage: Y=matrix(RF,2,2,1)
> sage: A = matrix(RF,[[0.24,1,0],[1,0,0]])
> sage: A.solve_right(Y)
>
> [ 0.000000000000000   1.00000000000000]
> [  1.00000000000000 -0.240000000000000]
> [ 0.000000000000000  0.000000000000000]
>
>   
> solve_right() fails for other values of the precision, including 10, 58, 
> and 98.  I haven't tried to search systematically. 
>

-- 
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