Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::math::policies Namespace Reference

Namespaces

 detail
 

Classes

struct  assert_undefined
 
struct  constructor_error_check
 
struct  default_policy
 
struct  denorm_error
 
struct  digits10
 
struct  digits2
 
struct  discrete_quantile
 
struct  domain_error
 
struct  evaluation
 
struct  evaluation< __gmp_expr< T, U >, Policy >
 
struct  evaluation< double, Policy >
 
struct  evaluation< float, Policy >
 
struct  evaluation_error
 
struct  indeterminate_result_error
 
struct  is_assert_undefined
 
struct  is_denorm_error
 
struct  is_digits10
 
struct  is_digits2
 
struct  is_discrete_quantile
 
struct  is_domain_error
 
struct  is_evaluation_error
 
struct  is_indeterminate_result_error
 
struct  is_max_root_iterations
 
struct  is_max_series_iterations
 
struct  is_overflow_error
 
struct  is_pole_error
 
struct  is_policy
 
struct  is_promote_double
 
struct  is_promote_float
 
struct  is_rounding_error
 
struct  is_underflow_error
 
struct  max_root_iterations
 
struct  max_series_iterations
 
struct  method_error_check
 
struct  normalise
 
struct  normalise< policy< detail::forwarding_arg1, detail::forwarding_arg2 >, promote_float< false >, promote_double< false >, discrete_quantile<>, assert_undefined<>, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy >
 
struct  normalise< policy<>, promote_float< false >, promote_double< false >, discrete_quantile<>, assert_undefined<>, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy >
 
struct  overflow_error
 
struct  pole_error
 
struct  policy
 
struct  policy< default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy >
 
struct  policy< detail::forwarding_arg1, detail::forwarding_arg2, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy >
 
struct  precision
 
struct  precision< ::boost::math::ef::e_float, Policy >
 
struct  precision< boost::multiprecision::number< boost::multiprecision::cpp_dec_float< Digits10, ExponentType, Allocator >, ExpressionTemplates >, Policy >
 
struct  precision< boost::multiprecision::number< boost::multiprecision::debug_adaptor< Backend >, ExpressionTemplates >, Policy >
 
struct  precision< boost::multiprecision::number< boost::multiprecision::logged_adaptor< Backend >, ExpressionTemplates >, Policy >
 
struct  promote_double
 
struct  promote_float
 
struct  rounding_error
 
struct  underflow_error
 

Enumerations

enum  error_policy_type {
  throw_on_error = 0,
  errno_on_error = 1,
  ignore_error = 2,
  user_error = 3
}
 
enum  discrete_quantile_policy_type {
  real,
  integer_round_outwards,
  integer_round_inwards,
  integer_round_down,
  integer_round_up,
  integer_round_nearest
}
 

Functions

template<class T >
T user_domain_error (const char *function, const char *message, const T &val)
 
template<class T >
T user_pole_error (const char *function, const char *message, const T &val)
 
template<class T >
T user_overflow_error (const char *function, const char *message, const T &val)
 
template<class T >
T user_underflow_error (const char *function, const char *message, const T &val)
 
template<class T >
T user_denorm_error (const char *function, const char *message, const T &val)
 
template<class T >
T user_evaluation_error (const char *function, const char *message, const T &val)
 
template<class T , class TargetType >
T user_rounding_error (const char *function, const char *message, const T &val, const TargetType &t)
 
template<class T >
T user_indeterminate_result_error (const char *function, const char *message, const T &val)
 
template<class T , class Policy >
T raise_domain_error (const char *function, const char *message, const T &val, const Policy &)
 
template<class T , class Policy >
T raise_pole_error (const char *function, const char *message, const T &val, const Policy &)
 
template<class T , class Policy >
T raise_overflow_error (const char *function, const char *message, const Policy &)
 
template<class T , class Policy >
T raise_overflow_error (const char *function, const char *message, const T &val, const Policy &)
 
template<class T , class Policy >
T raise_underflow_error (const char *function, const char *message, const Policy &)
 
template<class T , class Policy >
T raise_denorm_error (const char *function, const char *message, const T &val, const Policy &)
 
template<class T , class Policy >
T raise_evaluation_error (const char *function, const char *message, const T &val, const Policy &)
 
template<class T , class TargetType , class Policy >
TargetType raise_rounding_error (const char *function, const char *message, const T &val, const TargetType &t, const Policy &)
 
template<class T , class R , class Policy >
T raise_indeterminate_result_error (const char *function, const char *message, const T &val, const R &result, const Policy &)
 
template<class R , class Policy , class T >
checked_narrowing_cast (T val, const char *function)
 
template<class T , class Policy >
void check_series_iterations (const char *function, boost::uintmax_t max_iter, const Policy &pol)
 
template<class T , class Policy >
void check_root_iterations (const char *function, boost::uintmax_t max_iter, const Policy &pol)
 
policy make_policy ()
 
template<class A1 >
normalise< policy<>, A1 >::type make_policy (const A1 &)
 
template<class A1 , class A2 >
normalise< policy<>, A1, A2 >::type make_policy (const A1 &, const A2 &)
 
template<class A1 , class A2 , class A3 >
normalise< policy<>, A1, A2,
A3 >::type 
make_policy (const A1 &, const A2 &, const A3 &)
 
template<class A1 , class A2 , class A3 , class A4 >
normalise< policy<>, A1, A2,
A3, A4 >::type 
make_policy (const A1 &, const A2 &, const A3 &, const A4 &)
 
template<class A1 , class A2 , class A3 , class A4 , class A5 >
normalise< policy<>, A1, A2,
A3, A4, A5 >::type 
make_policy (const A1 &, const A2 &, const A3 &, const A4 &, const A5 &)
 
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 >
normalise< policy<>, A1, A2,
A3, A4, A5, A6 >::type 
make_policy (const A1 &, const A2 &, const A3 &, const A4 &, const A5 &, const A6 &)
 
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 >
normalise< policy<>, A1, A2,
A3, A4, A5, A6, A7 >::type 
make_policy (const A1 &, const A2 &, const A3 &, const A4 &, const A5 &, const A6 &, const A7 &)
 
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 >
normalise< policy<>, A1, A2,
A3, A4, A5, A6, A7, A8 >::type 
make_policy (const A1 &, const A2 &, const A3 &, const A4 &, const A5 &, const A6 &, const A7 &, const A8 &)
 
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 , class A9 >
normalise< policy<>, A1, A2,
A3, A4, A5, A6, A7, A8, A9 >
::type 
make_policy (const A1 &, const A2 &, const A3 &, const A4 &, const A5 &, const A6 &, const A7 &, const A8 &, const A9 &)
 
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 , class A9 , class A10 >
normalise< policy<>, A1, A2,
A3, A4, A5, A6, A7, A8, A9,
A10 >::type 
make_policy (const A1 &, const A2 &, const A3 &, const A4 &, const A5 &, const A6 &, const A7 &, const A8 &, const A9 &, const A10 &)
 
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 , class A9 , class A10 , class A11 >
normalise< policy<>, A1, A2,
A3, A4, A5, A6, A7, A8, A9,
A10, A11 >::type 
make_policy (const A1 &, const A2 &, const A3 &, const A4 &, const A5 &, const A6 &, const A7 &, const A8 &, const A9 &, const A10 &, const A11 &)
 
template<class T , class Policy >
int digits (BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T))
 
template<class Policy >
unsigned long get_max_series_iterations ()
 
template<class Policy >
unsigned long get_max_root_iterations ()
 
template<class T , class Policy >
T get_epsilon (BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T))
 

Enumeration Type Documentation

Enumerator
real 
integer_round_outwards 
integer_round_inwards 
integer_round_down 
integer_round_up 
integer_round_nearest 
Enumerator
throw_on_error 
errno_on_error 
ignore_error 
user_error 

Function Documentation

template<class T , class Policy >
void boost::math::policies::check_root_iterations ( const char *  function,
boost::uintmax_t  max_iter,
const Policy &  pol 
)
inline

References T.

template<class T , class Policy >
void boost::math::policies::check_series_iterations ( const char *  function,
boost::uintmax_t  max_iter,
const Policy &  pol 
)
inline

References T.

template<class R , class Policy , class T >
R boost::math::policies::checked_narrowing_cast ( T  val,
const char *  function 
)
inline

References boost::phoenix::val().

Referenced by boost::math::acosh(), boost::math::airy_ai(), boost::math::airy_ai_prime(), boost::math::airy_ai_zero(), boost::math::airy_bi(), boost::math::airy_bi_prime(), boost::math::airy_bi_zero(), boost::math::asinh(), boost::math::atanh(), boost::math::detail::beta(), boost::math::beta(), boost::math::betac(), boost::math::binomial_coefficient< float, policies::policy<> >(), boost::math::cdf(), boost::math::cyl_bessel_i(), boost::math::cyl_bessel_i_prime(), boost::math::cyl_bessel_j(), boost::math::cyl_bessel_j_prime(), boost::math::cyl_bessel_j_zero(), boost::math::cyl_bessel_k(), boost::math::cyl_bessel_k_prime(), boost::math::cyl_hankel_1(), boost::math::cyl_hankel_2(), boost::math::cyl_neumann(), boost::math::cyl_neumann_prime(), boost::math::cyl_neumann_zero(), boost::math::digamma(), boost::math::ellint_1(), boost::math::detail::ellint_1(), boost::math::ellint_2(), boost::math::detail::ellint_2(), boost::math::detail::ellint_3(), boost::math::ellint_3(), boost::math::ellint_rc(), boost::math::ellint_rd(), boost::math::ellint_rf(), boost::math::ellint_rj(), boost::math::erf(), boost::math::erfc(), boost::math::expint(), boost::math::detail::expint_forwarder(), boost::math::expm1(), boost::math::non_central_chi_squared_distribution< T, Policy >::find_degrees_of_freedom(), boost::math::non_central_chi_squared_distribution< T, Policy >::find_non_centrality(), boost::math::gamma_p(), boost::math::gamma_p_derivative(), boost::math::gamma_q(), boost::math::hermite(), boost::math::detail::hypergeometric_2F2(), boost::math::ibeta(), boost::math::ibeta_derivative(), boost::math::ibetac(), boost::math::jacobi_elliptic(), boost::math::kurtosis_excess(), boost::math::detail::laguerre(), boost::math::laguerre(), boost::math::legendre_p(), boost::math::legendre_q(), boost::math::lgamma(), boost::math::log1p(), boost::math::mean(), boost::math::detail::nc_beta_pdf(), boost::math::detail::nc_beta_quantile(), boost::math::detail::nccs_pdf(), boost::math::detail::nccs_quantile(), boost::math::detail::non_central_beta_cdf(), boost::math::detail::non_central_chi_squared_cdf(), boost::math::detail::non_central_t_quantile(), boost::math::owens_t(), boost::math::pdf(), boost::math::skewness(), boost::math::sph_bessel(), boost::math::sph_bessel_prime(), boost::math::sph_hankel_1(), boost::math::sph_hankel_2(), boost::math::sph_neumann(), boost::math::sph_neumann_prime(), boost::math::detail::spherical_harmonic(), boost::math::spherical_harmonic_i(), boost::math::spherical_harmonic_r(), boost::math::detail::tgamma(), boost::math::tgamma1pm1(), boost::math::tgamma_delta_ratio(), boost::math::tgamma_lower(), boost::math::tgamma_ratio(), boost::math::variance(), and boost::math::zeta().

template<class T , class Policy >
int boost::math::policies::digits ( BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T )
inline

References boost::BOOST_SIGNALS_NAMESPACE::tag_type().

Referenced by boost::math::tools::brent_find_minima(), boost::multiprecision::backends::cpp_dec_float< Digits10, ExponentType, Allocator >::calculate_inv(), boost::multiprecision::backends::cpp_dec_float< Digits10, ExponentType, Allocator >::calculate_sqrt(), boost::math::detail::cbrt_imp(), boost::chrono::detail::civil_from_days(), boost::math::tools::detail::epsilon(), std::numeric_limits< boost::multiprecision::number< boost::multiprecision::mpfi_float_backend< Digits10 >, ExpressionTemplates > >::epsilon(), std::numeric_limits< boost::multiprecision::number< boost::multiprecision::mpfr_float_backend< Digits10, AllocateType >, ExpressionTemplates > >::epsilon(), std::numeric_limits< boost::multiprecision::number< boost::multiprecision::gmp_float< Digits10 >, ExpressionTemplates > >::epsilon(), boost::math::tools::epsilon< boost::math::ntl::RR >(), boost::math::tools::epsilon< mpfr::mpreal >(), boost::math::tools::epsilon< mpfr_class >(), boost::multiprecision::backends::eval_ldexp(), boost::spirit::karma::real_policies< T >::fraction_part(), boost::random::detail::generate_canonical_impl(), boost::random::detail::generate_int_float_pair(), boost::math::policies::detail::get_epsilon_imp(), boost::hash_detail::hash_value_signed(), boost::hash_detail::hash_value_unsigned(), boost::chrono::detail::internal_gmtime(), boost::random::independent_bits_engine< Engine, w, boost::multiprecision::number< Backend, ExpressionTemplates > >::operator()(), boost::random::independent_bits_engine< Engine, w, UIntType >::operator()(), boost::expressions::c_ascii_pattern_replacer< CharT >::operator()(), boost::multiprecision::backends::tommath_int::operator=(), boost::multiprecision::backends::rational_adaptor< IntBackend >::operator=(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::operator=(), boost::multiprecision::backends::detail::mpfi_float_imp< 0 >::operator=(), boost::multiprecision::backends::detail::mpfr_float_imp< digits10, allocate_dynamic >::operator=(), boost::multiprecision::backends::detail::mpfr_float_imp< digits10, allocate_stack >::operator=(), boost::multiprecision::backends::cpp_dec_float< Digits10, ExponentType, Allocator >::operator=(), boost::multiprecision::backends::gmp_int::operator=(), boost::multiprecision::backends::operator=(), boost::date_time::parse_undelimited_time_duration(), boost::math::constants::print_info_on_type(), boost::archive::basic_text_oprimitive< std::wostream >::save_impl(), boost::test_tools::print_log_value< T >::set_precision(), boost::multiprecision::backends::float128_backend::str(), boost::multiprecision::backends::detail::mpfr_float_imp< digits10, allocate_dynamic >::str(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::str(), boost::multiprecision::backends::detail::mpfr_float_imp< digits10, allocate_stack >::str(), boost::multiprecision::number< Backend, ExpressionTemplates >::str(), and boost::date_time::str_from_delimited_time_duration().

template<class T , class Policy >
T boost::math::policies::get_epsilon ( BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T )
inline
template<class Policy >
unsigned long boost::math::policies::get_max_root_iterations ( )
inline
template<class Policy >
unsigned long boost::math::policies::get_max_series_iterations ( )
inline
policy boost::math::policies::make_policy ( )
inline
template<class A1 >
normalise<policy<>, A1>::type boost::math::policies::make_policy ( const A1 )
inline
template<class A1 , class A2 >
normalise<policy<>, A1, A2>::type boost::math::policies::make_policy ( const A1 ,
const A2  
)
inline

References A1.

template<class A1 , class A2 , class A3 >
normalise<policy<>, A1, A2, A3>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3  
)
inline

References A1, and A2.

template<class A1 , class A2 , class A3 , class A4 >
normalise<policy<>, A1, A2, A3, A4>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3 ,
const A4  
)
inline

References A1, A2, and A3.

template<class A1 , class A2 , class A3 , class A4 , class A5 >
normalise<policy<>, A1, A2, A3, A4, A5>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3 ,
const A4 ,
const A5  
)
inline

References A1, A2, A3, and A4.

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 >
normalise<policy<>, A1, A2, A3, A4, A5, A6>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3 ,
const A4 ,
const A5 ,
const A6  
)
inline

References A1, A2, A3, A4, and A5.

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 >
normalise<policy<>, A1, A2, A3, A4, A5, A6, A7>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3 ,
const A4 ,
const A5 ,
const A6 ,
const A7  
)
inline

References A1, A2, A3, A4, A5, and A6.

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 >
normalise<policy<>, A1, A2, A3, A4, A5, A6, A7, A8>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3 ,
const A4 ,
const A5 ,
const A6 ,
const A7 ,
const A8 &   
)
inline

References A1, A2, A3, A4, A5, A6, and A7.

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 , class A9 >
normalise<policy<>, A1, A2, A3, A4, A5, A6, A7, A8, A9>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3 ,
const A4 ,
const A5 ,
const A6 ,
const A7 ,
const A8 &  ,
const A9 &   
)
inline

References A1, A2, A3, A4, A5, A6, and A7.

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 , class A9 , class A10 >
normalise<policy<>, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3 ,
const A4 ,
const A5 ,
const A6 ,
const A7 ,
const A8 &  ,
const A9 &  ,
const A10 &   
)
inline

References A1, A2, A3, A4, A5, A6, and A7.

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 , class A9 , class A10 , class A11 >
normalise<policy<>, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11>::type boost::math::policies::make_policy ( const A1 ,
const A2 ,
const A3 ,
const A4 ,
const A5 ,
const A6 ,
const A7 ,
const A8 &  ,
const A9 &  ,
const A10 &  ,
const A11 &   
)
inline

References A1, A2, A3, A4, A5, A6, and A7.

template<class T , class Policy >
T boost::math::policies::raise_denorm_error ( const char *  function,
const char *  message,
const T val,
const Policy &   
)
inline

References boost::phoenix::val().

template<class T , class Policy >
T boost::math::policies::raise_domain_error ( const char *  function,
const char *  message,
const T val,
const Policy &   
)
inline
template<class T , class R , class Policy >
T boost::math::policies::raise_indeterminate_result_error ( const char *  function,
const char *  message,
const T val,
const R &  result,
const Policy &   
)
inline
template<class T , class Policy >
T boost::math::policies::raise_overflow_error ( const char *  function,
const char *  message,
const Policy &   
)
inline
template<class T , class Policy >
T boost::math::policies::raise_overflow_error ( const char *  function,
const char *  message,
const T val,
const Policy &   
)
inline
template<class T , class Policy >
T boost::math::policies::raise_pole_error ( const char *  function,
const char *  message,
const T val,
const Policy &   
)
inline
template<class T , class TargetType , class Policy >
TargetType boost::math::policies::raise_rounding_error ( const char *  function,
const char *  message,
const T val,
const TargetType &  t,
const Policy &   
)
inline
template<class T , class Policy >
T boost::math::policies::raise_underflow_error ( const char *  function,
const char *  message,
const Policy &   
)
inline
template<class T >
T boost::math::policies::user_denorm_error ( const char *  function,
const char *  message,
const T val 
)
template<class T >
T boost::math::policies::user_domain_error ( const char *  function,
const char *  message,
const T val 
)
template<class T >
T boost::math::policies::user_evaluation_error ( const char *  function,
const char *  message,
const T val 
)
template<class T >
T boost::math::policies::user_indeterminate_result_error ( const char *  function,
const char *  message,
const T val 
)
template<class T >
T boost::math::policies::user_overflow_error ( const char *  function,
const char *  message,
const T val 
)
template<class T >
T boost::math::policies::user_pole_error ( const char *  function,
const char *  message,
const T val 
)
template<class T , class TargetType >
T boost::math::policies::user_rounding_error ( const char *  function,
const char *  message,
const T val,
const TargetType &  t 
)
template<class T >
T boost::math::policies::user_underflow_error ( const char *  function,
const char *  message,
const T val 
)