C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
l_cimath.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_cimath.hpp,v 1.18 2014/01/30 17:23:46 cxsc Exp $ */
25 
26 /*
27 **
28 ** File: l_cimath.hpp, 2007/03/04
29 **
30 ** Complex l_interval Standard functions LibrarY, Version 1.0
31 **
32 ** Copyright (C) Markus Neher, markus.neher@math.uni-karlsruhe.de
33 ** Ingo Eble, ingoeble@web.de
34 ** Frithjof Blomquist, Blomquist@math.uni-wuppertal.de
35 */
36 
37 
38 #ifndef _CXSC_L_CIMATH_HPP_INCLUDED
39 #define _CXSC_L_CIMATH_HPP_INCLUDED
40 
41 #include "l_cinterval.hpp"
42 #include <list>
43 #include <string>
44 
45 namespace cxsc{
46 
48  l_cinterval exp(const l_cinterval&) throw();
50  l_cinterval exp2(const l_cinterval&) throw();
52  l_cinterval exp10(const l_cinterval&) throw();
54  l_cinterval expm1(const l_cinterval&) throw();
56  l_cinterval cos(const l_cinterval&) throw();
58  l_cinterval sin(const l_cinterval&) throw();
60  l_cinterval cosh(const l_cinterval&) throw();
62  l_cinterval sinh(const l_cinterval&) throw();
63 
65  l_cinterval sqr(const l_cinterval&) throw();
66 
68  l_cinterval tan(const l_cinterval&) throw();
70  l_cinterval cot(const l_cinterval&) throw();
72  l_cinterval tanh(const l_cinterval&) throw();
74  l_cinterval coth(const l_cinterval&) throw();
75 
76  // l_interval Atan(const l_interval& y, const l_interval& x) throw();
77 
79  l_interval arg(const l_cinterval&) throw();
80  l_interval arg_inclmon(const l_cinterval&) throw();
82  l_interval Arg(const l_cinterval&) throw();
83 
85  l_cinterval Ln(const l_cinterval&) throw();
87  l_cinterval ln(const l_cinterval&) throw();
89  l_cinterval lnp1(const l_cinterval&) throw();
91  l_cinterval log2(const l_cinterval&) throw();
93  l_cinterval log10(const l_cinterval&) throw();
94 
96  l_cinterval sqrt(const l_cinterval&) throw();
98  l_cinterval sqrtp1m1(const l_cinterval&) throw();
100  l_cinterval sqrt1px2(const l_cinterval&) throw();
102  l_cinterval sqrtx2m1(const l_cinterval&) throw();
104  l_cinterval sqrt1mx2(const l_cinterval&) throw();
106  std::list<l_cinterval>sqrt_all(const l_cinterval&);
108  l_cinterval sqrt(const l_cinterval&, int) throw();
110  std::list<l_cinterval>sqrt_all(const l_cinterval&, int);
112  l_cinterval power_fast(const l_cinterval&, int) throw();
114  l_cinterval power(const l_cinterval&,int) throw();
116  l_cinterval pow(const l_cinterval&, const l_interval&) throw();
118  l_cinterval pow(const l_cinterval&, const l_cinterval&) throw();
120  std::list<l_cinterval>pow_all(const l_cinterval&,
121  const l_interval&) throw();
123  l_cinterval asin(const l_cinterval&) throw();
125  l_cinterval acos(const l_cinterval&) throw();
127  l_cinterval asinh(const l_cinterval&) throw();
129  l_cinterval acosh(const l_cinterval&) throw();
130 
132  l_cinterval atan(const l_cinterval&) throw();
134  l_cinterval acot(const l_cinterval&) throw();
136  l_cinterval atanh(const l_cinterval&) throw();
138  l_cinterval acoth(const l_cinterval&) throw();
139 
140 } // namespace cxsc
141 
142 #endif // _CXSC_L_CIMATH_HPP_INCLUDED
143 
144 /*
145 
146  End of File: l_cimath.hpp
147 
148 */
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 > pow_all(const cinterval &z, const interval &p)
Calculates and returns all possible solutions.
Definition: cimath.cpp:2107
std::list< cinterval > sqrt_all(const cinterval &z)
Calculates and returns all possible solutions.
Definition: cimath.cpp:1176
cinterval Ln(const cinterval &z)
Calculates .
Definition: cimath.cpp:829
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