C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
l_cmath.hpp
1 /*
2 ** CXSC is a C++ library for eXtended Scientific Computing (V 2.5.4)
3 **
4 ** Copyright (C) 1990-2000 Institut fuer Angewandte Mathematik,
5 ** Universitaet Karlsruhe, Germany
6 ** (C) 2000-2014 Wiss. Rechnen/Softwaretechnologie
7 ** Universitaet Wuppertal, Germany
8 **
9 ** This library is free software; you can redistribute it and/or
10 ** modify it under the terms of the GNU Library General Public
11 ** License as published by the Free Software Foundation; either
12 ** version 2 of the License, or (at your option) any later version.
13 **
14 ** This library is distributed in the hope that it will be useful,
15 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 ** Library General Public License for more details.
18 **
19 ** You should have received a copy of the GNU Library General Public
20 ** License along with this library; if not, write to the Free
21 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */
23 
24 /* CVS $Id: l_cmath.hpp,v 1.13 2014/01/30 17:23:46 cxsc Exp $ */
25 
26 #ifndef _CXSC_L_CMATH_HPP_INCLUDED
27 #define _CXSC_L_CMATH_HPP_INCLUDED
28 
29 #include <l_cimath.hpp>
30 
31 namespace cxsc {
32 
34 inline l_complex sqr (const l_complex&) throw();
36 l_complex sqrt(const l_complex&) throw();
38 l_complex sqrtp1m1(const l_complex&) throw();
40 l_complex sqrt1px2(const l_complex&) throw();
42 l_complex sqrtx2m1(const l_complex&) throw();
44 l_complex sqrt1mx2(const l_complex&) throw();
46 l_complex exp(const l_complex&) throw();
48 l_complex expm1(const l_complex&) throw();
50 l_complex exp2(const l_complex&) throw();
52 l_complex exp10(const l_complex&) throw();
54 l_complex sin(const l_complex&) throw();
56 l_complex cos(const l_complex&) throw();
58 l_complex tan(const l_complex&) throw();
60 l_complex cot(const l_complex&) throw();
62 l_complex asin(const l_complex&) throw();
64 l_complex acos(const l_complex&) throw();
66 l_complex atan(const l_complex&) throw();
68 l_complex acot(const l_complex&) throw();
70 l_complex sinh(const l_complex&) throw();
72 l_complex cosh(const l_complex&) throw();
74 l_complex tanh(const l_complex&) throw();
76 l_complex coth(const l_complex&) throw();
78 l_complex asinh(const l_complex&) throw();
80 l_complex acosh(const l_complex&) throw();
82 l_complex atanh(const l_complex&) throw();
84 l_complex acoth(const l_complex&) throw();
86 std::list<l_complex>sqrt_all(const l_complex&);
88 l_complex sqrt(const l_complex&, int) throw();
90 l_real arg(const l_complex&) throw();
92 l_real Arg(const l_complex&) throw();
94 std::list<l_complex>sqrt_all(const l_complex&, int);
96 l_complex ln(const l_complex&) throw();
98 l_complex lnp1(const l_complex&) throw();
100 l_complex log2(const l_complex&) throw();
102 l_complex log10(const l_complex&) throw();
104 l_complex power(const l_complex&, int) throw();
106 l_complex power_fast(const l_complex&, int) throw();
108 l_complex pow(const l_complex&, const l_real&) throw();
110 l_complex pow(const l_complex&, const l_complex&) throw();
111 
112 } // namespace cxsc
113 
114 #include "l_cmath.inl"
115 #endif // _CXSC_L_CMATH_HPP_INCLUDED
cxsc::ln
cinterval ln(const cinterval &z)
Calculates .
Definition: cimath.cpp:851
cxsc::power_fast
cinterval power_fast(const cinterval &z, int n)
Calculates .
Definition: cimath.cpp:1520
cxsc::lnp1
cinterval lnp1(const cinterval &z)
Calculates .
Definition: cimath.cpp:867
cxsc::atan
cinterval atan(const cinterval &z)
Calculates .
Definition: cimath.cpp:2938
cxsc::exp10
cinterval exp10(const cinterval &z)
Calculates .
Definition: cimath.cpp:172
cxsc::sqrt_all
std::list< cinterval > sqrt_all(const cinterval &z)
Calculates and returns all possible solutions.
Definition: cimath.cpp:1176
cxsc::exp2
cinterval exp2(const cinterval &z)
Calculates .
Definition: cimath.cpp:167
cxsc::tanh
cinterval tanh(const cinterval &z)
Calculates .
Definition: cimath.cpp:565
cxsc::asin
cinterval asin(const cinterval &z)
Calculates .
Definition: cimath.cpp:2311
cxsc::sqrtx2m1
cinterval sqrtx2m1(const cinterval &z)
Calculates .
Definition: cimath.cpp:1109
cxsc::cosh
cinterval cosh(const cinterval &z)
Calculates .
Definition: cimath.cpp:223
cxsc::sqrt1px2
cinterval sqrt1px2(const cinterval &z)
Calculates .
Definition: cimath.cpp:1071
cxsc::tan
cinterval tan(const cinterval &z)
Calculates .
Definition: cimath.cpp:393
cxsc::acoth
cinterval acoth(const cinterval &z)
Calculates .
Definition: cimath.cpp:3330
cxsc::sinh
cinterval sinh(const cinterval &z)
Calculates .
Definition: cimath.cpp:231
cxsc::coth
cinterval coth(const cinterval &z)
Calculates .
Definition: cimath.cpp:578
cxsc::sqrtp1m1
cinterval sqrtp1m1(const cinterval &z)
Calculates .
Definition: cimath.cpp:1054
cxsc::log2
cinterval log2(const cinterval &z)
Calculates .
Definition: cimath.cpp:898
cxsc::sqrt
cinterval sqrt(const cinterval &z)
Calculates .
Definition: cimath.cpp:1007
cxsc::sqrt1mx2
cinterval sqrt1mx2(const cinterval &z)
Calculates .
Definition: cimath.cpp:1140
cxsc::pow
cinterval pow(const cinterval &z, const interval &p)
Calculates .
Definition: cimath.cpp:2074
cxsc::acosh
cinterval acosh(const cinterval &z)
Calculates .
Definition: cimath.cpp:2732
cxsc::Arg
interval Arg(const cinterval &z)
Calculates .
Definition: cimath.cpp:654
cxsc::power
cinterval power(const cinterval &z, int n)
Calculates .
Definition: cimath.cpp:1941
cxsc::cos
cinterval cos(const cinterval &z)
Calculates .
Definition: cimath.cpp:207
cxsc::acot
cinterval acot(const cinterval &z)
Calculates .
Definition: cimath.cpp:3130
cxsc
The namespace cxsc, providing all functionality of the class library C-XSC.
Definition: cdot.cpp:29
cxsc::sqr
cinterval sqr(const cinterval &z)
Calculates .
Definition: cimath.cpp:3342
cxsc::sin
cinterval sin(const cinterval &z)
Calculates .
Definition: cimath.cpp:215
cxsc::cot
cinterval cot(const cinterval &z)
Calculates .
Definition: cimath.cpp:538
cxsc::arg
interval arg(const cinterval &z)
Calculates .
Definition: cimath.cpp:741
cxsc::expm1
cinterval expm1(const cinterval &z)
Calculates .
Definition: cimath.cpp:177
cxsc::acos
cinterval acos(const cinterval &z)
Calculates .
Definition: cimath.cpp:2553
cxsc::exp
cinterval exp(const cinterval &z)
Calculates .
Definition: cimath.cpp:159
cxsc::atanh
cinterval atanh(const cinterval &z)
Calculates .
Definition: cimath.cpp:3317
cxsc::log10
cinterval log10(const cinterval &z)
Calculates .
Definition: cimath.cpp:903
cxsc::asinh
cinterval asinh(const cinterval &z)
Calculates .
Definition: cimath.cpp:2718