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
cinterval sqrtx2m1(const cinterval &z)
Calculates .
Definition: cimath.cpp:1109
cinterval sqrt1px2(const cinterval &z)
Calculates .
Definition: cimath.cpp:1071
cinterval log2(const cinterval &z)
Calculates .
Definition: cimath.cpp:898
cinterval ln(const cinterval &z)
Calculates .
Definition: cimath.cpp:851
cinterval sin(const cinterval &z)
Calculates .
Definition: cimath.cpp:215
cinterval cot(const cinterval &z)
Calculates .
Definition: cimath.cpp:538
The namespace cxsc, providing all functionality of the class library C-XSC.
Definition: cdot.cpp:29
cinterval acot(const cinterval &z)
Calculates .
Definition: cimath.cpp:3130
cinterval atan(const cinterval &z)
Calculates .
Definition: cimath.cpp:2938
cinterval acos(const cinterval &z)
Calculates .
Definition: cimath.cpp:2553
cinterval sqr(const cinterval &z)
Calculates .
Definition: cimath.cpp:3342
cinterval expm1(const cinterval &z)
Calculates .
Definition: cimath.cpp:177
cinterval tanh(const cinterval &z)
Calculates .
Definition: cimath.cpp:565
cinterval asinh(const cinterval &z)
Calculates .
Definition: cimath.cpp:2718
cinterval log10(const cinterval &z)
Calculates .
Definition: cimath.cpp:903
cinterval sqrt1mx2(const cinterval &z)
Calculates .
Definition: cimath.cpp:1140
cinterval lnp1(const cinterval &z)
Calculates .
Definition: cimath.cpp:867
std::list< cinterval > sqrt_all(const cinterval &z)
Calculates and returns all possible solutions.
Definition: cimath.cpp:1176
cinterval sqrt(const cinterval &z)
Calculates .
Definition: cimath.cpp:1007
cinterval cos(const cinterval &z)
Calculates .
Definition: cimath.cpp:207
cinterval atanh(const cinterval &z)
Calculates .
Definition: cimath.cpp:3317
cinterval power_fast(const cinterval &z, int n)
Calculates .
Definition: cimath.cpp:1520
cinterval exp10(const cinterval &z)
Calculates .
Definition: cimath.cpp:172
cinterval sqrtp1m1(const cinterval &z)
Calculates .
Definition: cimath.cpp:1054
cinterval exp(const cinterval &z)
Calculates .
Definition: cimath.cpp:159
cinterval cosh(const cinterval &z)
Calculates .
Definition: cimath.cpp:223
cinterval tan(const cinterval &z)
Calculates .
Definition: cimath.cpp:393
cinterval sinh(const cinterval &z)
Calculates .
Definition: cimath.cpp:231
cinterval exp2(const cinterval &z)
Calculates .
Definition: cimath.cpp:167
interval Arg(const cinterval &z)
Calculates .
Definition: cimath.cpp:654
cinterval asin(const cinterval &z)
Calculates .
Definition: cimath.cpp:2311
cinterval acoth(const cinterval &z)
Calculates .
Definition: cimath.cpp:3330
cinterval coth(const cinterval &z)
Calculates .
Definition: cimath.cpp:578
cinterval pow(const cinterval &z, const interval &p)
Calculates .
Definition: cimath.cpp:2074
interval arg(const cinterval &z)
Calculates .
Definition: cimath.cpp:741
cinterval power(const cinterval &z, int n)
Calculates .
Definition: cimath.cpp:1941
cinterval acosh(const cinterval &z)
Calculates .
Definition: cimath.cpp:2732