Skip to content

num::legendre

Defined in header <container/util/math.hpp>

real legendre(unsigned int n, real x);

Evaluate the Legendre polynomial: \(P_n(x)\).