Multidimensional covariance function using radial basis functions and a noise term.
Public Functions
-
inline virtual size_t get_n_params()
Get the number of parameters.
-
inline void set_params(const vec_t &p)
Set the parameters.
-
template<class vec3_t, class vec4_t>
inline double covar_tl(const vec3_t &x1, const vec4_t &x2)
The covariance function template.
-
inline virtual double operator()(const vec_t &x1, const vec2_t &x2)
The covariance function.
-
inline virtual double covar(const vec_t &x1, const vec_t &x2)
The covariance function.
-
inline virtual double covar2(const vec2_t &x1, const vec2_t &x2)
The covariance function.
-
inline virtual double deriv(const vec_t &x1, const vec2_t &x2, size_t ix)
The derivative of the covariance function with respect to the first argument.
-
inline virtual double deriv2(const vec_t &x1, const vec2_t &x2, size_t ix, size_t iy)
The second derivative of the covariance function with respect to the first argument.
Public Members
-
std::vector<double> len
Length parameters.
-
double log10_noise
Noise parameter.