A collection of Legendre Polynomials.
More...
#include <LegendrePolynomial.hpp>
A collection of Legendre Polynomials.
- Todo
- document
Definition at line 67 of file LegendrePolynomial.hpp.
◆ LegendrePolynomial()
OpenMD::LegendrePolynomial::LegendrePolynomial |
( |
int | maxPower | ) |
|
◆ ~LegendrePolynomial()
virtual OpenMD::LegendrePolynomial::~LegendrePolynomial |
( |
| ) |
|
|
inlinevirtual |
◆ evaluate()
RealType OpenMD::LegendrePolynomial::evaluate |
( |
int | n, |
|
|
RealType | x ) |
|
inline |
Calculates the value of the nth Legendre Polynomial evaluated at the given x value.
- Returns
- The value of the nth Legendre Polynomial evaluates at the given x value
- Parameters
-
n | |
x | the value of the independent variable for the nth Legendre Polynomial function |
Definition at line 81 of file LegendrePolynomial.hpp.
◆ evaluateDerivative()
RealType OpenMD::LegendrePolynomial::evaluateDerivative |
( |
int | n, |
|
|
RealType | x ) |
|
inline |
◆ getLegendrePolynomial()
const DoublePolynomial & OpenMD::LegendrePolynomial::getLegendrePolynomial |
( |
int | n | ) |
const |
|
inline |
◆ polyList_
The documentation for this class was generated from the following files: