This function iteratively calculates orthonormal Legendre polynomials of degree 0,...,M-1 on an arbitrary interval.
A vector, defining a (fine) grid on the interval for which the Legendre polynomials are computed.
An integer, specifying the number (and hence the degree) of polynomials that are calculated.
A univariate functional data object of class
containing the Legendre polynomials on the given interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.