#16732: Fix _maxima_init_evaled_ use, as well as translations of psi etc.
to/from
maxima.
------------------------------+------------------------
Reporter: nbruin | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.3
Component: interfaces | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
------------------------------+------------------------
Comment (by nbruin):
OK, little search:
{{{
sage: search_src("init_evaled")
functions/special.py:285: def _maxima_init_evaled_(self, *args):
functions/special.py:294: sage: f._maxima_init_evaled_(1/2,
1/2)
functions/special.py:344: return parent(maxima("%s,
numer"%self._maxima_init_evaled_(*args)))
functions/special.py:368: s =
maxima(self._maxima_init_evaled_(*args))
}}}
the above are fine. They process the arguments.
{{{
functions/log.py:415: def _maxima_init_evaled_(self, *args):
functions/log.py:713: def _maxima_init_evaled_(self, n, z):
functions/other.py:1153: def _maxima_init_evaled_(self, n, x):
}}}
The above are bad. They do not process their arguments.
{{{
functions/orthogonal_polys.py:402: def _maxima_init_evaled_(self,
*args):
functions/orthogonal_polys.py:411: sage:
P._maxima_init_evaled_(2, 5) is None
functions/orthogonal_polys.py:715: def _maxima_init_evaled_(self, n,
x):
functions/orthogonal_polys.py:723: sage:
chebyshev_T._maxima_init_evaled_(1,x)
functions/orthogonal_polys.py:1024: def _maxima_init_evaled_(self, n,
x):
}}}
These are fine.
So the only problems are in `polylog`, `lambert_w`, `psi`. They should
just call `_maxima_init_()` on all their arguments before stuffing them in
the string template.
--
Ticket URL: <http://trac.sagemath.org/ticket/16732#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.