![]() |
Cadabra
Computer algebra system for field theory problems
|
An object representing a one-variable function (for now), which is computed from an interpolation of numerical data points.
FIXME: generalise to functions of more than one variable.
#include <NInterpolatingFunction.hh>
Public Member Functions | |
| NInterpolatingFunction () | |
| std::complex< double > | evaluate (double) const |
| std::pair< double, double > | range () const |
Public Attributes | |
| Ex | var |
| NTensor | var_values |
| NTensor | fun_values |
Private Member Functions | |
| size_t | find_interval (double) const |
| void | compute_slopes () const |
Private Attributes | |
| NTensor | slope_values |
| size_t | last_index |
| bool | precomputed |
| NInterpolatingFunction::NInterpolatingFunction | ( | ) |
|
private |
| NTensor cadabra::NInterpolatingFunction::fun_values |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
| Ex cadabra::NInterpolatingFunction::var |
| NTensor cadabra::NInterpolatingFunction::var_values |