#9706: Symbolic Chebyshev polynomials
-------------------------------------+-------------------------------------
Reporter: maldun | Owner: burcin, maldun
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-5.13
Component: symbolics | Resolution:
Keywords: orthogonal | Merged in:
polynomials, symbolics | Reviewers: Burcin Erocal, Travis
Authors: Stefan Reiterer, | Scrimshaw, Stefan Reiterer
Travis Scrimshaw | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
`mpmath` is slower than `_cheb_recur_()`, so I think `mpmath` should be
only used in cases where the index is not an integer.
Perhaps the `_eval_` logic should be
1. `n` in `ZZ` => use recursion. If `x` is symbolic and `abs(n) <= 50`,
`expand()` the result
2. `n` or `x` symbolic => use symbolic evaluation
3. `n` and `x` real/complex => use `mpmath`
4. anything else => `raise ValueError`
--
Ticket URL: <http://trac.sagemath.org/ticket/9706#comment:94>
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/groups/opt_out.