C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
26 #ifndef _CXSC_CINTERVAL_HPP_INCLUDED
27 #define _CXSC_CINTERVAL_HPP_INCLUDED
36 #include "complex.hpp"
37 #include "interval.hpp"
72 INLINE
cinterval(
const civector &)
throw (ERROR_CIVECTOR_TYPE_CAST_OF_THICK_OBJ,ERROR_CIVECTOR_USE_OF_UNINITIALIZED_OBJ);
75 INLINE
cinterval(
const civector_slice &)
throw (ERROR_CIVECTOR_TYPE_CAST_OF_THICK_OBJ,ERROR_CIVECTOR_USE_OF_UNINITIALIZED_OBJ);
77 INLINE
cinterval(
const cimatrix &)
throw (ERROR_CIMATRIX_TYPE_CAST_OF_THICK_OBJ,ERROR_CIMATRIX_USE_OF_UNINITIALIZED_OBJ);
79 INLINE
cinterval(
const cimatrix_slice &)
throw (ERROR_CIMATRIX_TYPE_CAST_OF_THICK_OBJ,ERROR_CIMATRIX_USE_OF_UNINITIALIZED_OBJ);
174 friend std::istream &
operator >>(std::istream &,
cinterval &)
throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
178 friend std::string &
operator >>(std::string &,
cinterval &)
throw(ERROR_CINTERVAL_EMPTY_INTERVAL);
563 extern int in (
const cinterval&,
const cinterval& );
565 extern cinterval
Blow ( cinterval,
const real& );
568 interval
abs(
const cinterval &)
throw();
572 #include "cinterval.inl"
573 #include "cimath.hpp"
575 #endif // _CXSC_CINTERVAL_HPP_INCLUDED
friend bool operator!=(const cinterval &a, const cinterval &b)
Implementation of standard negated equality operation.
friend real SupRe(const cinterval &a)
Returns the supremum of the real interval of the complex interval.
friend cinterval & UncheckedSetInf(cinterval &, const complex &)
Returns the complex interval with the unchecked new given infimum value.
friend cinterval operator&(const cinterval &, const cinterval &)
Returns the intersection of the arguments.
friend cinterval operator+(const cinterval &)
Implementation of standard algebraic positive sign operation.
friend interval & Im(cinterval &a)
Returns the imaginary interval of the complex interval.
friend cinterval _unchecked_cinterval(const complex &, const complex &)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
The Data Type civector_slice.
friend complex Inf(const cinterval &)
Returns the infimum of a complex interval.
friend interval & Re(cinterval &a)
Returns the real interval of the complex interval.
cinterval(void)
Constructor of class cinterval.
friend bool operator<(const cinterval &, const cinterval &)
Implementation of standard less-than operation.
friend bool operator>=(const cinterval &, const cinterval &)
Implementation of standard more-or-equal-than operation.
friend cinterval & SetRe(cinterval &a, const interval &b)
Sets the real interval of the complex interval.
friend cinterval & operator*=(cinterval &, const cinterval &)
Implementation of standard algebraic multiplication and allocation operation.
The Scalar Type interval.
friend cinterval & operator&=(cinterval &, const cinterval &)
Allocates the intersection of the arguments to the first argument.
friend real InfRe(const cinterval &a)
Returns the infimum of the real interval of the complex interval.
friend bool operator!(const cinterval &a)
Implementation of standard negation operation.
friend std::istream & operator>>(std::istream &, cinterval &)
Implementation of standard input method.
The Data Type idotprecision.
friend cinterval & SetSup(cinterval &, const complex &)
Returns the complex interval with the new given supremum value.
cinterval Blow(cinterval x, const real &eps)
Performs an epsilon inflation.
friend cinterval operator|(const cinterval &, const cinterval &)
Returns the convex hull of the arguments.
friend cinterval & SetIm(cinterval &a, const interval &b)
Sets the imaginary interval of the complex interval.
friend real InfIm(const cinterval &a)
Returns the infimum of the imaginary interval of the complex interval.
friend real SupIm(const cinterval &a)
Returns the supremum of the imaginary interval of the complex interval.
int in(const cinterval &x, const cinterval &y)
Checks if first argument is part of second argument.
friend cinterval & operator+=(cinterval &, const cinterval &)
Implementation of standard algebraic addition and allocation operation.
friend complex mid(const cinterval &)
Returns the rounded middle of the complex interval.
ivector abs(const cimatrix_subv &mv)
Returns the absolute value of the matrix.
friend complex diam(const cinterval &)
Returns the rounded diameter of the complex interval.
The Data Type dotprecision.
friend cinterval operator/(const cinterval &, const cinterval &)
Implementation of standard algebraic division operation.
friend bool operator<=(const cinterval &, const cinterval &)
Implementation of standard less-or-equal-than operation.
friend cinterval & UncheckedSetSup(cinterval &, const complex &)
Returns the complex interval with the unchecked new given supremum value.
The Data Type cidotprecision.
The namespace cxsc, providing all functionality of the class library C-XSC.
friend cinterval & operator-=(cinterval &, const cinterval &)
Implementation of standard algebraic subtraction and allocation operation.
friend bool operator>(const cinterval &, const cinterval &)
Implementation of standard greater-than operation.
friend std::ostream & operator<<(std::ostream &, const cinterval &)
Implementation of standard output method.
friend interval abs(const cinterval &)
Returns the absolute value of a complex interval.
friend bool operator==(const cinterval &a, const cinterval &b)
Implementation of standard equality operation.
friend cinterval & SetInf(cinterval &, const complex &)
Returns the complex interval with the new given infimum value.
The Multiple-Precision Data Type l_cinterval.
The Data Type cdotprecision.
friend cinterval operator-(const cinterval &)
Implementation of standard algebraic negative sign operation.
cinterval & operator=(const real &)
Implementation of standard assigning operator.
friend complex Sup(const cinterval &)
Returns the supremum of a complex interval.
friend cinterval _cinterval(const real &)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
The Data Type cimatrix_slice.
The Scalar Type cinterval.
friend cinterval & operator/=(cinterval &, const cinterval &)
Implementation of standard algebraic division and allocation operation.
friend cinterval & operator|=(cinterval &, const cinterval &)
Allocates the convex hull of the arguments to the first argument.
friend cinterval conj(const cinterval &)
Returns the conjugated complex interval.
friend cinterval operator*(const cinterval &, const cinterval &)
Implementation of standard algebraic multiplication operation.