#11921: Allow Sympy conversion sign/sgn
-----------------------------------+----------------------------------------
Reporter: kcrisman | Owner: burcin
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: symbolics | Keywords: sympy conversion beginner
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: Peter Story, Burcin Erocal
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Changes (by kcrisman):
* reviewer: => Karl-Dieter Crisman
Comment:
I like everything here, good simplification and clarification of all this.
I'd like a different example, though!
{{{
sage: from sage.symbolic.function import SymbolicFunction
sage: f = SymbolicFunction('f', conversions=dict(sympy='ff'))
sage: f(x)
f(x)
sage: f(x)._sympy_()
<snip>
ValueError: Function FallingFactorial expects 2 argument(s), got 1.
}}}
Well! That was a surprise.
So I'm adding a reviewer patch that just swaps `g` for `f` and then
documents the less surprising error that sympy has no `gg` function.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11921#comment:8>
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 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.