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 @param n (std::size_t)
Order- @param x (double)
- Point
- @return double
- Legendre polynomial value at x
-
static double
ddx
(std::size_t n, double x)¶ Evaluate first derivative of polynomial of order n at point x @param n (std::size_t)
Order- @param x (double)
- Point
- @return double
- Legendre polynomial derivative value at x
-
static double
d2dx
(std::size_t n, double x)¶ Evaluate second derivative of polynomial of order n at point x @param n (std::size_t)
Order- @param x (double)
- Point
- @return double
- Legendre polynomial 2nd derivative value at x
-
static double