#1158: mathematical functions should remain symbolic
-------------------------+--------------------------------------------------
 Reporter:  zimmerma     |       Owner:  gfurnish  
     Type:  enhancement  |      Status:  assigned  
 Priority:  minor        |   Milestone:  sage-4.1.1
Component:  calculus     |    Keywords:            
 Reviewer:               |      Author:            
   Merged:               |  
-------------------------+--------------------------------------------------

Comment(by mvngu):

 OK, I get the same inconsistent behaviour:
 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.1, Release Date: 2009-07-09                         |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: sin(10)
 sin(10)
 sage: Ei(10)
 2492.22897624
 sage: sin(x)
 sin(x)
 sage: Ei(x)
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 
/home/mvngu/.sage/temp/sage.math.washington.edu/32665/_home_mvngu__sage_init_sage_0.py
 in <module>()

 /usr/local/sage/local/lib/python2.6/site-
 packages/sage/functions/transcendental.pyc in Ei(z)
     261     """
     262     import scipy.special, math
 --> 263     return CDF(-scipy.special.exp1(-complex(z)) +
 complex(0,math.pi))
     264
     265 def Li(x, eps_rel=None, err_bound=False):

 /usr/local/sage/local/lib/python2.6/site-
 packages/sage/symbolic/expression.so in
 sage.symbolic.expression.Expression.__complex__
 (sage/symbolic/expression.cpp:5609)()

 TypeError: unable to simplify to complex approximation
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1158#comment:8>
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