Class emulator_unc (o2scl)¶
-
template<class data_t, class data_unc_t, class vec_t = boost::numeric::ublas::vector<double>>
class emulator_unc : public o2scl::emulator_base<data_t, boost::numeric::ublas::vector<double>>¶ Emulator with uncertainty base class.
Subclassed by o2scl::emulator_interpm_idw_table< vec2_t, vec_t >, o2scl::emulator_interpm_krige_table< vec2_t, vec_t, mat_t, mat_inv_t >
Public Functions
-
virtual int eval_unc(size_t n, const vec_t &p, double &log_wgt, double &log_wgt_unc, data_t &dat, data_unc_t &dat_unc) = 0¶
Evaluate the emulator at the point
p
returninglog_wgt
anddat
and their uncertainties.
-
virtual int eval_unc(size_t n, const vec_t &p, double &log_wgt, double &log_wgt_unc, data_t &dat, data_unc_t &dat_unc) = 0¶