Opened 10 years ago

Last modified 7 years ago

#12455 closed enhancement

Make Airy functions symbolical — at Version 3

Reported by: olazo Owned by: olazo
Priority: major Milestone: sage-6.6
Component: symbolics Keywords: Airy functions sd40.5 sd48
Cc: kcrisman, burcin, benjaminfjones, fredrik.johansson, eviatarbach Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by olazo)

As discussed in sage-support.

Currently sage can evaluate airy functions numerically:

sage: airy_ai(1.4)

but it doesn't work symbolically

sage: airy_ai(x)
TypeError                                 Traceback (most recent call last)

/home/oscar/Escritorio/tesis/calculos/<ipython console> in <module>()

/home/oscar/sage/sage-4.7.1/local/lib/python2.6/site-packages/sage/functions/special.pyc in airy_ai(x)
    621    """
    622    _init()
--> 623    return RDF(meval("airy_ai(%s)"%RDF(x)))
    625 def airy_bi(x):

/home/oscar/sage/sage-4.7.1/local/lib/python2.6/site-packages/sage/structure/ in sage.structure.parent.Parent.__call__ (sage/structure/parent.c:7102)()

/home/oscar/sage/sage-4.7.1/local/lib/python2.6/site-packages/sage/structure/ in sage.structure.coerce_maps.NamedConvertMap._call_ (sage/structure/coerce_maps.c:4221)()

/home/oscar/sage/sage-4.7.1/local/lib/python2.6/site-packages/sage/symbolic/ in sage.symbolic.expression.Expression._real_double_ (sage/symbolic/expression.cpp:5391)()

/home/oscar/sage/sage-4.7.1/local/lib/python2.6/site-packages/sage/symbolic/ in sage.symbolic.expression.Expression._eval_self (sage/symbolic/expression.cpp:4898)()

TypeError: Cannot evaluate symbolic expression to a numeric value.

We should make it symbolical for both airy_ai and airy_bi, as well as their derivatives.

Change History (4)

comment:1 Changed 10 years ago by olazo

  • Component changed from PLEASE CHANGE to symbolics
  • Owner changed from tbd to burcin

comment:2 Changed 10 years ago by olazo

  • Owner changed from burcin to olazo

comment:3 Changed 10 years ago by olazo

  • Description modified (diff)

Changed 10 years ago by olazo

Note: See TracTickets for help on using tickets.