imgtools/imglib/boostlibrary/boost/tr1/cmath.hpp
changeset 607 378360dbbdba
parent 600 6d08f4a05d93
equal deleted inserted replaced
591:22486c9c7b15 607:378360dbbdba
       
     1 //  (C) Copyright John Maddock 2008.
       
     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)
       
     5 
       
     6 #ifndef BOOST_TR1_CMATH_HPP_INCLUDED
       
     7 #  define BOOST_TR1_CMATH_HPP_INCLUDED
       
     8 #  include <boost/tr1/detail/config.hpp>
       
     9 
       
    10 #ifdef BOOST_HAS_TR1_CMATH
       
    11 
       
    12 #  ifdef BOOST_HAS_INCLUDE_NEXT
       
    13 #     include_next BOOST_TR1_HEADER(cmath)
       
    14 #  else
       
    15 #     include <boost/tr1/detail/config_all.hpp>
       
    16 #     include BOOST_TR1_HEADER(cmath)
       
    17 #  endif
       
    18 
       
    19 #else
       
    20 
       
    21 #include <boost/math/tr1.hpp>
       
    22 
       
    23 namespace std{ namespace tr1{
       
    24 
       
    25 using boost::math::tr1::assoc_laguerre;
       
    26 using boost::math::tr1::assoc_laguerref;
       
    27 using boost::math::tr1::assoc_laguerrel;
       
    28 // [5.2.1.2] associated Legendre functions:
       
    29 using boost::math::tr1::assoc_legendre;
       
    30 using boost::math::tr1::assoc_legendref;
       
    31 using boost::math::tr1::assoc_legendrel;
       
    32 // [5.2.1.3] beta function:
       
    33 using boost::math::tr1::beta;
       
    34 using boost::math::tr1::betaf;
       
    35 using boost::math::tr1::betal;
       
    36 // [5.2.1.4] (complete) elliptic integral of the first kind:
       
    37 using boost::math::tr1::comp_ellint_1;
       
    38 using boost::math::tr1::comp_ellint_1f;
       
    39 using boost::math::tr1::comp_ellint_1l;
       
    40 // [5.2.1.5] (complete) elliptic integral of the second kind:
       
    41 using boost::math::tr1::comp_ellint_2;
       
    42 using boost::math::tr1::comp_ellint_2f;
       
    43 using boost::math::tr1::comp_ellint_2l;
       
    44 // [5.2.1.6] (complete) elliptic integral of the third kind:
       
    45 using boost::math::tr1::comp_ellint_3;
       
    46 using boost::math::tr1::comp_ellint_3f;
       
    47 using boost::math::tr1::comp_ellint_3l;
       
    48 #if 0
       
    49 // [5.2.1.7] confluent hypergeometric functions:
       
    50 using boost::math::tr1::conf_hyperg;
       
    51 using boost::math::tr1::conf_hypergf;
       
    52 using boost::math::tr1::conf_hypergl;
       
    53 #endif
       
    54 // [5.2.1.8] regular modified cylindrical Bessel functions:
       
    55 using boost::math::tr1::cyl_bessel_i;
       
    56 using boost::math::tr1::cyl_bessel_if;
       
    57 using boost::math::tr1::cyl_bessel_il;
       
    58 // [5.2.1.9] cylindrical Bessel functions (of the first kind):
       
    59 using boost::math::tr1::cyl_bessel_j;
       
    60 using boost::math::tr1::cyl_bessel_jf;
       
    61 using boost::math::tr1::cyl_bessel_jl;
       
    62 // [5.2.1.10] irregular modified cylindrical Bessel functions:
       
    63 using boost::math::tr1::cyl_bessel_k;
       
    64 using boost::math::tr1::cyl_bessel_kf;
       
    65 using boost::math::tr1::cyl_bessel_kl;
       
    66 // [5.2.1.11] cylindrical Neumann functions;
       
    67 // cylindrical Bessel functions (of the second kind):
       
    68 using boost::math::tr1::cyl_neumann;
       
    69 using boost::math::tr1::cyl_neumannf;
       
    70 using boost::math::tr1::cyl_neumannl;
       
    71 // [5.2.1.12] (incomplete) elliptic integral of the first kind:
       
    72 using boost::math::tr1::ellint_1;
       
    73 using boost::math::tr1::ellint_1f;
       
    74 using boost::math::tr1::ellint_1l;
       
    75 // [5.2.1.13] (incomplete) elliptic integral of the second kind:
       
    76 using boost::math::tr1::ellint_2;
       
    77 using boost::math::tr1::ellint_2f;
       
    78 using boost::math::tr1::ellint_2l;
       
    79 // [5.2.1.14] (incomplete) elliptic integral of the third kind:
       
    80 using boost::math::tr1::ellint_3;
       
    81 using boost::math::tr1::ellint_3f;
       
    82 using boost::math::tr1::ellint_3l;
       
    83 // [5.2.1.15] exponential integral:
       
    84 using boost::math::tr1::expint;
       
    85 using boost::math::tr1::expintf;
       
    86 using boost::math::tr1::expintl;
       
    87 // [5.2.1.16] Hermite polynomials:
       
    88 using boost::math::tr1::hermite;
       
    89 using boost::math::tr1::hermitef;
       
    90 using boost::math::tr1::hermitel;
       
    91 #if 0
       
    92 // [5.2.1.17] hypergeometric functions:
       
    93 using boost::math::tr1::hyperg;
       
    94 using boost::math::tr1::hypergf;
       
    95 using boost::math::tr1::hypergl;
       
    96 #endif
       
    97 // [5.2.1.18] Laguerre polynomials:
       
    98 using boost::math::tr1::laguerre;
       
    99 using boost::math::tr1::laguerref;
       
   100 using boost::math::tr1::laguerrel;
       
   101 // [5.2.1.19] Legendre polynomials:
       
   102 using boost::math::tr1::legendre;
       
   103 using boost::math::tr1::legendref;
       
   104 using boost::math::tr1::legendrel;
       
   105 // [5.2.1.20] Riemann zeta function:
       
   106 using boost::math::tr1::riemann_zeta;
       
   107 using boost::math::tr1::riemann_zetaf;
       
   108 using boost::math::tr1::riemann_zetal;
       
   109 // [5.2.1.21] spherical Bessel functions (of the first kind):
       
   110 using boost::math::tr1::sph_bessel;
       
   111 using boost::math::tr1::sph_besself;
       
   112 using boost::math::tr1::sph_bessell;
       
   113 // [5.2.1.22] spherical associated Legendre functions:
       
   114 using boost::math::tr1::sph_legendre;
       
   115 using boost::math::tr1::sph_legendref;
       
   116 using boost::math::tr1::sph_legendrel;
       
   117 // [5.2.1.23] spherical Neumann functions;
       
   118 // spherical Bessel functions (of the second kind):
       
   119 using boost::math::tr1::sph_neumann;
       
   120 using boost::math::tr1::sph_neumannf;
       
   121 using boost::math::tr1::sph_neumannl;
       
   122 
       
   123 // types
       
   124 using boost::math::tr1::double_t;
       
   125 using boost::math::tr1::float_t;
       
   126 // functions
       
   127 using boost::math::tr1::acosh;
       
   128 using boost::math::tr1::acoshf;
       
   129 using boost::math::tr1::acoshl;
       
   130 using boost::math::tr1::asinh;
       
   131 using boost::math::tr1::asinhf;
       
   132 using boost::math::tr1::asinhl;
       
   133 using boost::math::tr1::atanh;
       
   134 using boost::math::tr1::atanhf;
       
   135 using boost::math::tr1::atanhl;
       
   136 using boost::math::tr1::cbrt;
       
   137 using boost::math::tr1::cbrtf;
       
   138 using boost::math::tr1::cbrtl;
       
   139 using boost::math::tr1::copysign;
       
   140 using boost::math::tr1::copysignf;
       
   141 using boost::math::tr1::copysignl;
       
   142 using boost::math::tr1::erf;
       
   143 using boost::math::tr1::erff;
       
   144 using boost::math::tr1::erfl;
       
   145 using boost::math::tr1::erfc;
       
   146 using boost::math::tr1::erfcf;
       
   147 using boost::math::tr1::erfcl;
       
   148 #if 0
       
   149 using boost::math::tr1::exp2;
       
   150 using boost::math::tr1::exp2f;
       
   151 using boost::math::tr1::exp2l;
       
   152 #endif
       
   153 using boost::math::tr1::expm1;
       
   154 using boost::math::tr1::expm1f;
       
   155 using boost::math::tr1::expm1l;
       
   156 #if 0
       
   157 using boost::math::tr1::fdim;
       
   158 using boost::math::tr1::fdimf;
       
   159 using boost::math::tr1::fdiml;
       
   160 using boost::math::tr1::fma;
       
   161 using boost::math::tr1::fmaf;
       
   162 using boost::math::tr1::fmal;
       
   163 #endif
       
   164 using boost::math::tr1::fmax;
       
   165 using boost::math::tr1::fmaxf;
       
   166 using boost::math::tr1::fmaxl;
       
   167 using boost::math::tr1::fmin;
       
   168 using boost::math::tr1::fminf;
       
   169 using boost::math::tr1::fminl;
       
   170 using boost::math::tr1::hypot;
       
   171 using boost::math::tr1::hypotf;
       
   172 using boost::math::tr1::hypotl;
       
   173 #if 0
       
   174 using boost::math::tr1::ilogb;
       
   175 using boost::math::tr1::ilogbf;
       
   176 using boost::math::tr1::ilogbl;
       
   177 #endif
       
   178 using boost::math::tr1::lgamma;
       
   179 using boost::math::tr1::lgammaf;
       
   180 using boost::math::tr1::lgammal;
       
   181 #if 0
       
   182 using boost::math::tr1::llrint;
       
   183 using boost::math::tr1::llrintf;
       
   184 using boost::math::tr1::llrintl;
       
   185 #endif
       
   186 using boost::math::tr1::llround;
       
   187 using boost::math::tr1::llroundf;
       
   188 using boost::math::tr1::llroundl;
       
   189 using boost::math::tr1::log1p;
       
   190 using boost::math::tr1::log1pf;
       
   191 using boost::math::tr1::log1pl;
       
   192 #if 0
       
   193 using boost::math::tr1::log2;
       
   194 using boost::math::tr1::log2f;
       
   195 using boost::math::tr1::log2l;
       
   196 using boost::math::tr1::logb;
       
   197 using boost::math::tr1::logbf;
       
   198 using boost::math::tr1::logbl;
       
   199 using boost::math::tr1::lrint;
       
   200 using boost::math::tr1::lrintf;
       
   201 using boost::math::tr1::lrintl;
       
   202 #endif
       
   203 using boost::math::tr1::lround;
       
   204 using boost::math::tr1::lroundf;
       
   205 using boost::math::tr1::lroundl;
       
   206 #if 0
       
   207 using boost::math::tr1::nan;
       
   208 using boost::math::tr1::nanf;
       
   209 using boost::math::tr1::nanl;
       
   210 using boost::math::tr1::nearbyint;
       
   211 using boost::math::tr1::nearbyintf;
       
   212 using boost::math::tr1::nearbyintl;
       
   213 #endif
       
   214 using boost::math::tr1::nextafter;
       
   215 using boost::math::tr1::nextafterf;
       
   216 using boost::math::tr1::nextafterl;
       
   217 using boost::math::tr1::nexttoward;
       
   218 using boost::math::tr1::nexttowardf;
       
   219 using boost::math::tr1::nexttowardl;
       
   220 #if 0
       
   221 using boost::math::tr1::remainder;
       
   222 using boost::math::tr1::remainderf;
       
   223 using boost::math::tr1::remainderl;
       
   224 using boost::math::tr1::remquo;
       
   225 using boost::math::tr1::remquof;
       
   226 using boost::math::tr1::remquol;
       
   227 using boost::math::tr1::rint;
       
   228 using boost::math::tr1::rintf;
       
   229 using boost::math::tr1::rintl;
       
   230 #endif
       
   231 using boost::math::tr1::round;
       
   232 using boost::math::tr1::roundf;
       
   233 using boost::math::tr1::roundl;
       
   234 #if 0
       
   235 using boost::math::tr1::scalbln;
       
   236 using boost::math::tr1::scalblnf;
       
   237 using boost::math::tr1::scalblnl;
       
   238 using boost::math::tr1::scalbn;
       
   239 using boost::math::tr1::scalbnf;
       
   240 using boost::math::tr1::scalbnl;
       
   241 #endif
       
   242 using boost::math::tr1::tgamma;
       
   243 using boost::math::tr1::tgammaf;
       
   244 using boost::math::tr1::tgammal;
       
   245 using boost::math::tr1::trunc;
       
   246 using boost::math::tr1::truncf;
       
   247 using boost::math::tr1::truncl;
       
   248 // C99 macros defined as C++ templates
       
   249 using boost::math::tr1::signbit;
       
   250 using boost::math::tr1::fpclassify;
       
   251 using boost::math::tr1::isfinite;
       
   252 using boost::math::tr1::isinf;
       
   253 using boost::math::tr1::isnan;
       
   254 using boost::math::tr1::isnormal;
       
   255 #if 0
       
   256 using boost::math::tr1::isgreater;
       
   257 using boost::math::tr1::isgreaterequal;
       
   258 using boost::math::tr1::isless;
       
   259 using boost::math::tr1::islessequal;
       
   260 using boost::math::tr1::islessgreater;
       
   261 using boost::math::tr1::isunordered;
       
   262 #endif
       
   263 } } // namespaces
       
   264 
       
   265 #endif // BOOST_HAS_TR1_CMATH
       
   266 
       
   267 #endif // BOOST_TR1_CMATH_HPP_INCLUDED