Legendre.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class Legendre

Interface for computing Legendre polynomials via Boost.

static double eval(std::size_t n, double x)

Evaluate polynomial of order n at point x

static double ddx(std::size_t n, double x)

Evaluate first derivative of polynomial of order n at point x

static double d2dx(std::size_t n, double x)

Evaluate second derivative of polynomial of order n at point x