diff options
Diffstat (limited to 'boost/math/special_functions/math_fwd.hpp')
-rw-r--r-- | boost/math/special_functions/math_fwd.hpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/boost/math/special_functions/math_fwd.hpp b/boost/math/special_functions/math_fwd.hpp index 9becef9f6d..03c55bd1a4 100644 --- a/boost/math/special_functions/math_fwd.hpp +++ b/boost/math/special_functions/math_fwd.hpp @@ -263,6 +263,30 @@ namespace boost typename tools::promote_args<T1, T2, T3>::type hermite_next(unsigned n, T1 x, T2 Hn, T3 Hnm1); + template<class T1, class T2, class T3> + typename tools::promote_args<T1, T2, T3>::type chebyshev_next(T1 const & x, T2 const & Tn, T3 const & Tn_1); + + template <class Real, class Policy> + typename tools::promote_args<Real>::type + chebyshev_t(unsigned n, Real const & x, const Policy&); + template<class Real> + typename tools::promote_args<Real>::type chebyshev_t(unsigned n, Real const & x); + + template <class Real, class Policy> + typename tools::promote_args<Real>::type + chebyshev_u(unsigned n, Real const & x, const Policy&); + template<class Real> + typename tools::promote_args<Real>::type chebyshev_u(unsigned n, Real const & x); + + template <class Real, class Policy> + typename tools::promote_args<Real>::type + chebyshev_t_prime(unsigned n, Real const & x, const Policy&); + template<class Real> + typename tools::promote_args<Real>::type chebyshev_t_prime(unsigned n, Real const & x); + + template<class Real, class T2> + Real chebyshev_clenshaw_recurrence(const Real* const c, size_t length, const T2& x); + template <class T1, class T2> std::complex<typename tools::promote_args<T1, T2>::type> spherical_harmonic(unsigned n, int m, T1 theta, T2 phi); @@ -1190,6 +1214,19 @@ namespace boost \ using boost::math::hermite_next;\ \ + using boost::math::chebyshev_next;\ +\ + template<class Real>\ + Real chebyshev_t(unsigned n, Real const & x){ return ::boost::math::chebyshev_t(n, x, Policy()); }\ +\ + template<class Real>\ + Real chebyshev_u(unsigned n, Real const & x){ return ::boost::math::chebyshev_u(n, x, Policy()); }\ +\ + template<class Real>\ + Real chebyshev_t_prime(unsigned n, Real const & x){ return ::boost::math::chebyshev_t_prime(n, x, Policy()); }\ +\ + using ::boost::math::chebyshev_clenshaw_recurrence;\ +\ template <class T1, class T2>\ inline std::complex<typename boost::math::tools::promote_args<T1, T2>::type> \ spherical_harmonic(unsigned n, int m, T1 theta, T2 phi){ return boost::math::spherical_harmonic(n, m, theta, phi, Policy()); }\ |