#17866: provide list of existing symbolic functions together with example
argument(s)
-------------------------------+------------------------
       Reporter:  rws          |        Owner:
           Type:  enhancement  |       Status:  new
       Priority:  major        |    Milestone:  sage-6.6
      Component:  symbolics    |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------

Comment (by rws):

 For example,
 {{{
 sage: def builtin_symbolic_function_list():
         from sage.symbolic.pynac import symbol_table
         from sage.symbolic.function import BuiltinFunction
         fdict = symbol_table['functions']
         return ([c for c in fdict.itervalues()
             if isinstance(c, BuiltinFunction) ])
 sage: for c in builtin_symbolic_function_list():
     argl = []
     for n in range(c.number_of_arguments()):
         argl.append(2.5)
     print c
     print(CC(c(*argl)))
 }}}
 This allowed me to quickly find that `elliptic_e(2.5,2.5)` which should
 give `0.535648... +1.63996... i` according to Wolfram, throws an ECL
 error.

--
Ticket URL: <http://trac.sagemath.org/ticket/17866#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to