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