Skip to main content

gauss_legendre

Function gauss_legendre 

pub(crate) fn gauss_legendre(n: usize) -> Vec<(f64, f64)>
Expand description

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