📄 instantiate.hpp
字号:
boost::math::ibetac(v1, v2, v3, pol); boost::math::ibeta_inv(v1, v2, v3, pol); boost::math::ibetac_inv(v1, v2, v3, pol); boost::math::ibeta_inva(v1, v2, v3, pol); boost::math::ibetac_inva(v1, v2, v3, pol); boost::math::ibeta_invb(v1, v2, v3, pol); boost::math::ibetac_invb(v1, v2, v3, pol); boost::math::gamma_p_derivative(v2, v3, pol); boost::math::ibeta_derivative(v1, v2, v3, pol); (boost::math::fpclassify)(v1); (boost::math::isfinite)(v1); (boost::math::isnormal)(v1); (boost::math::isnan)(v1); (boost::math::isinf)(v1); boost::math::log1p(v1, pol); boost::math::expm1(v1, pol); boost::math::cbrt(v1, pol); boost::math::sqrt1pm1(v1, pol); boost::math::powm1(v1, v2, pol); boost::math::legendre_p(1, v1, pol); boost::math::legendre_p(1, 0, v1, pol); boost::math::legendre_q(1, v1, pol); boost::math::legendre_next(2, v1, v2, v3); boost::math::legendre_next(2, 2, v1, v2, v3); boost::math::laguerre(1, v1, pol); boost::math::laguerre(2, 1, v1, pol); boost::math::laguerre_next(2, v1, v2, v3); boost::math::laguerre_next(2, 1, v1, v2, v3); boost::math::hermite(1, v1, pol); boost::math::hermite_next(2, v1, v2, v3); boost::math::spherical_harmonic_r(2, 1, v1, v2, pol); boost::math::spherical_harmonic_i(2, 1, v1, v2, pol); boost::math::ellint_1(v1, pol); boost::math::ellint_1(v1, v2, pol); boost::math::ellint_2(v1, pol); boost::math::ellint_2(v1, v2, pol); boost::math::ellint_3(v1, v2, pol); boost::math::ellint_3(v1, v2, v3, pol); boost::math::ellint_rc(v1, v2, pol); boost::math::ellint_rd(v1, v2, v3, pol); boost::math::ellint_rf(v1, v2, v3, pol); boost::math::ellint_rj(v1, v2, v3, v1, pol); boost::math::hypot(v1, v2, pol); boost::math::sinc_pi(v1, pol); boost::math::sinhc_pi(v1, pol); boost::math::asinh(v1, pol); boost::math::acosh(v1, pol); boost::math::atanh(v1, pol); boost::math::sin_pi(v1, pol); boost::math::cos_pi(v1, pol); boost::math::cyl_neumann(v1, v2, pol); boost::math::cyl_neumann(i, v2, pol); boost::math::cyl_bessel_j(v1, v2, pol); boost::math::cyl_bessel_j(i, v2, pol); boost::math::cyl_bessel_i(v1, v2, pol); boost::math::cyl_bessel_i(i, v2, pol); boost::math::cyl_bessel_k(v1, v2, pol); boost::math::cyl_bessel_k(i, v2, pol); boost::math::sph_bessel(i, v2, pol); boost::math::sph_bessel(i, 1, pol); boost::math::sph_neumann(i, v2, pol); boost::math::sph_neumann(i, i, pol); boost::math::expint(v1, pol); boost::math::expint(i, pol); boost::math::expint(i, v2, pol); boost::math::expint(i, i, pol); boost::math::zeta(v1, pol); boost::math::zeta(i, pol); // // These next functions are intended to be found via ADL: // BOOST_MATH_STD_USING trunc(v1, pol); itrunc(v1, pol); ltrunc(v1, pol); round(v1, pol); iround(v1, pol); lround(v1, pol); modf(v1, &v1, pol); modf(v1, &i, pol); modf(v1, &l, pol);#ifdef BOOST_HAS_LONG_LONG using boost::math::lltrunc; using boost::math::llround; lltrunc(v1, pol); llround(v1, pol); modf(v1, &ll, pol);#endif boost::math::pow<2>(v1, pol); boost::math::nextafter(v1, v1, pol); boost::math::float_next(v1, pol); boost::math::float_prior(v1, pol); boost::math::float_distance(v1, v1, pol); // // All over again with the versions in test:: // test::tgamma(v1); test::tgamma1pm1(v1); test::lgamma(v1); test::lgamma(v1, &i); test::digamma(v1); test::tgamma_ratio(v1, v2); test::tgamma_delta_ratio(v1, v2); test::factorial<RealType>(i); test::unchecked_factorial<RealType>(i); i = test::max_factorial<RealType>::value; test::double_factorial<RealType>(i); test::rising_factorial(v1, i); test::falling_factorial(v1, i); test::tgamma(v1, v2); test::tgamma_lower(v1, v2); test::gamma_p(v1, v2); test::gamma_q(v1, v2); test::gamma_p_inv(v1, v2); test::gamma_q_inv(v1, v2); test::gamma_p_inva(v1, v2); test::gamma_q_inva(v1, v2); test::erf(v1); test::erfc(v1); test::erf_inv(v1); test::erfc_inv(v1); test::beta(v1, v2); test::beta(v1, v2, v3); test::betac(v1, v2, v3); test::ibeta(v1, v2, v3); test::ibetac(v1, v2, v3); test::ibeta_inv(v1, v2, v3); test::ibetac_inv(v1, v2, v3); test::ibeta_inva(v1, v2, v3); test::ibetac_inva(v1, v2, v3); test::ibeta_invb(v1, v2, v3); test::ibetac_invb(v1, v2, v3); test::gamma_p_derivative(v2, v3); test::ibeta_derivative(v1, v2, v3); (test::fpclassify)(v1); (test::isfinite)(v1); (test::isnormal)(v1); (test::isnan)(v1); (test::isinf)(v1); test::log1p(v1); test::expm1(v1); test::cbrt(v1); test::sqrt1pm1(v1); test::powm1(v1, v2); test::legendre_p(1, v1); test::legendre_p(1, 0, v1); test::legendre_q(1, v1); test::legendre_next(2, v1, v2, v3); test::legendre_next(2, 2, v1, v2, v3); test::laguerre(1, v1); test::laguerre(2, 1, v1); test::laguerre_next(2, v1, v2, v3); test::laguerre_next(2, 1, v1, v2, v3); test::hermite(1, v1); test::hermite_next(2, v1, v2, v3); test::spherical_harmonic_r(2, 1, v1, v2); test::spherical_harmonic_i(2, 1, v1, v2); test::ellint_1(v1); test::ellint_1(v1, v2); test::ellint_2(v1); test::ellint_2(v1, v2); test::ellint_3(v1, v2); test::ellint_3(v1, v2, v3); test::ellint_rc(v1, v2); test::ellint_rd(v1, v2, v3); test::ellint_rf(v1, v2, v3); test::ellint_rj(v1, v2, v3, v1); test::hypot(v1, v2); test::sinc_pi(v1); test::sinhc_pi(v1); test::asinh(v1); test::acosh(v1); test::atanh(v1); test::sin_pi(v1); test::cos_pi(v1); test::cyl_neumann(v1, v2); test::cyl_neumann(i, v2); test::cyl_bessel_j(v1, v2); test::cyl_bessel_j(i, v2); test::cyl_bessel_i(v1, v2); test::cyl_bessel_i(i, v2); test::cyl_bessel_k(v1, v2); test::cyl_bessel_k(i, v2); test::sph_bessel(i, v2); test::sph_bessel(i, 1); test::sph_neumann(i, v2); test::sph_neumann(i, i); test::expint(v1); test::expint(i); test::expint(i, v2); test::expint(i, i); test::zeta(v1); test::zeta(i); test::trunc(v1); test::itrunc(v1); test::ltrunc(v1); test::round(v1); test::iround(v1); test::lround(v1); test::modf(v1, &v1); test::modf(v1, &i); test::modf(v1, &l);#ifdef BOOST_HAS_LONG_LONG test::lltrunc(v1); test::llround(v1); test::modf(v1, &ll);#endif test::pow<2>(v1); test::nextafter(v1, v1); test::float_next(v1); test::float_prior(v1); test::float_distance(v1, v1);#endif}template <class RealType>void instantiate_mixed(RealType){ using namespace boost; using namespace boost::math;#ifndef BOOST_MATH_INSTANTIATE_MINIMUM int i = 1; long l = 1; short s = 1; float fr = 0.5F; double dr = 0.5;#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS long double lr = 0.5L;#else double lr = 0.5L;#endif boost::math::tgamma(i); boost::math::tgamma1pm1(i); boost::math::lgamma(i); boost::math::lgamma(i, &i); boost::math::digamma(i); boost::math::tgamma_ratio(i, l); boost::math::tgamma_ratio(fr, lr); boost::math::tgamma_delta_ratio(i, s); boost::math::tgamma_delta_ratio(fr, lr); boost::math::rising_factorial(s, i); boost::math::falling_factorial(s, i); boost::math::tgamma(i, l); boost::math::tgamma(fr, lr); boost::math::tgamma_lower(i, s); boost::math::tgamma_lower(fr, lr); boost::math::gamma_p(i, s); boost::math::gamma_p(fr, lr); boost::math::gamma_q(i, s); boost::math::gamma_q(fr, lr); boost::math::gamma_p_inv(i, fr); boost::math::gamma_q_inv(s, fr); boost::math::gamma_p_inva(i, lr); boost::math::gamma_q_inva(i, lr); boost::math::erf(i); boost::math::erfc(i); boost::math::erf_inv(i); boost::math::erfc_inv(i); boost::math::beta(i, s); boost::math::beta(fr, lr); boost::math::beta(i, s, l); boost::math::beta(fr, dr, lr); boost::math::betac(l, i, s); boost::math::betac(fr, dr, lr); boost::math::ibeta(l, i, s); boost::math::ibeta(fr, dr, lr); boost::math::ibetac(l, i, s); boost::math::ibetac(fr, dr, lr); boost::math::ibeta_inv(l, s, i); boost::math::ibeta_inv(fr, dr, lr); boost::math::ibetac_inv(l, i, s); boost::math::ibetac_inv(fr, dr, lr); boost::math::ibeta_inva(l, i, s); boost::math::ibeta_inva(fr, dr, lr); boost::math::ibetac_inva(l, i, s); boost::math::ibetac_inva(fr, dr, lr); boost::math::ibeta_invb(l, i, s); boost::math::ibeta_invb(fr, dr, lr); boost::math::ibetac_invb(l, i, s); boost::math::ibetac_invb(fr, dr, lr); boost::math::gamma_p_derivative(i, l); boost::math::gamma_p_derivative(fr, lr); boost::math::ibeta_derivative(l, i, s); boost::math::ibeta_derivative(fr, dr, lr); (boost::math::fpclassify)(i); (boost::math::isfinite)(s); (boost::math::isnormal)(l); (boost::math::isnan)(i);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -