#include <Interpolation.h>
|
| | Interpolation (std::vector< std::array< double, 2 >> data, unsigned numNeighborPoints) |
| | create interpolation object; call with data array More...
|
| |
| virtual | ~Interpolation ()=default |
| |
| virtual double | operator() (double x) const =0 |
| | return interpolated value at x; order is the order of the derivative More...
|
| |
| virtual double | derivative (double x) const =0 |
| | calculate first derivative at x More...
|
| |
|
| std::function< double(double)> | f = [this](double x) { return operator()(x); } |
| | function object More...
|
| |
| std::function< double(double)> | df = [this](double x) { return derivative(x); } |
| | derivative function object More...
|
| |
| NuTo::Math::Interpolation::Interpolation |
( |
std::vector< std::array< double, 2 >> |
data, |
|
|
unsigned |
numNeighborPoints |
|
) |
| |
create interpolation object; call with data array
| virtual NuTo::Math::Interpolation::~Interpolation |
( |
| ) |
|
|
virtualdefault |
| unsigned NuTo::Math::Interpolation::bisection |
( |
double |
x | ) |
const |
|
protected |
| virtual double NuTo::Math::Interpolation::derivative |
( |
double |
x | ) |
const |
|
pure virtual |
| virtual double NuTo::Math::Interpolation::operator() |
( |
double |
x | ) |
const |
|
pure virtual |
| std::function<double(double)> NuTo::Math::Interpolation::df = [this](double x) { return derivative(x); } |
derivative function object
| std::function<double(double)> NuTo::Math::Interpolation::f = [this](double x) { return operator()(x); } |
| std::vector<std::array<double, 2> > NuTo::Math::Interpolation::mData |
|
protected |
| unsigned NuTo::Math::Interpolation::mNumNeighborPoints |
|
protected |
The documentation for this class was generated from the following files: