efPoly function

Legendre Polynomials of degree 0,...,M-1

Legendre Polynomials of degree 0,...,M-1

This function iteratively calculates orthonormal Legendre polynomials of degree 0,...,M-1 on an arbitrary interval.

efPoly(argvals, M)

Arguments

  • argvals: A vector, defining a (fine) grid on the interval for which the Legendre polynomials are computed.
  • M: An integer, specifying the number (and hence the degree) of polynomials that are calculated.

Returns

A univariate functional data object of class funData

containing the Legendre polynomials on the given interval.

See Also

funData, simFunData, simMultiFunData