Skip to main content

gauss_legendre_nodes

Function gauss_legendre_nodes 

Source
pub fn gauss_legendre_nodes(n: usize) -> (Vec<f64>, Vec<f64>)
Expand description

Gauss-Legendre nodes and weights on [-1, 1], by Newton iteration on the Legendre recurrence.