Class funct_multip_transform_tl (o2scl)¶
-
template<class lim_fp_t, class fp_25_t, class fp_35_t, class fp_50_t, class fp_100_t>
class funct_multip_transform_tl¶ A multiprecision function evaluation class with transformations useful for integrals.
This class is used in inte_adapt_cern_tl .
Public Functions
-
inline funct_multip_transform_tl()¶
-
inline ~funct_multip_transform_tl()¶
-
template<typename func_t, class fp_t>
inline int eval_tol_err(char mode, func_t &&f, const fp_t &t, fp_t &val, fp_t &err, double tol_loc = -1) const¶ Evaluate the function and return the error estimate with the specified tolerance.
If
tol_loc
is positive and non-zero, then this is the relative tolerance used. Iftol_loc
is zero or negative and tol_rel is positive and non-zero, then tol_rel is used for the relative tolerance. Otherwise, if both of these values is negative, then the default relative tolerance is used.
-
template<typename func_t, class fp_t>
inline int eval_err_iu(func_t &&f, const fp_t &x, fp_t &val, fp_t &err) const¶ Evaluate the function and uncertainty with a transformed upper limit with the default tolerance for the specified type.
-
template<typename func_t, class fp_t>
inline int eval_err_il(func_t &&f, const fp_t &x, fp_t &val, fp_t &err) const¶ Evaluate the function and uncertainty with a transformed lower limit with the default tolerance for the specified type.
-
template<typename func_t, class fp_t>
inline int eval_err_i(func_t &&f, const fp_t &x, fp_t &val, fp_t &err) const¶ Evaluate the function and uncertainty with a transformed limits with the default tolerance for the specified type.
-
template<typename func_t, class fp_t>
inline fp_t eval_iu(func_t &&f, const fp_t &x) const¶ Evaluate the function with a transformed upper limit with the default tolerance for the specified type.
-
inline funct_multip_transform_tl()¶