C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
26 #ifndef _CXSC_IDOT_HPP_INCLUDED
27 #define _CXSC_IDOT_HPP_INCLUDED
32 #include "interval.hpp"
86 inline int get_k()
const {
return k; }
friend idotprecision & UncheckedSetSup(idotprecision &, const dotprecision &)
Returns the dotprecison interval with the unchecked new given supremum value.
int get_k() const
Get currently set precision for computation of dot products.
friend bool operator!=(const idotprecision &, const idotprecision &)
Implementation of standard negated equality operation.
friend idotprecision _idotprecision(const l_real &a)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
idotprecision(const interval &a)
Constructor of class idotprecision.
friend bool operator>(const idotprecision &, const idotprecision &)
Implementation of standard greater-than operation.
friend bool operator<=(const idotprecision &, const idotprecision &)
Implementation of standard less-or-equal-than operation.
friend bool operator>=(const idotprecision &, const idotprecision &)
Implementation of standard greater-or-equal-than operation.
The Scalar Type interval.
friend dotprecision & Sup(idotprecision &a)
Returns the supremum of a dotprecison interval.
idotprecision(const dotprecision &r)
Constructor of class idotprecision.
friend idotprecision _unchecked_idotprecision(const real &, const real &)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
friend const dotprecision & Sup(const idotprecision &a)
Returns the supremum of a dotprecison interval.
friend idotprecision & operator-=(idotprecision &, const idotprecision &)
Implementation of standard algebraic subtraction and allocation operation.
idotprecision(const real &a)
Constructor of class idotprecision.
The Data Type idotprecision.
friend bool operator<(const idotprecision &, const idotprecision &)
Implementation of standard less-than operation.
friend idotprecision & operator|=(idotprecision &, const idotprecision &)
Allocates the convex hull of the arguments to the first argument.
idotprecision & operator=(const real &a)
Implementation of standard assigning operator.
friend idotprecision operator&(const idotprecision &, const idotprecision &)
Returns the intersection of the arguments.
friend idotprecision & SetInf(idotprecision &, const dotprecision &)
Returns the dotprecison interval with the new given infimum value.
void set_dotprec(unsigned int i)
Set precision for computation of dot products.
friend idotprecision & UncheckedSetInf(idotprecision &, const dotprecision &)
Returns the dotprecison interval with the unchecked new given infimum value.
The Data Type dotprecision.
The Multiple-Precision Data Type l_interval.
friend idotprecision abs(const idotprecision &a)
Returns the absolute value of a dotprecision interval.
friend idotprecision operator+(const idotprecision &)
Implementation of standard algebraic positive sign operation.
void set_k(unsigned int i)
Set precision for computation of dot products.
int get_dotprec() const
Get currently set precision for computation of dot products.
friend idotprecision & operator&=(idotprecision &, const idotprecision &)
Allocates the intersection of the arguments to the first argument.
friend idotprecision operator-(const idotprecision &)
Implementation of standard algebraic negative sign operation.
friend std::istream & operator>>(std::istream &s, idotprecision &a)
Implementation of standard input method.
friend dotprecision & Inf(idotprecision &a)
Returns the infimum of a dotprecison interval.
void set_k(unsigned int i)
Set precision for computation of dot products.
The namespace cxsc, providing all functionality of the class library C-XSC.
friend bool IsEmpty(const idotprecision &a)
Returns if the dotprecision interval is empty.
friend dotprecision mid(const idotprecision &a)
Returns the middle of the dotprecision interval.
friend idotprecision & operator+=(idotprecision &, const idotprecision &)
Implementation of standard algebraic addition and allocation operation.
The Multiple-Precision Data Type l_real.
friend const dotprecision & Inf(const idotprecision &a)
Returns the infimum of a dotprecison interval.
friend idotprecision & SetSup(idotprecision &, const dotprecision &)
Returns the dotprecison interval with the new given supremum value.
friend dotprecision diam(const idotprecision &a)
Returns the rounded diameter of the dotprecision interval.
friend std::ostream & operator<<(std::ostream &s, const idotprecision &a)
Implementation of standard output method.
friend void accumulate(idotprecision &, const interval &, const interval &)
The accurate scalar product of the last two arguments added to the value of the first argument.
friend idotprecision _idotprecision(const l_real &a, const l_real &b)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
idotprecision(const real &a, const real &b)
Constructor of class idotprecision.
idotprecision()
Constructor of class idotprecision.
friend idotprecision _idotprecision(const real &)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
friend bool operator!(const idotprecision &)
Implementation of standard negation operation.
friend bool operator==(const idotprecision &, const idotprecision &)
Implementation of standard equality operation.
friend idotprecision operator|(const idotprecision &, const idotprecision &)
Returns the convex hull of the arguments.