00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051 #ifndef _CXSC_CIMATH_HPP_INCLUDED
00052 #define _CXSC_CIMATH_HPP_INCLUDED
00053
00054 #include "cinterval.hpp"
00055 #include <list>
00056 #include <string>
00057 #include <cmath>
00058
00059 namespace cxsc{
00060
00062 cinterval exp(const cinterval&) throw();
00064 cinterval expm1(const cinterval&) throw();
00066 cinterval exp2(const cinterval&) throw();
00068 cinterval exp10(const cinterval&) throw();
00070 cinterval cos(const cinterval&) throw();
00072 cinterval sin(const cinterval&) throw();
00074 cinterval cosh(const cinterval&) throw();
00076 cinterval sinh(const cinterval&) throw();
00077
00079 cinterval tan(const cinterval&) throw();
00081 cinterval cot(const cinterval&) throw();
00083 cinterval tanh(const cinterval&) throw();
00085 cinterval coth(const cinterval&) throw();
00086
00088 interval arg(const cinterval&) throw();
00089 interval arg_inclmon(const cinterval&) throw();
00091 interval Arg(const cinterval&) throw();
00092
00094 cinterval ln(const cinterval&) throw();
00096 cinterval Ln(const cinterval&) throw();
00098 cinterval lnp1(const cinterval&) throw();
00099
00101 cinterval log2(const cinterval&) throw();
00103 cinterval log10(const cinterval&) throw();
00104
00106 cinterval sqr(const cinterval&) throw();
00107
00109 cinterval sqrt(const cinterval&) throw();
00111 cinterval sqrtp1m1(const cinterval&) throw();
00113 cinterval sqrt1px2(const cinterval&) throw();
00115 cinterval sqrtx2m1(const cinterval&) throw();
00117 cinterval sqrt1mx2(const cinterval&) throw();
00118
00120 std::list<cinterval>sqrt_all(const cinterval&);
00122 cinterval sqrt(const cinterval&, int) throw();
00124 std::list<cinterval>sqrt_all(const cinterval&, int);
00125
00127 cinterval power_fast(const cinterval&,int) throw();
00129 cinterval power(const cinterval&,int) throw();
00131 cinterval pow(const cinterval&, const interval&) throw();
00133 cinterval pow(const cinterval&, const cinterval&) throw();
00135 std::list<cinterval>pow_all(const cinterval&, const interval&) throw();
00137 void times2pown(cinterval& x, int n) throw();
00138
00140 cinterval asin(const cinterval&) throw();
00142 cinterval acos(const cinterval&) throw();
00144 cinterval asinh(const cinterval&) throw();
00146 cinterval acosh(const cinterval&) throw();
00148 cinterval atan(const cinterval&) throw();
00150 cinterval acot(const cinterval&) throw();
00152 cinterval atanh(const cinterval&) throw();
00154 cinterval acoth(const cinterval&) throw();
00155
00156 }
00157
00158 #endif // _CXSC_CIMATH_HPP_INCLUDED
00159
00160
00161
00162
00163
00164