Class mcovar_funct_rbf_noise (o2scl)¶
-
class mcovar_funct_rbf_noise¶
Covariance function: 1D RBF with a noise term.
Note
There’s no point making a base class, since there aren’t really any virtual functions. The covariance functions have to be templates, to handle multiple vector types, so no virtual functions are allowed.
Public Functions
-
inline size_t get_n_params()¶
Get the number of parameters.
-
template<class vec_t, class vec2_t>
inline double operator()(const vec_t &x1, const vec2_t &x2)¶ The covariance function.
-
inline size_t get_n_params()¶