legendrequad: Auxiliary function that compute the Legendre quadrature of...

Description Usage Arguments Value Examples

Description

Generate nodes and weights for Legendre-Gauss quadrature on [-1,1]. Note that t is a column vector and w is a row vector. Also normalizes and returns the eigenvectors of J so that they are samples of the unit-norm Legendre polynomials

Usage

1

Arguments

K

order of the Legendre quadraure

Value

a list containing, in order:

- t : points of the Legendre quadrature

- w : weigths for the Legendre quadrature

- Pbarmat : the eigenvectors of J

Examples

1
2
K=30
res2 <-  legendrequad(K)

RandomCoefficients documentation built on June 7, 2019, 5:02 p.m.