pub fn quad_pair(n: usize, k: usize) -> Result<(f64, f64), Error>
Expand description

General Information

Returns a quad-pair for Gauss-Legendre integration according to their degree. Decides wether it should be calculated or tabulated

Parameters

  • n - n-th Legendre Polynomial
  • k - k-th zero of n-th Legendre Polynomial