1951a39d68df598db08dfced8b4707755864a0492Ying Wang// TR1 math.h -*- C++ -*- 2951a39d68df598db08dfced8b4707755864a0492Ying Wang 3951a39d68df598db08dfced8b4707755864a0492Ying Wang// Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc. 4951a39d68df598db08dfced8b4707755864a0492Ying Wang// 5951a39d68df598db08dfced8b4707755864a0492Ying Wang// This file is part of the GNU ISO C++ Library. This library is free 6951a39d68df598db08dfced8b4707755864a0492Ying Wang// software; you can redistribute it and/or modify it under the 7951a39d68df598db08dfced8b4707755864a0492Ying Wang// terms of the GNU General Public License as published by the 8951a39d68df598db08dfced8b4707755864a0492Ying Wang// Free Software Foundation; either version 3, or (at your option) 9951a39d68df598db08dfced8b4707755864a0492Ying Wang// any later version. 10951a39d68df598db08dfced8b4707755864a0492Ying Wang 11951a39d68df598db08dfced8b4707755864a0492Ying Wang// This library is distributed in the hope that it will be useful, 12951a39d68df598db08dfced8b4707755864a0492Ying Wang// but WITHOUT ANY WARRANTY; without even the implied warranty of 13951a39d68df598db08dfced8b4707755864a0492Ying Wang// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14951a39d68df598db08dfced8b4707755864a0492Ying Wang// GNU General Public License for more details. 15951a39d68df598db08dfced8b4707755864a0492Ying Wang 16951a39d68df598db08dfced8b4707755864a0492Ying Wang// Under Section 7 of GPL version 3, you are granted additional 17951a39d68df598db08dfced8b4707755864a0492Ying Wang// permissions described in the GCC Runtime Library Exception, version 18951a39d68df598db08dfced8b4707755864a0492Ying Wang// 3.1, as published by the Free Software Foundation. 19951a39d68df598db08dfced8b4707755864a0492Ying Wang 20951a39d68df598db08dfced8b4707755864a0492Ying Wang// You should have received a copy of the GNU General Public License and 21951a39d68df598db08dfced8b4707755864a0492Ying Wang// a copy of the GCC Runtime Library Exception along with this program; 22951a39d68df598db08dfced8b4707755864a0492Ying Wang// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 23951a39d68df598db08dfced8b4707755864a0492Ying Wang// <http://www.gnu.org/licenses/>. 24951a39d68df598db08dfced8b4707755864a0492Ying Wang 25951a39d68df598db08dfced8b4707755864a0492Ying Wang/** @file tr1/math.h 26951a39d68df598db08dfced8b4707755864a0492Ying Wang * This is a TR1 C++ Library header. 27951a39d68df598db08dfced8b4707755864a0492Ying Wang */ 28951a39d68df598db08dfced8b4707755864a0492Ying Wang 29951a39d68df598db08dfced8b4707755864a0492Ying Wang#ifndef _GLIBCXX_TR1_MATH_H 30951a39d68df598db08dfced8b4707755864a0492Ying Wang#define _GLIBCXX_TR1_MATH_H 1 31951a39d68df598db08dfced8b4707755864a0492Ying Wang 32951a39d68df598db08dfced8b4707755864a0492Ying Wang#include <tr1/cmath> 33951a39d68df598db08dfced8b4707755864a0492Ying Wang 34951a39d68df598db08dfced8b4707755864a0492Ying Wang#if _GLIBCXX_USE_C99_MATH_TR1 35951a39d68df598db08dfced8b4707755864a0492Ying Wang 36951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::acos; 37951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::acosh; 38951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::asin; 39951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::asinh; 40951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::atan; 41951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::atan2; 42951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::atanh; 43951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cbrt; 44951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ceil; 45951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::copysign; 46951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cos; 47951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cosh; 48951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::erf; 49951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::erfc; 50951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::exp; 51951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::exp2; 52951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::expm1; 53951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::fabs; 54951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::fdim; 55951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::floor; 56951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::fma; 57951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::fmax; 58951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::fmin; 59951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::fmod; 60951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::frexp; 61951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::hypot; 62951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ilogb; 63951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ldexp; 64951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::lgamma; 65951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::llrint; 66951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::llround; 67951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::log; 68951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::log10; 69951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::log1p; 70951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::log2; 71951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::logb; 72951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::lrint; 73951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::lround; 74951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::nearbyint; 75951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::nextafter; 76951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::nexttoward; 77951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::pow; 78951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::remainder; 79951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::remquo; 80951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::rint; 81951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::round; 82951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::scalbln; 83951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::scalbn; 84951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sin; 85951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sinh; 86951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sqrt; 87951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::tan; 88951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::tanh; 89951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::tgamma; 90951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::trunc; 91951a39d68df598db08dfced8b4707755864a0492Ying Wang 92951a39d68df598db08dfced8b4707755864a0492Ying Wang#endif 93951a39d68df598db08dfced8b4707755864a0492Ying Wang 94951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::assoc_laguerref; 95951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::assoc_laguerre; 96951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::assoc_laguerrel; 97951a39d68df598db08dfced8b4707755864a0492Ying Wang 98951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::assoc_legendref; 99951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::assoc_legendre; 100951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::assoc_legendrel; 101951a39d68df598db08dfced8b4707755864a0492Ying Wang 102951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::betaf; 103951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::beta; 104951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::betal; 105951a39d68df598db08dfced8b4707755864a0492Ying Wang 106951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_1f; 107951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_1; 108951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_1l; 109951a39d68df598db08dfced8b4707755864a0492Ying Wang 110951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_2f; 111951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_2; 112951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_2l; 113951a39d68df598db08dfced8b4707755864a0492Ying Wang 114951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_3f; 115951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_3; 116951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::comp_ellint_3l; 117951a39d68df598db08dfced8b4707755864a0492Ying Wang 118951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::conf_hypergf; 119951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::conf_hyperg; 120951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::conf_hypergl; 121951a39d68df598db08dfced8b4707755864a0492Ying Wang 122951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_if; 123951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_i; 124951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_il; 125951a39d68df598db08dfced8b4707755864a0492Ying Wang 126951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_jf; 127951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_j; 128951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_jl; 129951a39d68df598db08dfced8b4707755864a0492Ying Wang 130951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_kf; 131951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_k; 132951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_bessel_kl; 133951a39d68df598db08dfced8b4707755864a0492Ying Wang 134951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_neumannf; 135951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_neumann; 136951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::cyl_neumannl; 137951a39d68df598db08dfced8b4707755864a0492Ying Wang 138951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_1f; 139951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_1; 140951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_1l; 141951a39d68df598db08dfced8b4707755864a0492Ying Wang 142951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_2f; 143951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_2; 144951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_2l; 145951a39d68df598db08dfced8b4707755864a0492Ying Wang 146951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_3f; 147951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_3; 148951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::ellint_3l; 149951a39d68df598db08dfced8b4707755864a0492Ying Wang 150951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::expintf; 151951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::expint; 152951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::expintl; 153951a39d68df598db08dfced8b4707755864a0492Ying Wang 154951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::hermitef; 155951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::hermite; 156951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::hermitel; 157951a39d68df598db08dfced8b4707755864a0492Ying Wang 158951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::hypergf; 159951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::hyperg; 160951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::hypergl; 161951a39d68df598db08dfced8b4707755864a0492Ying Wang 162951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::laguerref; 163951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::laguerre; 164951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::laguerrel; 165951a39d68df598db08dfced8b4707755864a0492Ying Wang 166951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::legendref; 167951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::legendre; 168951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::legendrel; 169951a39d68df598db08dfced8b4707755864a0492Ying Wang 170951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::riemann_zetaf; 171951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::riemann_zeta; 172951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::riemann_zetal; 173951a39d68df598db08dfced8b4707755864a0492Ying Wang 174951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_besself; 175951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_bessel; 176951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_bessell; 177951a39d68df598db08dfced8b4707755864a0492Ying Wang 178951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_legendref; 179951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_legendre; 180951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_legendrel; 181951a39d68df598db08dfced8b4707755864a0492Ying Wang 182951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_neumannf; 183951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_neumann; 184951a39d68df598db08dfced8b4707755864a0492Ying Wangusing std::tr1::sph_neumannl; 185951a39d68df598db08dfced8b4707755864a0492Ying Wang 186951a39d68df598db08dfced8b4707755864a0492Ying Wang#endif // _GLIBCXX_TR1_MATH_H 187