slegendre.polynomials {orthopolynom} | R Documentation |
This function returns a list with $n$+1 elements containing the order $k$ shifted Legendre polynomials, P_k^* ( x ), for orders $k$ = 0, 1, ..., $n$.
slegendre.polynomials(n, normalized=FALSE)
n |
integer highest polynomial order |
normalized |
a boolean value which, if TRUE, returns a list of normalized orthogonal polynomials |
The function produces a data frame with the recurrence relation parameters for the orthogonal polynomials. It then uses the function orthogonal.polynomials
to construct the list of polynomial objects from the recurrence relations.
A list of $n$+1 polynomial objects
1 |
order 0 shifted Legendre polynomial |
2 |
order 1 shifted Legendre polynomial |
n+1 |
order $n$ shifted Legendre polynomial |
Frederick Novomestky fnovomes@poly.edu
Abramowitz and Stegun (1968)
slegendre.recurrences
,
orthogonal.polynomials
,
orthonormal.polynomials
normalized.p.list <- slegendre.polynomials( 10, normalized=TRUE ) unnormalized.p.list <- slegendre.polynomials( 10, normalized=FALSE )