pub fn legendre_with_derivative(n: u32, x: f64) -> (f64, f64)Expand description
(P_n(x), P_n'(x)), the derivative from (x² − 1) P_n' = n (x P_n − P_{n−1}) (with the limit
P_n'(±1) = (±1)^{n+1} n(n+1)/2 at the endpoints). Used for Gauss-Legendre nodes.