Line data Source code
1 :
2 : #include "math/func/legendre.hpp"
3 :
4 : #include <boost/math/special_functions/legendre.hpp>
5 :
6 : namespace mx
7 : {
8 : namespace math
9 : {
10 : namespace func
11 : {
12 :
13 : template <>
14 0 : float legendre_p<float>( int n, float x )
15 : {
16 0 : return boost::math::legendre_p<float>( n, x );
17 : }
18 :
19 : template <>
20 0 : double legendre_p<double>( int n, double x )
21 : {
22 0 : return boost::math::legendre_p<double>( n, x );
23 : }
24 :
25 : template <>
26 0 : long double legendre_p<long double>( int n, long double x )
27 : {
28 0 : return boost::math::legendre_p<long double>( n, x );
29 : }
30 :
31 : #ifdef HASQUAD
32 : template <>
33 : __float128 legendre_p<__float128>( int n, __float128 x )
34 : {
35 : return boost::math::legendre_p<__float128>( n, x );
36 : }
37 : #endif
38 :
39 : } // namespace func
40 : } // namespace math
41 : } // namespace mx
|