Class funct_multip_transform (o2scl)¶
-
template<class lim_fp_t>
class funct_multip_transform¶ A multiprecision function evaluation class with transformations useful for integrals.
This class is used in inte_adapt_cern .
Typedefs for multiprecision types
-
typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<25>> cpp_dec_float_25¶
-
typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<35>> cpp_dec_float_35¶
-
typedef boost::multiprecision::cpp_dec_float_50 cpp_dec_float_50¶
-
typedef boost::multiprecision::cpp_dec_float_100 cpp_dec_float_100¶
-
int verbose¶
Verbosity parameter.
-
double tol_rel¶
Relative tolerance.
-
bool err_nonconv¶
If true, call the error handler if the function evaluation fails.
-
inline funct_multip_transform()¶
-
inline ~funct_multip_transform()¶
-
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 return the error estimate 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¶
-
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¶
-
typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<25>> cpp_dec_float_25¶