#17531: allow algorithm keyword when calling BuiltinFunction
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.5
Component: symbolics | Resolution:
Keywords: symbolic | Merged in:
functions | Reviewers:
Authors: Ralf Stephan | Work issues:
Report Upstream: N/A | Commit:
Branch: | eaed76a81b98c111bd77c05ccce745793e01b85e
u/rws/allow_algorithm_keyword_when_calling_builtinfunction| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
I would propose D:
D) accept any `algorithm` in `__call__`, pass `algorithm` to `_evalf_`
(and possibly other methods) and do error handling "downstream". For
example, the end of `Function.__call__` uses Ginac, so there you could add
{{{
if algorithm is not None and algorithm != "ginac":
raise ValueError("unknown algorithm %r for %s"%(algorithm,self))
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17531#comment:18>
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.