C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
00001 /* 00002 ** CXSC is a C++ library for eXtended Scientific Computing (V 2.5.4) 00003 ** 00004 ** Copyright (C) 1990-2000 Institut fuer Angewandte Mathematik, 00005 ** Universitaet Karlsruhe, Germany 00006 ** (C) 2000-2014 Wiss. Rechnen/Softwaretechnologie 00007 ** Universitaet Wuppertal, Germany 00008 ** 00009 ** This library is free software; you can redistribute it and/or 00010 ** modify it under the terms of the GNU Library General Public 00011 ** License as published by the Free Software Foundation; either 00012 ** version 2 of the License, or (at your option) any later version. 00013 ** 00014 ** This library is distributed in the hope that it will be useful, 00015 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 ** Library General Public License for more details. 00018 ** 00019 ** You should have received a copy of the GNU Library General Public 00020 ** License along with this library; if not, write to the Free 00021 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 */ 00023 00024 /* CVS $Id: l_cmath.hpp,v 1.13 2014/01/30 17:23:46 cxsc Exp $ */ 00025 00026 #ifndef _CXSC_L_CMATH_HPP_INCLUDED 00027 #define _CXSC_L_CMATH_HPP_INCLUDED 00028 00029 #include <l_cimath.hpp> 00030 00031 namespace cxsc { 00032 00034 inline l_complex sqr (const l_complex&) throw(); 00036 l_complex sqrt(const l_complex&) throw(); 00038 l_complex sqrtp1m1(const l_complex&) throw(); 00040 l_complex sqrt1px2(const l_complex&) throw(); 00042 l_complex sqrtx2m1(const l_complex&) throw(); 00044 l_complex sqrt1mx2(const l_complex&) throw(); 00046 l_complex exp(const l_complex&) throw(); 00048 l_complex expm1(const l_complex&) throw(); 00050 l_complex exp2(const l_complex&) throw(); 00052 l_complex exp10(const l_complex&) throw(); 00054 l_complex sin(const l_complex&) throw(); 00056 l_complex cos(const l_complex&) throw(); 00058 l_complex tan(const l_complex&) throw(); 00060 l_complex cot(const l_complex&) throw(); 00062 l_complex asin(const l_complex&) throw(); 00064 l_complex acos(const l_complex&) throw(); 00066 l_complex atan(const l_complex&) throw(); 00068 l_complex acot(const l_complex&) throw(); 00070 l_complex sinh(const l_complex&) throw(); 00072 l_complex cosh(const l_complex&) throw(); 00074 l_complex tanh(const l_complex&) throw(); 00076 l_complex coth(const l_complex&) throw(); 00078 l_complex asinh(const l_complex&) throw(); 00080 l_complex acosh(const l_complex&) throw(); 00082 l_complex atanh(const l_complex&) throw(); 00084 l_complex acoth(const l_complex&) throw(); 00086 std::list<l_complex>sqrt_all(const l_complex&); 00088 l_complex sqrt(const l_complex&, int) throw(); 00090 l_real arg(const l_complex&) throw(); 00092 l_real Arg(const l_complex&) throw(); 00094 std::list<l_complex>sqrt_all(const l_complex&, int); 00096 l_complex ln(const l_complex&) throw(); 00098 l_complex lnp1(const l_complex&) throw(); 00100 l_complex log2(const l_complex&) throw(); 00102 l_complex log10(const l_complex&) throw(); 00104 l_complex power(const l_complex&, int) throw(); 00106 l_complex power_fast(const l_complex&, int) throw(); 00108 l_complex pow(const l_complex&, const l_real&) throw(); 00110 l_complex pow(const l_complex&, const l_complex&) throw(); 00111 00112 } // namespace cxsc 00113 00114 #include "l_cmath.inl" 00115 #endif // _CXSC_L_CMATH_HPP_INCLUDED