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"
122 l_cinterval & operator =(
const lx_cinterval &)
noexcept;
1144 const real &)
noexcept;
1150 const real &)
noexcept;
1157 const l_real &)
noexcept;
1163 const l_real &)
noexcept;
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)
noexcept;
1217 const int& n)
noexcept;
1236#include "l_cinterval.inl"
1237#include "l_cimath.hpp"
The Data Type cdotprecision.
The Data Type cidotprecision.
The Scalar Type cinterval.
cinterval(void) noexcept
Constructor of class cinterval.
cinterval & operator=(const real &) noexcept
Implementation of standard assigning operator.
The Data Type dotprecision.
The Data Type idotprecision.
The Scalar Type interval.
The Multiple-Precision Data Type l_cinterval.
friend l_cinterval & operator+=(l_cinterval &, const l_cinterval &) noexcept
Implementation of standard algebraic addition and allocation operation.
friend l_cinterval operator-(const l_cinterval &) noexcept
Implementation of standard algebraic negative sign operation.
friend l_cinterval operator/(const l_cinterval &, const l_cinterval &)
Implementation of standard algebraic division operation.
friend l_cinterval & operator/=(l_cinterval &, const l_cinterval &) noexcept
Implementation of standard algebraic division and allocation operation.
friend bool operator!(const l_cinterval &a) noexcept
Implementation of standard negation operation.
friend l_cinterval & SetIm(l_cinterval &a, const l_interval &b)
Sets the imaginary part of a complex interval.
friend l_interval Im(const l_cinterval &a) noexcept
Returns the imaginary part of the complex interval.
friend bool operator!=(const l_cinterval &a, const l_cinterval &b) noexcept
Implementation of standard negated equality operation.
friend l_cinterval operator|(const l_cinterval &, const l_cinterval &) noexcept
Returns the convex hull of the arguments.
friend l_cinterval & SetIm(l_cinterval &a, const l_real &b)
Sets the imaginary part of a complex interval.
friend bool operator<=(const l_cinterval &, const l_cinterval &) noexcept
Implementation of standard less-or-equal-than operation.
friend l_cinterval operator+(const l_cinterval &) noexcept
Implementation of standard algebraic positive sign operation.
friend l_complex Inf(const l_cinterval &) noexcept
Returns the infimum of an interval.
friend l_complex mid(const l_cinterval &) noexcept
Returns the rounded middle of the complex interval.
friend l_cinterval & UncheckedSetSup(l_cinterval &, const complex &) noexcept
Returns the interval with the unchecked new given supremum value.
friend l_cinterval & SetRe(l_cinterval &a, const l_interval &b)
Sets the real part of a complex interval.
friend l_real SupIm(const l_cinterval &a) noexcept
Returns the supremum of the imaginary interval of the complex interval.
friend l_real InfRe(const l_cinterval &a) noexcept
Returns the infimum of the real interval of the complex interval.
friend l_cinterval & SetIm(l_cinterval &a, const interval &b)
Sets the imaginary part of a complex interval.
friend l_cinterval & UncheckedSetInf(l_cinterval &, const complex &) noexcept
Returns the interval with the unchecked new given infimum value.
friend l_complex diam(const l_cinterval &) noexcept
Returns the rounded diameter of the complex interval.
friend l_cinterval & SetRe(l_cinterval &a, const interval &b)
Sets the real part of a complex interval.
friend l_complex Sup(const l_cinterval &) noexcept
Returns the supremum of an interval.
friend l_cinterval adjust(const l_cinterval &) noexcept
Sets the precision of a specific long datatype value.
friend l_cinterval & SetIm(l_cinterval &a, const real &b)
Sets the imaginary part of a complex interval.
friend l_real InfIm(const l_cinterval &a) noexcept
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.
friend l_cinterval & operator*=(l_cinterval &, const l_cinterval &) noexcept
Implementation of standard algebraic multiplication and allocation operation.
friend l_cinterval & SetRe(l_cinterval &a, const l_real &b)
Sets the real part of a complex interval.
friend l_interval abs(const l_cinterval &) noexcept
Returns the absolute value of the complex interval.
friend l_cinterval & operator|=(l_cinterval &, const l_cinterval &) noexcept
Allocates the convex hull of the arguments to the first argument.
friend l_real SupRe(const l_cinterval &a) noexcept
Returns the supremum of the real interval of the complex interval.
friend l_interval & Im(l_cinterval &a) noexcept
Returns the imaginary part of the complex interval.
friend l_interval Re(const l_cinterval &a) noexcept
Returns the real part of the complex interval.
friend bool operator==(const l_cinterval &a, const l_cinterval &b) noexcept
Implementation of standard equality operation.
friend l_cinterval & SetInf(l_cinterval &, const complex &)
Returns the interval with the new given infimum value.
friend l_cinterval & SetSup(l_cinterval &, const complex &)
Returns the interval with the new given supremum value.
friend l_cinterval & operator-=(l_cinterval &, const l_cinterval &) noexcept
Implementation of standard algebraic subtraction and allocation operation.
friend std::ostream & operator<<(std::ostream &, const l_cinterval &) noexcept
Implementation of standard output method.
l_cinterval(void) noexcept
Constructor of class l_cinterval.
friend void times2pown(l_cinterval &x, const int &n) noexcept
Multiplication of interval with .
friend l_cinterval & SetRe(l_cinterval &a, const real &b)
Sets the real part of a complex interval.
friend bool operator>=(const l_cinterval &, const l_cinterval &) noexcept
Implementation of standard greater-or-equal-than operation.
friend l_cinterval conj(const l_cinterval &) noexcept
Returns the conjugated complex interval.
friend bool operator<(const l_cinterval &, const l_cinterval &) noexcept
Implementation of standard less-than operation.
friend bool operator>(const l_cinterval &, const l_cinterval &) noexcept
Implementation of standard greater-than operation.
friend l_interval & Re(l_cinterval &a) noexcept
Returns the real part of the complex interval.
friend void Times2pown(l_cinterval &x, const int &n) noexcept
Multiplication of interval with .
friend l_cinterval operator*(const l_cinterval &, const l_cinterval &) noexcept
Implementation of standard algebraic multiplication operation.
friend l_cinterval & operator&=(l_cinterval &, const l_cinterval &)
Allocates the intersection of the arguments to the first argument.
friend std::string & operator>>(std::string &, l_cinterval &)
Implementation of standard input method.
The Multiple-Precision Data Type l_complex.
The Multiple-Precision Data Type l_interval.
The Multiple-Precision Data Type l_real.
The namespace cxsc, providing all functionality of the class library C-XSC.