#6923: Matrix numerical approximation converts complex to real
------------------------------+---------------------------------------------
 Reporter:  Henryk.Trappmann  |       Owner:  tbd
     Type:  defect            |      Status:  new
 Priority:  major             |   Milestone:     
Component:  algebra           |    Keywords:     
 Reviewer:                    |      Author:     
   Merged:                    |  
------------------------------+---------------------------------------------
Description changed by Henryk.Trappmann:

Old description:

> sage: A = Matrix(CC,3); A.parent()
> Full MatrixSpace of 3 by 3 dense matrices over Complex Field with 53 bits
> of precision
> sage: B = A.n(20); B.parent()
> Full MatrixSpace of 3 by 3 dense matrices over Real Field with 20 bits of
> precision
>
> IMHO .n() only should change the precision, no other conversion.
> This is also the behaviour of .n() on ComplexField.

New description:

 sage: A = Matrix(CC,3); A.parent()[[BR]]
 Full MatrixSpace of 3 by 3 dense matrices over Complex Field with 53 bits
 of precision[[BR]]
 sage: B = A.n(20); B.parent()[[BR]]
 Full MatrixSpace of 3 by 3 dense matrices over Real Field with 20 bits of
 precision[[BR]]


 IMHO .n() only should change the precision, no other conversion.[[BR]]

 This is also the behaviour of .n() on ComplexField.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6923#comment:1>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to