26 #ifndef _CXSC_INTERVAL_H_INCLUDED 27 #define _CXSC_INTERVAL_H_INCLUDED 66 inline interval(
const real&,
const real&)
throw(ERROR_INTERVAL_EMPTY_INTERVAL);
79 explicit INLINE
interval(
const ivector &)
throw(ERROR_IVECTOR_TYPE_CAST_OF_THICK_OBJ,ERROR_IVECTOR_USE_OF_UNINITIALIZED_OBJ);
82 explicit INLINE
interval(
const ivector_slice &)
throw(ERROR_IVECTOR_TYPE_CAST_OF_THICK_OBJ,ERROR_IVECTOR_USE_OF_UNINITIALIZED_OBJ);
84 explicit INLINE
interval(
const imatrix &m)
throw(ERROR_IMATRIX_TYPE_CAST_OF_THICK_OBJ,ERROR_IMATRIX_USE_OF_UNINITIALIZED_OBJ);
86 explicit INLINE
interval(
const imatrix_slice &m)
throw(ERROR_IMATRIX_TYPE_CAST_OF_THICK_OBJ,ERROR_IMATRIX_USE_OF_UNINITIALIZED_OBJ);
88 friend INLINE
interval _interval(
const ivector &)
throw(ERROR_IVECTOR_TYPE_CAST_OF_THICK_OBJ,ERROR_IVECTOR_USE_OF_UNINITIALIZED_OBJ);
92 friend INLINE
interval _interval(
const imatrix &m)
throw(ERROR_IMATRIX_TYPE_CAST_OF_THICK_OBJ,ERROR_IMATRIX_USE_OF_UNINITIALIZED_OBJ);
526 #include "interval.inl" 529 #endif // _CXSC_INTERVAL_H_INCLUDED cinterval Blow(cinterval x, const real &eps)
Performs an epsilon inflation.
The Multiple-Precision Data Type l_interval.
const interval Ln2_interval
Enclosure-Interval for .
const interval Pi3_interval
Enclosure-Interval for .
friend bool operator>=(const interval &, const interval &)
Implementation of standard greater-or-equal-than operation.
const interval Ln10_interval
Enclosure-Interval for .
const interval Pi2_interval
Enclosure-Interval for .
friend bool operator<(const interval &, const interval &)
Implementation of standard less-than operation.
The Data Type idotprecision.
The Multiple-Precision Data Type l_real.
The Data Type dotprecision.
const interval Pip2_interval
Enclosure-Interval for .
const interval Sqrt2_interval
Enclosure-Interval for .
The namespace cxsc, providing all functionality of the class library C-XSC.
const interval Sqrt7_interval
Enclosure-Interval for .
const interval EpPid4_interval
Enclosure-Interval for .
int in(const cinterval &x, const cinterval &y)
Checks if first argument is part of second argument.
friend interval & operator/=(interval &, const interval &)
Implementation of standard algebraic division and allocation operation.
The Scalar Type interval.
friend bool operator==(const interval &, const interval &)
Implementation of standard equality operation.
const interval EpPid2_interval
Enclosure-Interval for .
real AbsMin(const interval &x)
Computes the smallest absolute value .
const interval Sqrt5_interval
Enclosure-Interval for .
friend interval & operator-=(interval &, const interval &)
Implementation of standard algebraic subtraction and allocation operation.
friend interval & operator*=(interval &, const interval &)
Implementation of standard algebraic multiplication and allocation operation.
friend real & Inf(interval &)
Returns the infimum of an interval.
int UlpAcc(const interval &x, int n)
Checks if the diameter of the interval is ulps.
real RelDiam(const interval &x)
Computes the relative diameter .
const interval Pid2_interval
Enclosure-Interval for .
const interval Sqrt2Pir_interval
Enclosure-Interval for .
const interval Er_interval
Enclosure-Interval for .
The Data Type ivector_slice.
The Data Type imatrix_slice.
friend interval & UncheckedSetInf(interval &, const real &)
Returns the interval with the unchecked new given infimum value.
friend interval _unchecked_interval(const real &, const real &)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC...
const interval Pid3_interval
Enclosure-Interval for .
const interval Sqrt3r_interval
Enclosure-Interval for .
friend interval operator&(const interval &, const interval &)
Returns the intersection of the arguments.
const interval Sqrt3_interval
Enclosure-Interval for .
interval(const real &r)
Typecast for converting a real value in an interval.
const interval LnPi_interval
Enclosure-Interval for .
const interval Ln2r_interval
Enclosure-Interval for .
friend interval & operator+=(interval &, const interval &)
Implementation of standard algebraic addition and allocation operation.
friend interval abs(const interval &)
Returns the absolute value of the interval.
const interval Pid4_interval
Enclosure-Interval for .
friend bool operator>(const interval &, const interval &)
Implementation of standard greater-than operation.
friend void times2pown(interval &, const int &)
Multiplication of interval with .
const interval Pir_interval
Enclosure-Interval for .
const interval Ep2Pi_interval
Enclosure-Interval for .
friend interval operator/(const interval &, const interval &)
Implementation of standard algebraic division operation.
const interval EpPi_interval
Enclosure-Interval for .
friend interval operator*(const interval &, const interval &)
Implementation of standard algebraic multiplication operation.
const interval Pi2r_interval
Enclosure-Interval for .
const interval SqrtPir_interval
Enclosure-Interval for .
friend interval operator|(const interval &, const interval &)
Returns the convex hull of the arguments.
int Disjoint(const interval &a, const interval &b)
Checks arguments for disjointness.
friend bool IsEmpty(const interval &)
Returns true if the interval is empty.
friend std::istream & operator>>(std::istream &, interval &)
Implementation of standard input method.
real AbsMax(const interval &x)
Computes the greatest absolute value .
interval()
Constructor of class interval.
interval & operator=(const real &a)
Implementation of standard assigning operator.
const interval SqrtPi_interval
Enclosure-Interval for .
const interval Ep2_interval
Enclosure-Interval for .
friend real mid(const interval &)
Returns the rounded middle of the interval.
friend interval _interval(const l_real &a, const l_real &b)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC...
friend bool operator<=(const interval &, const interval &)
Implementation of standard less-or-equal-than operation.
friend real & Sup(interval &)
Returns the supremum of an interval.
const interval Sqrt3d2_interval
Enclosure-Interval for .
const interval Pi_interval
Enclosure-Interval for .
const interval Sqrt2Pi_interval
Enclosure-Interval for .
friend interval operator-(const interval &)
Implementation of standard algebraic negative sign operation.
friend interval & SetInf(interval &, const real &)
Returns the interval with the new given infimum value.
const interval Ln2Pi_interval
Enclosure-Interval for .
friend interval & UncheckedSetSup(interval &, const real &)
Returns the interval with the unchecked new given supremum value.
friend interval & operator&=(interval &, const interval &)
Allocates the intersection of the arguments to the first argument.
friend bool operator!(const interval &)
Implementation of standard negation operation.
const interval Sqrt2r_interval
Enclosure-Interval for .
friend std::ostream & operator<<(std::ostream &, const interval &)
Implementation of standard output method.
const interval E_interval
Enclosure-Interval for .
friend interval operator+(const interval &)
Implementation of standard algebraic positive sign operation.
const interval Ep2r_interval
Enclosure-Interval for .
friend interval & operator|=(interval &, const interval &)
Allocates the convex hull of the arguments to the first argument.
const interval Ln10r_interval
Enclosure-Interval for .
friend real diam(const interval &)
Returns the rounded diameter of the interval.
friend interval _interval(const ivector &)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC...
friend interval & SetSup(interval &, const real &)
Returns the interval with the new given supremum value.
friend bool operator!=(const interval &, const interval &)
Implementation of standard negated equality operation.