Skip to main content

legendre

Function legendre 

Source
pub fn legendre<T: CustomNumeric + 'static>(n: usize) -> Rule<T>
Expand description

The Gauss-Legendre rule with n points on [-1, 1], in T, by Newton’s method on the Legendre polynomial

n = 0 gives the empty rule on [-1, 1].