{ } Raw JSON

bundles / scipy latest / scipy / special / _orthogonal / sh_legendre

function

scipy.special._orthogonal:sh_legendre

source: /scipy/special/_orthogonal.py :2561

Signature

def   sh_legendre ( n monic = False )

Summary

Shifted Legendre polynomial.

Extended Summary

Defined as for 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 are orthogonal over with weight function 1.

Aliases

  • scipy.special.sh_legendre