[Scipy-tickets] [SciPy] #1648: Bug in orthogonal.py: values between 0 and 1 not accepted as "positive".
SciPy Trac
scipy-tickets@scipy....
Wed Apr 25 17:38:58 CDT 2012
#1648: Bug in orthogonal.py: values between 0 and 1 not accepted as "positive".
---------------------------+------------------------------------------------
Reporter: mforbes | Owner: pv
Type: defect | Status: needs_review
Priority: normal | Milestone: 0.11.0
Component: scipy.special | Version: devel
Keywords: |
---------------------------+------------------------------------------------
Changes (by pv):
* priority: highest => normal
* milestone: Unscheduled => 0.11.0
Comment:
These routines should only accept integer `n`. The problem is that they
construct a polynomial representation, which does not make sense except
for integer `n`. You get inconsistencies, e.g.,
`np.poly1d(legendre(0.5))(2.0) != legendre(0.5)(2.0)`.
Analytical continuation can be done away from integers, but to get that, I
think one should make use of the corresponding `eval_*` routines.
--
Ticket URL: <http://projects.scipy.org/scipy/ticket/1648#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.
More information about the Scipy-tickets
mailing list