template<class vec_t, class vec2_t = vec_t>
class o2scl::interp_krige_optim< vec_t, vec2_t >
See also the Interpolation section of the O2scl User's guide.
- Note
- This class is experimental.
Definition at line 281 of file interp_krige.h.
|
virtual int | set_noise (size_t size, const vec_t &x, const vec2_t &y, double noise_var, bool err_on_fail=true) |
| Initialize interpolation routine.
|
|
virtual void | set (size_t size, const vec_t &x, const vec2_t &y) |
| Initialize interpolation routine.
|
|
virtual void | set (size_t size, const vec_t &x, const vec_t &y) |
| Initialize interpolation routine.
|
|
virtual int | set_covar_di_noise (size_t n_dim, const vec_t &x, const vec_t &y, std::function< double(double, double)> &fcovar, std::function< double(double, double)> &fderiv, std::function< double(double, double)> &fderiv2, std::function< double(double, double)> &finteg, double noise_var, bool err_on_fail=true) |
| Initialize interpolation routine, specifying derivatives and integrals [not yet implemented].
|
|
virtual int | set_covar_noise (size_t n_dim, const vec_t &x, const vec_t &y, std::function< double(double, double)> &fcovar, double noise_var, bool err_on_fail=true) |
| Initialize interpolation routine.
|
|
virtual int | set_covar (size_t n_dim, const vec_t &x, const vec_t &y, std::function< double(double, double)> &fcovar, bool err_on_fail=true) |
| Initialize interpolation routine.
|
|
virtual double | eval (double x0) const |
| Give the value of the function .
|
|
virtual double | deriv (double x0) const |
| Give the value of the derivative .
|
|
virtual double | deriv2 (double x0) const |
| Give the value of the second derivative
.
|
|
virtual double | integ (double a, double b) const |
| Give the value of the integral .
|
|
virtual const char * | type () const |
| Return the type, "interp_krige" .
|
|
virtual double | operator() (double x0) const |
| Give the value of the function .
|
|
|
double | covar (double x1, double x2) |
| The covariance function.
|
|
double | deriv (double x1, double x2) |
| The derivative of the covariance function.
|
|
double | deriv2 (double x1, double x2) |
| The second derivative of the covariance function.
|
|
double | integ (double x, double x1, double x2) |
| The integral of the covariance function.
|
|
double | qual_fun (double x, double noise_var, int &success) |
| Function to optimize the covariance parameters.
|
|
double | integ_eval (double ai, double bi, double ci, double di, double xi, double a, double b) const |
| An internal function to assist in computing the integral for both the cspline and Akima types.
|
|
|
std::function< double(double, double)> | ff |
| Function object for the covariance.
|
|
double | len |
| The covariance function length scale.
|
|
double | qual |
| The quality factor of the optimization.
|
|
min_base * | mp |
| Pointer to the user-specified minimizer.
|
|
ubvector | Kinvf |
| Inverse covariance matrix times function vector.
|
|
std::function< double(double, double)> * | f |
| Pointer to user-specified covariance function.
|
|
std::function< double(double, double)> * | df |
| Pointer to user-specified derivative.
|
|
std::function< double(double, double)> * | df2 |
| Pointer to user-specified second derivative.
|
|
std::function< double(double, double, double)> * | intp |
| Pointer to user-specified integral.
|
|
search_vec< const vec_t > | svx |
| To perform binary searches. More...
|
|
const vec_t * | px |
| Independent vector.
|
|
const vec_t * | py |
| Dependent vector.
|
|
size_t | sz |
| Vector size.
|
|