# Legendre¶

class dolfin.cpp.function.Legendre

Bases: object

Interface for computing Legendre polynomials via Boost.

static d2dx()

Evaluate second derivative of polynomial of order n at point x

Parameters: n (std::size_t) – (std::size_t) Order x (double) – (double) Point double double Legendre polynomial 2nd derivative value at x
static ddx()

Evaluate first derivative of polynomial of order n at point x

Parameters: n (std::size_t) – (std::size_t) Order x (double) – (double) Point double double Legendre polynomial derivative value at x
static eval()

Evaluate polynomial of order n at point x

Parameters: n (std::size_t) – (std::size_t) Order x (double) – (double) Point double double Legendre polynomial value at x
thisown

The membership flag