Interface for computing Legendre polynomials via Boost.
More...
#include <Legendre.h>
|
static double | eval (std::size_t n, double x) |
|
static double | ddx (std::size_t n, double x) |
|
static double | d2dx (std::size_t n, double x) |
|
Interface for computing Legendre polynomials via Boost.
◆ d2dx()
double Legendre::d2dx |
( |
std::size_t |
n, |
|
|
double |
x |
|
) |
| |
|
static |
Evaluate second derivative of polynomial of order n at point x
- Parameters
-
n | (std::size_t) Order |
x | (double) Point |
- Returns
- double Legendre polynomial 2nd derivative value at x
◆ ddx()
double Legendre::ddx |
( |
std::size_t |
n, |
|
|
double |
x |
|
) |
| |
|
static |
Evaluate first derivative of polynomial of order n at point x
- Parameters
-
n | (std::size_t) Order |
x | (double) Point |
- Returns
- double Legendre polynomial derivative value at x
◆ eval()
double Legendre::eval |
( |
std::size_t |
n, |
|
|
double |
x |
|
) |
| |
|
static |
Evaluate polynomial of order n at point x
- Parameters
-
n | (std::size_t) Order |
x | (double) Point |
- Returns
- double Legendre polynomial value at x
The documentation for this class was generated from the following files:
- /home/fenics/shared/dolfin/dolfin/math/Legendre.h
- /home/fenics/shared/dolfin/dolfin/math/Legendre.cpp