Class bessel_K_exp_integ_bf (o2scl)

O2scl : Class List

template<class fp_t, size_t max1, size_t max2, size_t max3, class fp1_t, class fp2_t, class fp3_t>
class bessel_K_exp_integ_bf

Bessel K times exponential by brute force.

Public Functions

inline bessel_K_exp_integ_bf()
inline void set_tol(const fp_t &tol_)

Set tolerance.

inline int K1exp_ret_full(fp_t x, fp_t &res, fp_t &err, int &method)

Compute \( K_1(x) e^x \).

inline int K1exp_ret(fp_t x, fp_t &res, fp_t &err)

Compute \( K_1(x) e^x \).

inline fp_t K1exp(fp_t x)

Compute \( K_1(x) e^x \).

inline int K2exp_ret_full(fp_t x, fp_t &res, fp_t &err, int &method)

Compute \( K_2(x) e^x \).

inline int K2exp_ret(fp_t x, fp_t &res, fp_t &err)

Compute \( K_2(x) e^x \).

inline fp_t K2exp(fp_t x)

Compute \( K_2(x) e^x \).

inline int K3exp_ret_full(fp_t x, fp_t &res, fp_t &err, int &method)

Compute \( K_3(x) e^x \).

inline int K3exp_ret(fp_t x, fp_t &res, fp_t &err)

Compute \( K_3(x) e^x \).

inline fp_t K3exp(fp_t x)

Compute \( K_3(x) e^x \).

Public Members

bessel_K_exp_integ_direct<fp_t, std::function<fp1_t(fp1_t)>, max1, fp1_t> bke1

Lowest precision integrator.

bessel_K_exp_integ_direct<fp_t, std::function<fp2_t(fp2_t)>, max2, fp2_t> bke2

Medium precision integrator.

bessel_K_exp_integ_direct<fp_t, std::function<fp3_t(fp3_t)>, max3, fp3_t> bke3

Highest precision integrator.

bool err_nonconv

If true, then convergene failures call the error handler (default true)

Protected Attributes

fp_t tol

Tolerance.