// math_fwd.hpp // TODO revise completely for new distribution classes. // Copyright Paul A. Bristow 2006. // Copyright John Maddock 2006. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) // Omnibus list of forward declarations of math special functions. // IT = Integer type. // RT = Real type (built-in floating-point types, float, double, long double) & User Defined Types // AT = Integer or Real type #ifndef BOOST_MATH_SPECIAL_MATH_FWD_HPP #define BOOST_MATH_SPECIAL_MATH_FWD_HPP #ifdef _MSC_VER #pragma once #endif #include #include #include // for argument promotion. #include #include #include #include #define BOOST_NO_MACRO_EXPAND /**/ namespace lslboost { namespace math { // Math functions (in roughly alphabetic order). // Beta functions. template typename tools::promote_args::type beta(RT1 a, RT2 b); // Beta function (2 arguments). template typename tools::promote_args::type beta(RT1 a, RT2 b, A x); // Beta function (3 arguments). template typename tools::promote_args::type beta(RT1 a, RT2 b, RT3 x, const Policy& pol); // Beta function (3 arguments). template typename tools::promote_args::type betac(RT1 a, RT2 b, RT3 x); template typename tools::promote_args::type betac(RT1 a, RT2 b, RT3 x, const Policy& pol); template typename tools::promote_args::type ibeta(RT1 a, RT2 b, RT3 x); // Incomplete beta function. template typename tools::promote_args::type ibeta(RT1 a, RT2 b, RT3 x, const Policy& pol); // Incomplete beta function. template typename tools::promote_args::type ibetac(RT1 a, RT2 b, RT3 x); // Incomplete beta complement function. template typename tools::promote_args::type ibetac(RT1 a, RT2 b, RT3 x, const Policy& pol); // Incomplete beta complement function. template typename tools::promote_args::type ibeta_inv(T1 a, T2 b, T3 p, T4* py); template typename tools::promote_args::type ibeta_inv(T1 a, T2 b, T3 p, T4* py, const Policy& pol); template typename tools::promote_args::type ibeta_inv(RT1 a, RT2 b, RT3 p); // Incomplete beta inverse function. template typename tools::promote_args::type ibeta_inv(RT1 a, RT2 b, RT3 p, const Policy&); // Incomplete beta inverse function. template typename tools::promote_args::type ibeta_inva(RT1 a, RT2 b, RT3 p); // Incomplete beta inverse function. template typename tools::promote_args::type ibeta_inva(RT1 a, RT2 b, RT3 p, const Policy&); // Incomplete beta inverse function. template typename tools::promote_args::type ibeta_invb(RT1 a, RT2 b, RT3 p); // Incomplete beta inverse function. template typename tools::promote_args::type ibeta_invb(RT1 a, RT2 b, RT3 p, const Policy&); // Incomplete beta inverse function. template typename tools::promote_args::type ibetac_inv(T1 a, T2 b, T3 q, T4* py); template typename tools::promote_args::type ibetac_inv(T1 a, T2 b, T3 q, T4* py, const Policy& pol); template typename tools::promote_args::type ibetac_inv(RT1 a, RT2 b, RT3 q); // Incomplete beta complement inverse function. template typename tools::promote_args::type ibetac_inv(RT1 a, RT2 b, RT3 q, const Policy&); // Incomplete beta complement inverse function. template typename tools::promote_args::type ibetac_inva(RT1 a, RT2 b, RT3 q); // Incomplete beta complement inverse function. template typename tools::promote_args::type ibetac_inva(RT1 a, RT2 b, RT3 q, const Policy&); // Incomplete beta complement inverse function. template typename tools::promote_args::type ibetac_invb(RT1 a, RT2 b, RT3 q); // Incomplete beta complement inverse function. template typename tools::promote_args::type ibetac_invb(RT1 a, RT2 b, RT3 q, const Policy&); // Incomplete beta complement inverse function. template typename tools::promote_args::type ibeta_derivative(RT1 a, RT2 b, RT3 x); // derivative of incomplete beta template typename tools::promote_args::type ibeta_derivative(RT1 a, RT2 b, RT3 x, const Policy& pol); // derivative of incomplete beta // Binomial: template T binomial_coefficient(unsigned n, unsigned k, const Policy& pol); template T binomial_coefficient(unsigned n, unsigned k); // erf & erfc error functions. template // Error function. typename tools::promote_args::type erf(RT z); template // Error function. typename tools::promote_args::type erf(RT z, const Policy&); template // Error function complement. typename tools::promote_args::type erfc(RT z); template // Error function complement. typename tools::promote_args::type erfc(RT z, const Policy&); template // Error function inverse. typename tools::promote_args::type erf_inv(RT z); template // Error function inverse. typename tools::promote_args::type erf_inv(RT z, const Policy& pol); template // Error function complement inverse. typename tools::promote_args::type erfc_inv(RT z); template // Error function complement inverse. typename tools::promote_args::type erfc_inv(RT z, const Policy& pol); // Polynomials: template typename tools::promote_args::type legendre_next(unsigned l, T1 x, T2 Pl, T3 Plm1); template typename tools::promote_args::type legendre_p(int l, T x); template typename tools::promote_args::type legendre_p_prime(int l, T x); template inline std::vector legendre_p_zeros(int l, const Policy& pol); template inline std::vector legendre_p_zeros(int l); #if !BOOST_WORKAROUND(BOOST_MSVC, <= 1310) template typename lslboost::enable_if_c::value, typename tools::promote_args::type>::type legendre_p(int l, T x, const Policy& pol); template inline typename lslboost::enable_if_c::value, typename tools::promote_args::type>::type legendre_p_prime(int l, T x, const Policy& pol); #endif template typename tools::promote_args::type legendre_q(unsigned l, T x); #if !BOOST_WORKAROUND(BOOST_MSVC, <= 1310) template typename lslboost::enable_if_c::value, typename tools::promote_args::type>::type legendre_q(unsigned l, T x, const Policy& pol); #endif template typename tools::promote_args::type legendre_next(unsigned l, unsigned m, T1 x, T2 Pl, T3 Plm1); template typename tools::promote_args::type legendre_p(int l, int m, T x); template typename tools::promote_args::type legendre_p(int l, int m, T x, const Policy& pol); template typename tools::promote_args::type laguerre_next(unsigned n, T1 x, T2 Ln, T3 Lnm1); template typename tools::promote_args::type laguerre_next(unsigned n, unsigned l, T1 x, T2 Pl, T3 Plm1); template typename tools::promote_args::type laguerre(unsigned n, T x); template typename tools::promote_args::type laguerre(unsigned n, unsigned m, T x, const Policy& pol); template struct laguerre_result { typedef typename mpl::if_< policies::is_policy, typename tools::promote_args::type, typename tools::promote_args::type >::type type; }; template typename laguerre_result::type laguerre(unsigned n, T1 m, T2 x); template typename tools::promote_args::type hermite(unsigned n, T x); template typename tools::promote_args::type hermite(unsigned n, T x, const Policy& pol); template typename tools::promote_args::type hermite_next(unsigned n, T1 x, T2 Hn, T3 Hnm1); template typename tools::promote_args::type chebyshev_next(T1 const & x, T2 const & Tn, T3 const & Tn_1); template typename tools::promote_args::type chebyshev_t(unsigned n, Real const & x, const Policy&); template typename tools::promote_args::type chebyshev_t(unsigned n, Real const & x); template typename tools::promote_args::type chebyshev_u(unsigned n, Real const & x, const Policy&); template typename tools::promote_args::type chebyshev_u(unsigned n, Real const & x); template typename tools::promote_args::type chebyshev_t_prime(unsigned n, Real const & x, const Policy&); template typename tools::promote_args::type chebyshev_t_prime(unsigned n, Real const & x); template Real chebyshev_clenshaw_recurrence(const Real* const c, size_t length, const T2& x); template std::complex::type> spherical_harmonic(unsigned n, int m, T1 theta, T2 phi); template std::complex::type> spherical_harmonic(unsigned n, int m, T1 theta, T2 phi, const Policy& pol); template typename tools::promote_args::type spherical_harmonic_r(unsigned n, int m, T1 theta, T2 phi); template typename tools::promote_args::type spherical_harmonic_r(unsigned n, int m, T1 theta, T2 phi, const Policy& pol); template typename tools::promote_args::type spherical_harmonic_i(unsigned n, int m, T1 theta, T2 phi); template typename tools::promote_args::type spherical_harmonic_i(unsigned n, int m, T1 theta, T2 phi, const Policy& pol); // Elliptic integrals: template typename tools::promote_args::type ellint_rf(T1 x, T2 y, T3 z); template typename tools::promote_args::type ellint_rf(T1 x, T2 y, T3 z, const Policy& pol); template typename tools::promote_args::type ellint_rd(T1 x, T2 y, T3 z); template typename tools::promote_args::type ellint_rd(T1 x, T2 y, T3 z, const Policy& pol); template typename tools::promote_args::type ellint_rc(T1 x, T2 y); template typename tools::promote_args::type ellint_rc(T1 x, T2 y, const Policy& pol); template typename tools::promote_args::type ellint_rj(T1 x, T2 y, T3 z, T4 p); template typename tools::promote_args::type ellint_rj(T1 x, T2 y, T3 z, T4 p, const Policy& pol); template typename tools::promote_args::type ellint_rg(T1 x, T2 y, T3 z); template typename tools::promote_args::type ellint_rg(T1 x, T2 y, T3 z, const Policy& pol); template typename tools::promote_args::type ellint_2(T k); template typename tools::promote_args::type ellint_2(T1 k, T2 phi); template typename tools::promote_args::type ellint_2(T1 k, T2 phi, const Policy& pol); template typename tools::promote_args::type ellint_1(T k); template typename tools::promote_args::type ellint_1(T1 k, T2 phi); template typename tools::promote_args::type ellint_1(T1 k, T2 phi, const Policy& pol); template typename tools::promote_args::type ellint_d(T k); template typename tools::promote_args::type ellint_d(T1 k, T2 phi); template typename tools::promote_args::type ellint_d(T1 k, T2 phi, const Policy& pol); template typename tools::promote_args::type jacobi_zeta(T1 k, T2 phi); template typename tools::promote_args::type jacobi_zeta(T1 k, T2 phi, const Policy& pol); template typename tools::promote_args::type heuman_lambda(T1 k, T2 phi); template typename tools::promote_args::type heuman_lambda(T1 k, T2 phi, const Policy& pol); namespace detail{ template struct ellint_3_result { typedef typename mpl::if_< policies::is_policy, typename tools::promote_args::type, typename tools::promote_args::type >::type type; }; } // namespace detail template typename detail::ellint_3_result::type ellint_3(T1 k, T2 v, T3 phi); template typename tools::promote_args::type ellint_3(T1 k, T2 v, T3 phi, const Policy& pol); template typename tools::promote_args::type ellint_3(T1 k, T2 v); // Factorial functions. // Note: not for integral types, at present. template struct max_factorial; template RT factorial(unsigned int); template RT factorial(unsigned int, const Policy& pol); template RT unchecked_factorial(unsigned int BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(RT)); template RT double_factorial(unsigned i); template RT double_factorial(unsigned i, const Policy& pol); template typename tools::promote_args::type falling_factorial(RT x, unsigned n); template typename tools::promote_args::type falling_factorial(RT x, unsigned n, const Policy& pol); template typename tools::promote_args::type rising_factorial(RT x, int n); template typename tools::promote_args::type rising_factorial(RT x, int n, const Policy& pol); // Gamma functions. template typename tools::promote_args::type tgamma(RT z); template typename tools::promote_args::type tgamma1pm1(RT z); template typename tools::promote_args::type tgamma1pm1(RT z, const Policy& pol); template typename tools::promote_args::type tgamma(RT1 a, RT2 z); template typename tools::promote_args::type tgamma(RT1 a, RT2 z, const Policy& pol); template typename tools::promote_args::type lgamma(RT z, int* sign); template typename tools::promote_args::type lgamma(RT z, int* sign, const Policy& pol); template typename tools::promote_args::type lgamma(RT x); template typename tools::promote_args::type lgamma(RT x, const Policy& pol); template typename tools::promote_args::type tgamma_lower(RT1 a, RT2 z); template typename tools::promote_args::type tgamma_lower(RT1 a, RT2 z, const Policy&); template typename tools::promote_args::type gamma_q(RT1 a, RT2 z); template typename tools::promote_args::type gamma_q(RT1 a, RT2 z, const Policy&); template typename tools::promote_args::type gamma_p(RT1 a, RT2 z); template typename tools::promote_args::type gamma_p(RT1 a, RT2 z, const Policy&); template typename tools::promote_args::type tgamma_delta_ratio(T1 z, T2 delta); template typename tools::promote_args::type tgamma_delta_ratio(T1 z, T2 delta, const Policy&); template typename tools::promote_args::type tgamma_ratio(T1 a, T2 b); template typename tools::promote_args::type tgamma_ratio(T1 a, T2 b, const Policy&); template typename tools::promote_args::type gamma_p_derivative(T1 a, T2 x); template typename tools::promote_args::type gamma_p_derivative(T1 a, T2 x, const Policy&); // gamma inverse. template typename tools::promote_args::type gamma_p_inv(T1 a, T2 p); template typename tools::promote_args::type gamma_p_inva(T1 a, T2 p, const Policy&); template typename tools::promote_args::type gamma_p_inva(T1 a, T2 p); template typename tools::promote_args::type gamma_p_inv(T1 a, T2 p, const Policy&); template typename tools::promote_args::type gamma_q_inv(T1 a, T2 q); template typename tools::promote_args::type gamma_q_inv(T1 a, T2 q, const Policy&); template typename tools::promote_args::type gamma_q_inva(T1 a, T2 q); template typename tools::promote_args::type gamma_q_inva(T1 a, T2 q, const Policy&); // digamma: template typename tools::promote_args::type digamma(T x); template typename tools::promote_args::type digamma(T x, const Policy&); // trigamma: template typename tools::promote_args::type trigamma(T x); template typename tools::promote_args::type trigamma(T x, const Policy&); // polygamma: template typename tools::promote_args::type polygamma(int n, T x); template typename tools::promote_args::type polygamma(int n, T x, const Policy&); // Hypotenuse function sqrt(x ^ 2 + y ^ 2). template typename tools::promote_args::type hypot(T1 x, T2 y); template typename tools::promote_args::type hypot(T1 x, T2 y, const Policy&); // cbrt - cube root. template typename tools::promote_args::type cbrt(RT z); template typename tools::promote_args::type cbrt(RT z, const Policy&); // log1p is log(x + 1) template typename tools::promote_args::type log1p(T); template typename tools::promote_args::type log1p(T, const Policy&); // log1pmx is log(x + 1) - x template typename tools::promote_args::type log1pmx(T); template typename tools::promote_args::type log1pmx(T, const Policy&); // Exp (x) minus 1 functions. template typename tools::promote_args::type expm1(T); template typename tools::promote_args::type expm1(T, const Policy&); // Power - 1 template typename tools::promote_args::type powm1(const T1 a, const T2 z); template typename tools::promote_args::type powm1(const T1 a, const T2 z, const Policy&); // sqrt(1+x) - 1 template typename tools::promote_args::type sqrt1pm1(const T& val); template typename tools::promote_args::type sqrt1pm1(const T& val, const Policy&); // sinus cardinals: template typename tools::promote_args::type sinc_pi(T x); template typename tools::promote_args::type sinc_pi(T x, const Policy&); template typename tools::promote_args::type sinhc_pi(T x); template typename tools::promote_args::type sinhc_pi(T x, const Policy&); // inverse hyperbolics: template typename tools::promote_args::type asinh(T x); template typename tools::promote_args::type asinh(T x, const Policy&); template typename tools::promote_args::type acosh(T x); template typename tools::promote_args::type acosh(T x, const Policy&); template typename tools::promote_args::type atanh(T x); template typename tools::promote_args::type atanh(T x, const Policy&); namespace detail{ typedef mpl::int_<0> bessel_no_int_tag; // No integer optimisation possible. typedef mpl::int_<1> bessel_maybe_int_tag; // Maybe integer optimisation. typedef mpl::int_<2> bessel_int_tag; // Definite integer optimistaion. template struct bessel_traits { typedef typename mpl::if_< is_integral, typename tools::promote_args::type, typename tools::promote_args::type >::type result_type; typedef typename policies::precision::type precision_type; typedef typename mpl::if_< mpl::or_< mpl::less_equal >, mpl::greater > >, bessel_no_int_tag, typename mpl::if_< is_integral, bessel_int_tag, bessel_maybe_int_tag >::type >::type optimisation_tag; typedef typename mpl::if_< mpl::or_< mpl::less_equal >, mpl::greater > >, bessel_no_int_tag, typename mpl::if_< is_integral, bessel_int_tag, bessel_maybe_int_tag >::type >::type optimisation_tag128; }; } // detail // Bessel functions: template typename detail::bessel_traits::result_type cyl_bessel_j(T1 v, T2 x, const Policy& pol); template typename detail::bessel_traits::result_type cyl_bessel_j_prime(T1 v, T2 x, const Policy& pol); template typename detail::bessel_traits >::result_type cyl_bessel_j(T1 v, T2 x); template typename detail::bessel_traits >::result_type cyl_bessel_j_prime(T1 v, T2 x); template typename detail::bessel_traits::result_type sph_bessel(unsigned v, T x, const Policy& pol); template typename detail::bessel_traits::result_type sph_bessel_prime(unsigned v, T x, const Policy& pol); template typename detail::bessel_traits >::result_type sph_bessel(unsigned v, T x); template typename detail::bessel_traits >::result_type sph_bessel_prime(unsigned v, T x); template typename detail::bessel_traits::result_type cyl_bessel_i(T1 v, T2 x, const Policy& pol); template typename detail::bessel_traits::result_type cyl_bessel_i_prime(T1 v, T2 x, const Policy& pol); template typename detail::bessel_traits >::result_type cyl_bessel_i(T1 v, T2 x); template typename detail::bessel_traits >::result_type cyl_bessel_i_prime(T1 v, T2 x); template typename detail::bessel_traits::result_type cyl_bessel_k(T1 v, T2 x, const Policy& pol); template typename detail::bessel_traits::result_type cyl_bessel_k_prime(T1 v, T2 x, const Policy& pol); template typename detail::bessel_traits >::result_type cyl_bessel_k(T1 v, T2 x); template typename detail::bessel_traits >::result_type cyl_bessel_k_prime(T1 v, T2 x); template typename detail::bessel_traits::result_type cyl_neumann(T1 v, T2 x, const Policy& pol); template typename detail::bessel_traits::result_type cyl_neumann_prime(T1 v, T2 x, const Policy& pol); template typename detail::bessel_traits >::result_type cyl_neumann(T1 v, T2 x); template typename detail::bessel_traits >::result_type cyl_neumann_prime(T1 v, T2 x); template typename detail::bessel_traits::result_type sph_neumann(unsigned v, T x, const Policy& pol); template typename detail::bessel_traits::result_type sph_neumann_prime(unsigned v, T x, const Policy& pol); template typename detail::bessel_traits >::result_type sph_neumann(unsigned v, T x); template typename detail::bessel_traits >::result_type sph_neumann_prime(unsigned v, T x); template typename detail::bessel_traits::result_type cyl_bessel_j_zero(T v, int m, const Policy& pol); template typename detail::bessel_traits >::result_type cyl_bessel_j_zero(T v, int m); template OutputIterator cyl_bessel_j_zero(T v, int start_index, unsigned number_of_zeros, OutputIterator out_it); template OutputIterator cyl_bessel_j_zero(T v, int start_index, unsigned number_of_zeros, OutputIterator out_it, const Policy&); template typename detail::bessel_traits::result_type cyl_neumann_zero(T v, int m, const Policy& pol); template typename detail::bessel_traits >::result_type cyl_neumann_zero(T v, int m); template OutputIterator cyl_neumann_zero(T v, int start_index, unsigned number_of_zeros, OutputIterator out_it); template OutputIterator cyl_neumann_zero(T v, int start_index, unsigned number_of_zeros, OutputIterator out_it, const Policy&); template std::complex >::result_type> cyl_hankel_1(T1 v, T2 x); template std::complex::result_type> cyl_hankel_1(T1 v, T2 x, const Policy& pol); template std::complex::result_type> cyl_hankel_2(T1 v, T2 x, const Policy& pol); template std::complex >::result_type> cyl_hankel_2(T1 v, T2 x); template std::complex::result_type> sph_hankel_1(T1 v, T2 x, const Policy& pol); template std::complex >::result_type> sph_hankel_1(T1 v, T2 x); template std::complex::result_type> sph_hankel_2(T1 v, T2 x, const Policy& pol); template std::complex >::result_type> sph_hankel_2(T1 v, T2 x); template typename tools::promote_args::type airy_ai(T x, const Policy&); template typename tools::promote_args::type airy_ai(T x); template typename tools::promote_args::type airy_bi(T x, const Policy&); template typename tools::promote_args::type airy_bi(T x); template typename tools::promote_args::type airy_ai_prime(T x, const Policy&); template typename tools::promote_args::type airy_ai_prime(T x); template typename tools::promote_args::type airy_bi_prime(T x, const Policy&); template typename tools::promote_args::type airy_bi_prime(T x); template T airy_ai_zero(int m); template T airy_ai_zero(int m, const Policy&); template OutputIterator airy_ai_zero( int start_index, unsigned number_of_zeros, OutputIterator out_it); template OutputIterator airy_ai_zero( int start_index, unsigned number_of_zeros, OutputIterator out_it, const Policy&); template T airy_bi_zero(int m); template T airy_bi_zero(int m, const Policy&); template OutputIterator airy_bi_zero( int start_index, unsigned number_of_zeros, OutputIterator out_it); template OutputIterator airy_bi_zero( int start_index, unsigned number_of_zeros, OutputIterator out_it, const Policy&); template typename tools::promote_args::type sin_pi(T x, const Policy&); template typename tools::promote_args::type sin_pi(T x); template typename tools::promote_args::type cos_pi(T x, const Policy&); template typename tools::promote_args::type cos_pi(T x); template int fpclassify BOOST_NO_MACRO_EXPAND(T t); template bool isfinite BOOST_NO_MACRO_EXPAND(T z); template bool isinf BOOST_NO_MACRO_EXPAND(T t); template bool isnan BOOST_NO_MACRO_EXPAND(T t); template bool isnormal BOOST_NO_MACRO_EXPAND(T t); template int signbit BOOST_NO_MACRO_EXPAND(T x); template int sign BOOST_NO_MACRO_EXPAND(const T& z); template typename tools::promote_args_permissive::type copysign BOOST_NO_MACRO_EXPAND(const T& x, const U& y); template typename tools::promote_args_permissive::type changesign BOOST_NO_MACRO_EXPAND(const T& z); // Exponential integrals: namespace detail{ template struct expint_result { typedef typename mpl::if_< policies::is_policy, typename tools::promote_args::type, typename tools::promote_args::type >::type type; }; } // namespace detail template typename tools::promote_args::type expint(unsigned n, T z, const Policy&); template typename detail::expint_result::type expint(T const z, U const u); template typename tools::promote_args::type expint(T z); // Zeta: template typename tools::promote_args::type zeta(T s, const Policy&); // Owen's T function: template typename tools::promote_args::type owens_t(T1 h, T2 a, const Policy& pol); template typename tools::promote_args::type owens_t(T1 h, T2 a); // Jacobi Functions: template typename tools::promote_args::type jacobi_elliptic(T k, U theta, V* pcn, V* pdn, const Policy&); template typename tools::promote_args::type jacobi_elliptic(T k, U theta, V* pcn = 0, V* pdn = 0); template typename tools::promote_args::type jacobi_sn(U k, T theta, const Policy& pol); template typename tools::promote_args::type jacobi_sn(U k, T theta); template typename tools::promote_args::type jacobi_cn(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_cn(T k, U theta); template typename tools::promote_args::type jacobi_dn(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_dn(T k, U theta); template typename tools::promote_args::type jacobi_cd(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_cd(T k, U theta); template typename tools::promote_args::type jacobi_dc(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_dc(T k, U theta); template typename tools::promote_args::type jacobi_ns(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_ns(T k, U theta); template typename tools::promote_args::type jacobi_sd(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_sd(T k, U theta); template typename tools::promote_args::type jacobi_ds(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_ds(T k, U theta); template typename tools::promote_args::type jacobi_nc(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_nc(T k, U theta); template typename tools::promote_args::type jacobi_nd(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_nd(T k, U theta); template typename tools::promote_args::type jacobi_sc(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_sc(T k, U theta); template typename tools::promote_args::type jacobi_cs(T k, U theta, const Policy& pol); template typename tools::promote_args::type jacobi_cs(T k, U theta); template typename tools::promote_args::type zeta(T s); // pow: template typename tools::promote_args::type pow(T base, const Policy& policy); template typename tools::promote_args::type pow(T base); // next: template typename tools::promote_args::type nextafter(const T&, const U&, const Policy&); template typename tools::promote_args::type nextafter(const T&, const U&); template typename tools::promote_args::type float_next(const T&, const Policy&); template typename tools::promote_args::type float_next(const T&); template typename tools::promote_args::type float_prior(const T&, const Policy&); template typename tools::promote_args::type float_prior(const T&); template typename tools::promote_args::type float_distance(const T&, const U&, const Policy&); template typename tools::promote_args::type float_distance(const T&, const U&); template typename tools::promote_args::type float_advance(T val, int distance, const Policy& pol); template typename tools::promote_args::type float_advance(const T& val, int distance); template typename tools::promote_args::type ulp(const T& val, const Policy& pol); template typename tools::promote_args::type ulp(const T& val); template typename tools::promote_args::type relative_difference(const T&, const U&); template typename tools::promote_args::type epsilon_difference(const T&, const U&); template BOOST_MATH_CONSTEXPR_TABLE_FUNCTION T unchecked_bernoulli_b2n(const std::size_t n); template T bernoulli_b2n(const int i, const Policy &pol); template T bernoulli_b2n(const int i); template OutputIterator bernoulli_b2n(const int start_index, const unsigned number_of_bernoullis_b2n, OutputIterator out_it, const Policy& pol); template OutputIterator bernoulli_b2n(const int start_index, const unsigned number_of_bernoullis_b2n, OutputIterator out_it); template T tangent_t2n(const int i, const Policy &pol); template T tangent_t2n(const int i); template OutputIterator tangent_t2n(const int start_index, const unsigned number_of_bernoullis_b2n, OutputIterator out_it, const Policy& pol); template OutputIterator tangent_t2n(const int start_index, const unsigned number_of_bernoullis_b2n, OutputIterator out_it); // Lambert W: template typename lslboost::math::tools::promote_args::type lambert_w0(T z, const Policy& pol); template typename lslboost::math::tools::promote_args::type lambert_w0(T z); template typename lslboost::math::tools::promote_args::type lambert_wm1(T z, const Policy& pol); template typename lslboost::math::tools::promote_args::type lambert_wm1(T z); template typename lslboost::math::tools::promote_args::type lambert_w0_prime(T z, const Policy& pol); template typename lslboost::math::tools::promote_args::type lambert_w0_prime(T z); template typename lslboost::math::tools::promote_args::type lambert_wm1_prime(T z, const Policy& pol); template typename lslboost::math::tools::promote_args::type lambert_wm1_prime(T z); } // namespace math } // namespace lslboost #ifdef BOOST_HAS_LONG_LONG #define BOOST_MATH_DETAIL_LL_FUNC(Policy)\ \ template \ inline T modf(const T& v, lslboost::long_long_type* ipart){ using lslboost::math::modf; return modf(v, ipart, Policy()); }\ \ template \ inline lslboost::long_long_type lltrunc(const T& v){ using lslboost::math::lltrunc; return lltrunc(v, Policy()); }\ \ template \ inline lslboost::long_long_type llround(const T& v){ using lslboost::math::llround; return llround(v, Policy()); }\ #else #define BOOST_MATH_DETAIL_LL_FUNC(Policy) #endif #define BOOST_MATH_DECLARE_SPECIAL_FUNCTIONS(Policy)\ \ BOOST_MATH_DETAIL_LL_FUNC(Policy)\ \ template \ inline typename lslboost::math::tools::promote_args::type \ beta(RT1 a, RT2 b) { return ::lslboost::math::beta(a, b, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ beta(RT1 a, RT2 b, A x){ return ::lslboost::math::beta(a, b, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ betac(RT1 a, RT2 b, RT3 x) { return ::lslboost::math::betac(a, b, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibeta(RT1 a, RT2 b, RT3 x){ return ::lslboost::math::ibeta(a, b, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibetac(RT1 a, RT2 b, RT3 x){ return ::lslboost::math::ibetac(a, b, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibeta_inv(T1 a, T2 b, T3 p, T4* py){ return ::lslboost::math::ibeta_inv(a, b, p, py, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibeta_inv(RT1 a, RT2 b, RT3 p){ return ::lslboost::math::ibeta_inv(a, b, p, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibetac_inv(T1 a, T2 b, T3 q, T4* py){ return ::lslboost::math::ibetac_inv(a, b, q, py, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibeta_inva(RT1 a, RT2 b, RT3 p){ return ::lslboost::math::ibeta_inva(a, b, p, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibetac_inva(T1 a, T2 b, T3 q){ return ::lslboost::math::ibetac_inva(a, b, q, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibeta_invb(RT1 a, RT2 b, RT3 p){ return ::lslboost::math::ibeta_invb(a, b, p, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibetac_invb(T1 a, T2 b, T3 q){ return ::lslboost::math::ibetac_invb(a, b, q, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibetac_inv(RT1 a, RT2 b, RT3 q){ return ::lslboost::math::ibetac_inv(a, b, q, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ibeta_derivative(RT1 a, RT2 b, RT3 x){ return ::lslboost::math::ibeta_derivative(a, b, x, Policy()); }\ \ template T binomial_coefficient(unsigned n, unsigned k){ return ::lslboost::math::binomial_coefficient(n, k, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type erf(RT z) { return ::lslboost::math::erf(z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type erfc(RT z){ return ::lslboost::math::erfc(z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type erf_inv(RT z) { return ::lslboost::math::erf_inv(z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type erfc_inv(RT z){ return ::lslboost::math::erfc_inv(z, Policy()); }\ \ using lslboost::math::legendre_next;\ \ template \ inline typename lslboost::math::tools::promote_args::type \ legendre_p(int l, T x){ return ::lslboost::math::legendre_p(l, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ legendre_p_prime(int l, T x){ return ::lslboost::math::legendre_p(l, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ legendre_q(unsigned l, T x){ return ::lslboost::math::legendre_q(l, x, Policy()); }\ \ using ::lslboost::math::legendre_next;\ \ template \ inline typename lslboost::math::tools::promote_args::type \ legendre_p(int l, int m, T x){ return ::lslboost::math::legendre_p(l, m, x, Policy()); }\ \ using ::lslboost::math::laguerre_next;\ \ template \ inline typename lslboost::math::tools::promote_args::type \ laguerre(unsigned n, T x){ return ::lslboost::math::laguerre(n, x, Policy()); }\ \ template \ inline typename lslboost::math::laguerre_result::type \ laguerre(unsigned n, T1 m, T2 x) { return ::lslboost::math::laguerre(n, m, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ hermite(unsigned n, T x){ return ::lslboost::math::hermite(n, x, Policy()); }\ \ using lslboost::math::hermite_next;\ \ using lslboost::math::chebyshev_next;\ \ template\ Real chebyshev_t(unsigned n, Real const & x){ return ::lslboost::math::chebyshev_t(n, x, Policy()); }\ \ template\ Real chebyshev_u(unsigned n, Real const & x){ return ::lslboost::math::chebyshev_u(n, x, Policy()); }\ \ template\ Real chebyshev_t_prime(unsigned n, Real const & x){ return ::lslboost::math::chebyshev_t_prime(n, x, Policy()); }\ \ using ::lslboost::math::chebyshev_clenshaw_recurrence;\ \ template \ inline std::complex::type> \ spherical_harmonic(unsigned n, int m, T1 theta, T2 phi){ return lslboost::math::spherical_harmonic(n, m, theta, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ spherical_harmonic_r(unsigned n, int m, T1 theta, T2 phi){ return ::lslboost::math::spherical_harmonic_r(n, m, theta, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ spherical_harmonic_i(unsigned n, int m, T1 theta, T2 phi){ return lslboost::math::spherical_harmonic_i(n, m, theta, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ spherical_harmonic_i(unsigned n, int m, T1 theta, T2 phi, const Policy& pol);\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ellint_rf(T1 x, T2 y, T3 z){ return ::lslboost::math::ellint_rf(x, y, z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ellint_rd(T1 x, T2 y, T3 z){ return ::lslboost::math::ellint_rd(x, y, z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ellint_rc(T1 x, T2 y){ return ::lslboost::math::ellint_rc(x, y, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ellint_rj(T1 x, T2 y, T3 z, T4 p){ return lslboost::math::ellint_rj(x, y, z, p, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ ellint_rg(T1 x, T2 y, T3 z){ return ::lslboost::math::ellint_rg(x, y, z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type ellint_2(T k){ return lslboost::math::ellint_2(k, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type ellint_2(T1 k, T2 phi){ return lslboost::math::ellint_2(k, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type ellint_d(T k){ return lslboost::math::ellint_d(k, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type ellint_d(T1 k, T2 phi){ return lslboost::math::ellint_d(k, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_zeta(T1 k, T2 phi){ return lslboost::math::jacobi_zeta(k, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type heuman_lambda(T1 k, T2 phi){ return lslboost::math::heuman_lambda(k, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type ellint_1(T k){ return lslboost::math::ellint_1(k, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type ellint_1(T1 k, T2 phi){ return lslboost::math::ellint_1(k, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type ellint_3(T1 k, T2 v, T3 phi){ return lslboost::math::ellint_3(k, v, phi, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type ellint_3(T1 k, T2 v){ return lslboost::math::ellint_3(k, v, Policy()); }\ \ using lslboost::math::max_factorial;\ template \ inline RT factorial(unsigned int i) { return lslboost::math::factorial(i, Policy()); }\ using lslboost::math::unchecked_factorial;\ template \ inline RT double_factorial(unsigned i){ return lslboost::math::double_factorial(i, Policy()); }\ template \ inline typename lslboost::math::tools::promote_args::type falling_factorial(RT x, unsigned n){ return lslboost::math::falling_factorial(x, n, Policy()); }\ template \ inline typename lslboost::math::tools::promote_args::type rising_factorial(RT x, unsigned n){ return lslboost::math::rising_factorial(x, n, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type tgamma(RT z){ return lslboost::math::tgamma(z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type tgamma1pm1(RT z){ return lslboost::math::tgamma1pm1(z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type tgamma(RT1 a, RT2 z){ return lslboost::math::tgamma(a, z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type lgamma(RT z, int* sign){ return lslboost::math::lgamma(z, sign, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type lgamma(RT x){ return lslboost::math::lgamma(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type tgamma_lower(RT1 a, RT2 z){ return lslboost::math::tgamma_lower(a, z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type gamma_q(RT1 a, RT2 z){ return lslboost::math::gamma_q(a, z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type gamma_p(RT1 a, RT2 z){ return lslboost::math::gamma_p(a, z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type tgamma_delta_ratio(T1 z, T2 delta){ return lslboost::math::tgamma_delta_ratio(z, delta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type tgamma_ratio(T1 a, T2 b) { return lslboost::math::tgamma_ratio(a, b, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type gamma_p_derivative(T1 a, T2 x){ return lslboost::math::gamma_p_derivative(a, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type gamma_p_inv(T1 a, T2 p){ return lslboost::math::gamma_p_inv(a, p, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type gamma_p_inva(T1 a, T2 p){ return lslboost::math::gamma_p_inva(a, p, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type gamma_q_inv(T1 a, T2 q){ return lslboost::math::gamma_q_inv(a, q, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type gamma_q_inva(T1 a, T2 q){ return lslboost::math::gamma_q_inva(a, q, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type digamma(T x){ return lslboost::math::digamma(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type trigamma(T x){ return lslboost::math::trigamma(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type polygamma(int n, T x){ return lslboost::math::polygamma(n, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ hypot(T1 x, T2 y){ return lslboost::math::hypot(x, y, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type cbrt(RT z){ return lslboost::math::cbrt(z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type log1p(T x){ return lslboost::math::log1p(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type log1pmx(T x){ return lslboost::math::log1pmx(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type expm1(T x){ return lslboost::math::expm1(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type \ powm1(const T1 a, const T2 z){ return lslboost::math::powm1(a, z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type sqrt1pm1(const T& val){ return lslboost::math::sqrt1pm1(val, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type sinc_pi(T x){ return lslboost::math::sinc_pi(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type sinhc_pi(T x){ return lslboost::math::sinhc_pi(x, Policy()); }\ \ template\ inline typename lslboost::math::tools::promote_args::type asinh(const T x){ return lslboost::math::asinh(x, Policy()); }\ \ template\ inline typename lslboost::math::tools::promote_args::type acosh(const T x){ return lslboost::math::acosh(x, Policy()); }\ \ template\ inline typename lslboost::math::tools::promote_args::type atanh(const T x){ return lslboost::math::atanh(x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type cyl_bessel_j(T1 v, T2 x)\ { return lslboost::math::cyl_bessel_j(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type cyl_bessel_j_prime(T1 v, T2 x)\ { return lslboost::math::cyl_bessel_j_prime(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type sph_bessel(unsigned v, T x)\ { return lslboost::math::sph_bessel(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type sph_bessel_prime(unsigned v, T x)\ { return lslboost::math::sph_bessel_prime(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type \ cyl_bessel_i(T1 v, T2 x) { return lslboost::math::cyl_bessel_i(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type \ cyl_bessel_i_prime(T1 v, T2 x) { return lslboost::math::cyl_bessel_i_prime(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type \ cyl_bessel_k(T1 v, T2 x) { return lslboost::math::cyl_bessel_k(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type \ cyl_bessel_k_prime(T1 v, T2 x) { return lslboost::math::cyl_bessel_k_prime(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type \ cyl_neumann(T1 v, T2 x){ return lslboost::math::cyl_neumann(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type \ cyl_neumann_prime(T1 v, T2 x){ return lslboost::math::cyl_neumann_prime(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type \ sph_neumann(unsigned v, T x){ return lslboost::math::sph_neumann(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type \ sph_neumann_prime(unsigned v, T x){ return lslboost::math::sph_neumann_prime(v, x, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type cyl_bessel_j_zero(T v, int m)\ { return lslboost::math::cyl_bessel_j_zero(v, m, Policy()); }\ \ template \ inline void cyl_bessel_j_zero(T v,\ int start_index,\ unsigned number_of_zeros,\ OutputIterator out_it)\ { lslboost::math::cyl_bessel_j_zero(v, start_index, number_of_zeros, out_it, Policy()); }\ \ template \ inline typename lslboost::math::detail::bessel_traits::result_type cyl_neumann_zero(T v, int m)\ { return lslboost::math::cyl_neumann_zero(v, m, Policy()); }\ \ template \ inline void cyl_neumann_zero(T v,\ int start_index,\ unsigned number_of_zeros,\ OutputIterator out_it)\ { lslboost::math::cyl_neumann_zero(v, start_index, number_of_zeros, out_it, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type sin_pi(T x){ return lslboost::math::sin_pi(x); }\ \ template \ inline typename lslboost::math::tools::promote_args::type cos_pi(T x){ return lslboost::math::cos_pi(x); }\ \ using lslboost::math::fpclassify;\ using lslboost::math::isfinite;\ using lslboost::math::isinf;\ using lslboost::math::isnan;\ using lslboost::math::isnormal;\ using lslboost::math::signbit;\ using lslboost::math::sign;\ using lslboost::math::copysign;\ using lslboost::math::changesign;\ \ template \ inline typename lslboost::math::tools::promote_args::type expint(T const& z, U const& u)\ { return lslboost::math::expint(z, u, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type expint(T z){ return lslboost::math::expint(z, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type zeta(T s){ return lslboost::math::zeta(s, Policy()); }\ \ template \ inline T round(const T& v){ using lslboost::math::round; return round(v, Policy()); }\ \ template \ inline int iround(const T& v){ using lslboost::math::iround; return iround(v, Policy()); }\ \ template \ inline long lround(const T& v){ using lslboost::math::lround; return lround(v, Policy()); }\ \ template \ inline T trunc(const T& v){ using lslboost::math::trunc; return trunc(v, Policy()); }\ \ template \ inline int itrunc(const T& v){ using lslboost::math::itrunc; return itrunc(v, Policy()); }\ \ template \ inline long ltrunc(const T& v){ using lslboost::math::ltrunc; return ltrunc(v, Policy()); }\ \ template \ inline T modf(const T& v, T* ipart){ using lslboost::math::modf; return modf(v, ipart, Policy()); }\ \ template \ inline T modf(const T& v, int* ipart){ using lslboost::math::modf; return modf(v, ipart, Policy()); }\ \ template \ inline T modf(const T& v, long* ipart){ using lslboost::math::modf; return modf(v, ipart, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type pow(T v){ return lslboost::math::pow(v, Policy()); }\ \ template T nextafter(const T& a, const T& b){ return lslboost::math::nextafter(a, b, Policy()); }\ template T float_next(const T& a){ return lslboost::math::float_next(a, Policy()); }\ template T float_prior(const T& a){ return lslboost::math::float_prior(a, Policy()); }\ template T float_distance(const T& a, const T& b){ return lslboost::math::float_distance(a, b, Policy()); }\ template T ulp(const T& a){ return lslboost::math::ulp(a, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type owens_t(RT1 a, RT2 z){ return lslboost::math::owens_t(a, z, Policy()); }\ \ template \ inline std::complex::result_type> cyl_hankel_1(T1 v, T2 x)\ { return lslboost::math::cyl_hankel_1(v, x, Policy()); }\ \ template \ inline std::complex::result_type> cyl_hankel_2(T1 v, T2 x)\ { return lslboost::math::cyl_hankel_2(v, x, Policy()); }\ \ template \ inline std::complex::result_type> sph_hankel_1(T1 v, T2 x)\ { return lslboost::math::sph_hankel_1(v, x, Policy()); }\ \ template \ inline std::complex::result_type> sph_hankel_2(T1 v, T2 x)\ { return lslboost::math::sph_hankel_2(v, x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_elliptic(T k, T theta, T* pcn, T* pdn)\ { return lslboost::math::jacobi_elliptic(k, theta, pcn, pdn, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_sn(U k, T theta)\ { return lslboost::math::jacobi_sn(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_cn(T k, U theta)\ { return lslboost::math::jacobi_cn(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_dn(T k, U theta)\ { return lslboost::math::jacobi_dn(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_cd(T k, U theta)\ { return lslboost::math::jacobi_cd(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_dc(T k, U theta)\ { return lslboost::math::jacobi_dc(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_ns(T k, U theta)\ { return lslboost::math::jacobi_ns(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_sd(T k, U theta)\ { return lslboost::math::jacobi_sd(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_ds(T k, U theta)\ { return lslboost::math::jacobi_ds(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_nc(T k, U theta)\ { return lslboost::math::jacobi_nc(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_nd(T k, U theta)\ { return lslboost::math::jacobi_nd(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_sc(T k, U theta)\ { return lslboost::math::jacobi_sc(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type jacobi_cs(T k, U theta)\ { return lslboost::math::jacobi_cs(k, theta, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type airy_ai(T x)\ { return lslboost::math::airy_ai(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type airy_bi(T x)\ { return lslboost::math::airy_bi(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type airy_ai_prime(T x)\ { return lslboost::math::airy_ai_prime(x, Policy()); }\ \ template \ inline typename lslboost::math::tools::promote_args::type airy_bi_prime(T x)\ { return lslboost::math::airy_bi_prime(x, Policy()); }\ \ template \ inline T airy_ai_zero(int m)\ { return lslboost::math::airy_ai_zero(m, Policy()); }\ template \ OutputIterator airy_ai_zero(int start_index, unsigned number_of_zeros, OutputIterator out_it)\ { return lslboost::math::airy_ai_zero(start_index, number_of_zeros, out_it, Policy()); }\ \ template \ inline T airy_bi_zero(int m)\ { return lslboost::math::airy_bi_zero(m, Policy()); }\ template \ OutputIterator airy_bi_zero(int start_index, unsigned number_of_zeros, OutputIterator out_it)\ { return lslboost::math::airy_bi_zero(start_index, number_of_zeros, out_it, Policy()); }\ \ template \ T bernoulli_b2n(const int i)\ { return lslboost::math::bernoulli_b2n(i, Policy()); }\ template \ OutputIterator bernoulli_b2n(int start_index, unsigned number_of_bernoullis_b2n, OutputIterator out_it)\ { return lslboost::math::bernoulli_b2n(start_index, number_of_bernoullis_b2n, out_it, Policy()); }\ \ template \ T tangent_t2n(const int i)\ { return lslboost::math::tangent_t2n(i, Policy()); }\ template \ OutputIterator tangent_t2n(int start_index, unsigned number_of_bernoullis_b2n, OutputIterator out_it)\ { return lslboost::math::tangent_t2n(start_index, number_of_bernoullis_b2n, out_it, Policy()); }\ \ template inline typename lslboost::math::tools::promote_args::type lambert_w0(T z) { return lslboost::math::lambert_w0(z, Policy()); }\ template inline typename lslboost::math::tools::promote_args::type lambert_wm1(T z) { return lslboost::math::lambert_w0(z, Policy()); }\ template inline typename lslboost::math::tools::promote_args::type lambert_w0_prime(T z) { return lslboost::math::lambert_w0(z, Policy()); }\ template inline typename lslboost::math::tools::promote_args::type lambert_wm1_prime(T z) { return lslboost::math::lambert_w0(z, Policy()); }\ \ #endif // BOOST_MATH_SPECIAL_MATH_FWD_HPP