1 // (C) Copyright John Maddock 2006.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef BOOST_MATH_TEST_ZETA_OTHER_HOOKS_HPP
7 #define BOOST_MATH_TEST_ZETA_OTHER_HOOKS_HPP
15 long double zetacl(long double);
17 inline float zeta(float a)
18 { return 1 + zetac(a); }
19 inline double zeta(double a)
20 { return 1 + zetac(a); }
21 inline long double zeta(long double a)
24 return 1 + zetac((double)a);
34 #include <gsl/gsl_sf_zeta.h>
37 inline float zeta(float a)
38 { return (float)gsl_sf_zeta(a); }
39 inline double zeta(double a)
40 { return gsl_sf_zeta(a); }
41 inline long double zeta(long double a)
42 { return gsl_sf_zeta(a); }
49 boost::math::concepts::real_concept zeta(boost::math::concepts::real_concept){ return 0; }