Interpolation by Kriging with a user-specified covariance function. More...
#include <interp_krige.h>
See also the Interpolation section of the O2scl User's guide.
Definition at line 66 of file interp_krige.h.
Public Types | |
typedef boost::numeric::ublas::vector< double > | ubvector |
typedef boost::numeric::ublas::matrix< double > | ubmatrix |
typedef boost::numeric::ublas::matrix_column< ubmatrix > | ubmatrix_column |
Public Member Functions | |
virtual void | set (size_t size, const vec_t &x, const vec2_t &y) |
Initialize interpolation routine. | |
virtual void | set_covar_di_noise (size_t n_dim, const vec_t &x, const vec_t &y, covar_func_t &fcovar, covar_func_t &fderiv, covar_func_t &fderiv2, covar_func_t &finteg, double noise_var) |
Initialize interpolation routine, specifying derivatives and integrals. | |
virtual void | set_covar_noise (size_t n_dim, const vec_t &x, const vec_t &y, covar_func_t &fcovar, double noise_var) |
Initialize interpolation routine. | |
virtual void | set_covar (size_t n_dim, const vec_t &x, const vec_t &y, covar_func_t &fcovar) |
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_linear" . | |
![]() | |
virtual double | operator() (double x0) const |
Give the value of the function ![]() | |
Protected Attributes | |
ubvector | Kinvf |
Inverse covariance matrix times function vector. | |
covar_func_t * | f |
Pointer to user-specified covariance function. | |
covar_func_t * | df |
Pointer to user-specified derivative. | |
covar_func_t * | df2 |
Pointer to user-specified second derivative. | |
covar_integ_t * | intp |
Pointer to user-specified second derivative. | |
![]() | |
search_vec< const vec_t > | svx |
To perform binary searches. More... | |
const vec_t * | px |
Independent vector. | |
const vec2_t * | py |
Dependent vector. | |
size_t | sz |
Vector size. | |
Private Member Functions | |
interp_krige (const interp_krige< vec_t, vec2_t, covar_func_t, covar_integ_t > &) | |
interp_krige< vec_t, vec2_t, covar_func_t, covar_integ_t > & | operator= (const interp_krige< vec_t, vec2_t, covar_func_t, covar_integ_t > &) |
Additional Inherited Members | |
![]() | |
size_t | min_size |
The minimum size of the vectors to interpolate between. More... | |
![]() | |
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. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).