Hi all,
I'm trying to exponentiate a matrix with a complex entry. The input
and output is below. Why does Sage give me 103993*I/33102 in the upper
right hand corner, and how can I get it to give me the right answer?
Also, how do I get it to use (eg.) RealField(100)?
Best, Paul

[EMAIL PROTECTED]:~> sage
----------------------------------------------------------------------
| SAGE Version 3.1.2, Release Date: 2008-09-19                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: A=Matrix([[1,0,i*float(pi)],[0,1,0],[0,0,1]])
sage: exp(A)/exp(1)

[             1              0 103993*I/33102]
[             0              1              0]
[             0              0              1]
sage: B=Matrix([[1,0,i*pi],[0,1,0],[0,0,1]])
sage: exp(B)/exp(1)

[   1    0 I*pi]
[   0    1    0]
[   0    0    1]

--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to