This is documentation for an old release of SciPy (version 0.19.1). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.special.sh_legendre¶
-
scipy.special.
sh_legendre
(n, monic=False)[source]¶ Shifted Legendre polynomial.
Defined as P∗n(x)=Pn(2x−1) for Pn the nth Legendre polynomial.
Parameters: n : int
Degree of the polynomial.
monic : bool, optional
If True, scale the leading coefficient to be 1. Default is False.
Returns: P : orthopoly1d
Shifted Legendre polynomial.
Notes
The polynomials P∗n are orthogonal over [0,1] with weight function 1.