Class covar_funct (o2scl)

O2scl : Class List

class covar_funct

Covariance function.

Subclassed by o2scl::covar_funct_rbf, o2scl::covar_funct_rbf_noise, o2scl::covar_funct_strings

Public Functions

virtual size_t get_n_params() = 0

Get the number of parameters.

inline virtual ~covar_funct()
virtual double operator()(double x, double y) = 0

The covariance function.

virtual double deriv(double x, double y) = 0

The derivative of the covariance function with respect to x.

virtual double deriv2(double x, double y) = 0

The second derivative of the covariance function with respect to x.

virtual double integ(double x, double a, double b) = 0

The integral of the covariance function at x between a and b.