26 #ifndef _CXSC_L_CINTERVAL_HPP_INCLUDED 27 #define _CXSC_L_CINTERVAL_HPP_INCLUDED 36 #include "l_complex.hpp" 37 #include "l_interval.hpp" 38 #include "cinterval.hpp" 70 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
73 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
145 throw(EMPTY_INTERVAL);
148 throw(EMPTY_INTERVAL);
151 throw(EMPTY_INTERVAL);
154 throw(EMPTY_INTERVAL);
187 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
207 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1113 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1116 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1119 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1122 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1126 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1130 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1133 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1137 throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
1144 const real &)
throw();
1150 const real &)
throw();
1176 { a.re=b;
return a; }
1179 { a.im=b;
return a; }
1182 { a.re=b;
return a; }
1185 { a.im=b;
return a; }
1189 { a.re=b;
return a; }
1192 { a.im=b;
return a; }
1195 { a.re=b;
return a; }
1198 { a.im=b;
return a; }
1202 {
return Inf(a.re); }
1205 {
return Inf(a.im); }
1208 {
return Sup(a.re); }
1211 {
return Sup(a.im); }
1214 const int& n)
throw();
1217 const int& n)
throw();
1236 #include "l_cinterval.inl" 1237 #include "l_cimath.hpp" 1239 #endif // _CXSC_L_CINTERVAL_HPP_INCLUDED friend l_cinterval operator-(const l_cinterval &)
Implementation of standard algebraic negative sign operation.
The Multiple-Precision Data Type l_interval.
cinterval(void)
Constructor of class cinterval.
friend l_real InfRe(const l_cinterval &a)
Returns the infimum of the real interval of the complex interval.
The Data Type idotprecision.
The Multiple-Precision Data Type l_real.
The Data Type dotprecision.
friend l_complex mid(const l_cinterval &)
Returns the rounded middle of the complex interval.
friend l_cinterval & SetRe(l_cinterval &a, const l_interval &b)
Sets the real part of a complex interval.
l_cinterval & operator=(const real &)
Implementation of standard assigning operator.
friend l_interval Im(const l_cinterval &a)
Returns the imaginary part of the complex interval.
friend l_real SupRe(const l_cinterval &a)
Returns the supremum of the real interval of the complex interval.
friend l_cinterval & operator*=(l_cinterval &, const l_cinterval &)
Implementation of standard algebraic multiplication and allocation operation.
The namespace cxsc, providing all functionality of the class library C-XSC.
friend l_cinterval & SetIm(l_cinterval &a, const l_interval &b)
Sets the imaginary part of a complex interval.
friend l_real SupIm(const l_cinterval &a)
Returns the supremum of the imaginary interval of the complex interval.
l_cinterval(void)
Constructor of class l_cinterval.
friend void Times2pown(l_cinterval &x, const int &n)
Multiplication of interval with .
friend bool operator==(const l_cinterval &a, const l_cinterval &b)
Implementation of standard equality operation.
The Multiple-Precision Data Type l_cinterval.
The Scalar Type interval.
friend l_interval & Im(l_cinterval &a)
Returns the imaginary part of the complex interval.
friend l_cinterval & SetIm(l_cinterval &a, const l_real &b)
Sets the imaginary part of a complex interval.
friend l_cinterval & operator-=(l_cinterval &, const l_cinterval &)
Implementation of standard algebraic subtraction and allocation operation.
friend l_cinterval & SetRe(l_cinterval &a, const interval &b)
Sets the real part of a complex interval.
friend l_cinterval & operator/=(l_cinterval &, const l_cinterval &)
Implementation of standard algebraic division and allocation operation.
friend l_cinterval & SetInf(l_cinterval &, const complex &)
Returns the interval with the new given infimum value.
friend bool operator>(const l_cinterval &, const l_cinterval &)
Implementation of standard greater-than operation.
The Data Type cidotprecision.
friend l_interval & Re(l_cinterval &a)
Returns the real part of the complex interval.
friend l_cinterval operator|(const l_cinterval &, const l_cinterval &)
Returns the convex hull of the arguments.
friend l_cinterval conj(const l_cinterval &)
Returns the conjugated complex interval.
friend std::ostream & operator<<(std::ostream &, const l_cinterval &)
Implementation of standard output method.
friend l_cinterval operator/(const l_cinterval &, const l_cinterval &)
Implementation of standard algebraic division operation.
The Data Type cdotprecision.
friend l_cinterval operator*(const l_cinterval &, const l_cinterval &)
Implementation of standard algebraic multiplication operation.
friend l_real InfIm(const l_cinterval &a)
Returns the infimum of the imaginary interval of the complex interval.
friend l_cinterval operator&(const l_cinterval &, const l_cinterval &)
Returns the intersection of the arguments.
The Scalar Type cinterval.
friend l_cinterval & SetRe(l_cinterval &a, const l_real &b)
Sets the real part of a complex interval.
friend l_cinterval & operator&=(l_cinterval &, const l_cinterval &)
Allocates the intersection of the arguments to the first argument.
friend l_cinterval & SetIm(l_cinterval &a, const interval &b)
Sets the imaginary part of a complex interval.
friend bool operator<(const l_cinterval &, const l_cinterval &)
Implementation of standard less-than operation.
friend l_cinterval & SetRe(l_cinterval &a, const real &b)
Sets the real part of a complex interval.
The Multiple-Precision Data Type l_complex.
cinterval & operator=(const real &)
Implementation of standard assigning operator.
friend l_interval Re(const l_cinterval &a)
Returns the real part of the complex interval.
friend l_complex Sup(const l_cinterval &)
Returns the supremum of an interval.
friend l_cinterval & operator+=(l_cinterval &, const l_cinterval &)
Implementation of standard algebraic addition and allocation operation.
friend l_cinterval & SetSup(l_cinterval &, const complex &)
Returns the interval with the new given supremum value.
friend std::string & operator>>(std::string &, l_cinterval &)
Implementation of standard input method.
friend l_cinterval & SetIm(l_cinterval &a, const real &b)
Sets the imaginary part of a complex interval.
friend bool operator!=(const l_cinterval &a, const l_cinterval &b)
Implementation of standard negated equality operation.
friend bool operator<=(const l_cinterval &, const l_cinterval &)
Implementation of standard less-or-equal-than operation.
friend l_cinterval & UncheckedSetInf(l_cinterval &, const complex &)
Returns the interval with the unchecked new given infimum value.
friend l_interval abs(const l_cinterval &)
Returns the absolute value of the complex interval.
friend void times2pown(l_cinterval &x, const int &n)
Multiplication of interval with .
friend l_complex diam(const l_cinterval &)
Returns the rounded diameter of the complex interval.
friend l_cinterval adjust(const l_cinterval &)
Sets the precision of a specific long datatype value.
friend l_cinterval & UncheckedSetSup(l_cinterval &, const complex &)
Returns the interval with the unchecked new given supremum value.
friend l_complex Inf(const l_cinterval &)
Returns the infimum of an interval.
friend bool operator>=(const l_cinterval &, const l_cinterval &)
Implementation of standard greater-or-equal-than operation.
friend bool operator!(const l_cinterval &a)
Implementation of standard negation operation.
friend l_cinterval operator+(const l_cinterval &)
Implementation of standard algebraic positive sign operation.
friend l_cinterval & operator|=(l_cinterval &, const l_cinterval &)
Allocates the convex hull of the arguments to the first argument.