This is a parent class for generic spline functions.
More...
#include <spline_function.hpp>
|
virtual double | dderivative (const double &x) const =0 |
| Virtual access function for a spline function's 2nd derivative. More...
|
|
virtual double | derivative (const double &x) const =0 |
| Virtual access function for a spline function derivative. More...
|
|
const Array< double, 2 > & | domain () |
| Get access to the domain for this spline function. More...
|
|
virtual double | operator() (const double &x) const =0 |
| Virtual access function for a spline function. More...
|
|
virtual | ~GenericSplineFunction () |
|
This is a parent class for generic spline functions.
This is the parent interface for spline functions.
- See also
- SplineFunction
Definition at line 45 of file spline_function.hpp.
◆ ~GenericSplineFunction()
virtual ecl::GenericSplineFunction::~GenericSplineFunction |
( |
| ) |
|
|
inlinevirtual |
◆ dderivative()
virtual double ecl::GenericSplineFunction::dderivative |
( |
const double & |
x | ) |
const |
|
pure virtual |
Virtual access function for a spline function's 2nd derivative.
- Parameters
-
x | : the point at which you wish to calculate the value for. |
- Returns
- double : the value of the 2nd derivative at x.
Implemented in ecl::SplineFunction< Function >.
◆ derivative()
virtual double ecl::GenericSplineFunction::derivative |
( |
const double & |
x | ) |
const |
|
pure virtual |
Virtual access function for a spline function derivative.
- Parameters
-
x | : the point at which you wish to calculate the value for. |
- Returns
- double : the value of the derivative at x.
Implemented in ecl::SplineFunction< Function >.
◆ domain()
const Array<double,2>& ecl::GenericSplineFunction::domain |
( |
| ) |
|
|
inline |
Get access to the domain for this spline function.
Get access to the domain for this spline function.
- Returns
- const Array<double,2>& : stores domain_begin and domain_end.
Definition at line 82 of file spline_function.hpp.
◆ operator()()
virtual double ecl::GenericSplineFunction::operator() |
( |
const double & |
x | ) |
const |
|
pure virtual |
Virtual access function for a spline function.
- Parameters
-
x | : the point at which you wish to calculate the value for. |
- Returns
- double : the value of the function at x.
Implemented in ecl::SplineFunction< Function >.
◆ time_domain
Array<double,2> ecl::GenericSplineFunction::time_domain |
|
protected |
The documentation for this class was generated from the following file: