Description Usage Arguments Value References Examples
Gauss-Legendre quadrature nodes and weights
1  | gausslegendre(nq)
 | 
nq | 
 number of quadrature points  | 
nodes | 
 vector of length nq of nodes in the interval (0,1)  | 
weights | 
 vector of length nq, sum of weights is 1  | 
Original source for the code is "Stroud A and Secrest D (1966), Gaussian Quadrature Formulas, Prentice-Hall."
1 2 3 4  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.