Description Usage Arguments Value
View source: R/legendre_utils.R
Retrieves the first 'n' Legendre polynomials, evaluated on 'x' scaled from -1 to 1.
1 | get_leg_matrix(n, x)
|
n |
integer will retrieve the first n polynomials |
x |
integer vector will evaluate along x scaled to be from -1:1 |
'x' by 'n' matrix of n polynomials evaluated at 'length(x)' points, without the intercept (0th order polynomial)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.