#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):
What is the status of this ticket? Can it be closed as fixed? In Sage 4.1,
I get this:
{{{
----------------------------------------------------------------------
| Sage Version 4.1, Release Date: 2009-07-09 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: Ei(10)
2492.22897624
sage: bessel_J(0,10)
-0.245935764451348
sage: bessel_J(0,x)
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (1171, 0))
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/home/mvngu/.sage/temp/sage.math.washington.edu/12800/_home_mvngu__sage_init_sage_0.py
in <module>()
/usr/local/sage/local/lib/python2.6/site-
packages/sage/functions/special.pyc in bessel_J(nu, z, algorithm, prec)
753 C = ComplexField(prec)
754 nu = C(nu)
--> 755 z = C(z)
756 K = C
757 if nu == 0:
/usr/local/sage/local/lib/python2.6/site-
packages/sage/rings/complex_field.pyc in __call__(self, x, im)
265 if im is not None:
266 x = x, im
--> 267 return Parent.__call__(self, x)
268
269 def _element_constructor_(self, x):
/usr/local/sage/local/lib/python2.6/site-packages/sage/structure/parent.so
in sage.structure.parent.Parent.__call__ (sage/structure/parent.c:4130)()
/usr/local/sage/local/lib/python2.6/site-
packages/sage/structure/coerce_maps.so in
sage.structure.coerce_maps.DefaultConvertMap_unique._call_
(sage/structure/coerce_maps.c:3058)()
/usr/local/sage/local/lib/python2.6/site-
packages/sage/structure/coerce_maps.so in
sage.structure.coerce_maps._call_ (sage/structure/coerce_maps.c:2949)()
/usr/local/sage/local/lib/python2.6/site-
packages/sage/rings/complex_field.pyc in _element_constructor_(self, x)
289
290 try:
--> 291 return x._complex_mpfr_field_( self )
292 except AttributeError:
293 pass
/usr/local/sage/local/lib/python2.6/site-
packages/sage/symbolic/expression.so in
sage.symbolic.expression.Expression._complex_mpfr_field_
(sage/symbolic/expression.cpp:5371)()
/usr/local/sage/local/lib/python2.6/site-
packages/sage/symbolic/expression.so in
sage.symbolic.expression.Expression._eval_self
(sage/symbolic/expression.cpp:4825)()
TypeError: Cannot evaluate symbolic expression to a numeric value.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1158#comment:6>
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
-~----------~----~----~----~------~----~------~--~---