#1659: Add a complex128 method for conversion of symbolic (and other?)
expressions
to numpy's 128-bit complex type
-------------------------+--------------------------------------------------
Reporter: was | Owner: robertwb
Type: enhancement | Status: closed
Priority: major | Milestone: sage-duplicate/invalid/wontfix
Component: coercion | Resolution: worksforme
Keywords: | Author:
Upstream: N/A | Reviewer:
Merged: | Work_issues:
-------------------------+--------------------------------------------------
Changes (by mhansen):
* status: new => closed
* upstream: => N/A
* resolution: => worksforme
* milestone: sage-4.5.3 => sage-duplicate/invalid/wontfix
Comment:
This now works:
{{{
----------------------------------------------------------------------
| Sage Version 4.5.2, Release Date: 2010-08-05 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: combinat
sage: import numpy
sage: a = numpy.complex128(2+3*I); a
(2+3j)
sage: type(a)
<type 'numpy.complex128'>
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1659#comment:2>
Sage <http://www.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.