26#ifndef _CXSC_CIDOT_HPP_INCLUDED
27#define _CXSC_CIDOT_HPP_INCLUDED
34#include "cinterval.hpp"
89 inline int get_k()
const {
return k; }
91 inline void set_k(
unsigned int i) { k=i; reinf.set_k(i); resup.set_k(i); iminf.set_k(i); imsup.set_k(i);}
95 inline void set_dotprec(
unsigned int i) { k=i; reinf.set_k(i); resup.set_k(i); iminf.set_k(i); imsup.set_k(i);}
779std::ostream& operator << (std::ostream& s,
const cidotprecision& a)
noexcept;
781std::string& operator << (std::string& s,
const cidotprecision& a)
noexcept;
The Data Type cdotprecision.
The Data Type cidotprecision.
friend cidotprecision & UncheckedSetInf(cidotprecision &, const cdotprecision &) noexcept
Returns the complex dotprecison interval with the unchecked new given infimum value.
cidotprecision()
Constructor of class cidotprecision.
friend void accumulate(cidotprecision &, const cinterval &, const cinterval &) noexcept
The accurate scalar product of the last two arguments added to the value of the first argument.
friend cidotprecision operator-(cidotprecision) noexcept
Implementation of standard algebraic negative sign operation.
friend cidotprecision _cidotprecision(const complex &, const complex &) noexcept
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
friend bool operator>=(const cidotprecision &, const cidotprecision &) noexcept
Implementation of standard greater-or-equal-than operation.
friend bool operator!=(const cidotprecision &, const cidotprecision &) noexcept
Implementation of standard negated equality operation.
friend bool operator<=(const cidotprecision &, const cidotprecision &) noexcept
Implementation of standard less-or-equal-than operation.
friend bool operator!(const cidotprecision &) noexcept
Implementation of standard negation operation.
friend bool operator>(const cidotprecision &, const cidotprecision &) noexcept
Implementation of standard greater-than operation.
friend cdotprecision Sup(const cidotprecision &) noexcept
Returns the supremum of a complex dotprecison interval.
friend const dotprecision & InfIm(const cidotprecision &) noexcept
Returns the infimum of the imaginary part of the complex dotprecision interval.
friend cdotprecision Inf(const cidotprecision &) noexcept
Returns the infimum of a complex dotprecison interval.
friend cidotprecision & UncheckedSetSup(cidotprecision &, const cdotprecision &) noexcept
Returns the complex dotprecison interval with the unchecked new given supremum value.
friend idotprecision Re(const cidotprecision &) noexcept
Returns the real part of the complex dotprecision interval.
friend std::ostream & operator<<(std::ostream &s, const cidotprecision &a) noexcept
Implementation of standard output method.
friend cidotprecision _unchecked_cidotprecision(const complex &, const complex &) noexcept
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
friend cidotprecision & operator+=(cidotprecision &, const cidotprecision &) noexcept
Implementation of standard algebraic addition and allocation operation.
int get_dotprec() const
Get currently set precision for computation of dot products.
void set_dotprec(unsigned int i)
Set precision for computation of dot products.
friend cidotprecision operator+(const cidotprecision &) noexcept
Implementation of standard algebraic positive sign operation.
friend const dotprecision & SupRe(const cidotprecision &) noexcept
Returns the supremum of the real part of the complex dotprecision interval.
void set_k(unsigned int i)
Set precision for computation of dot products.
friend std::istream & operator>>(std::istream &s, cidotprecision &a)
Implementation of standard input method.
friend const dotprecision & SupIm(const cidotprecision &) noexcept
Returns the supremum of the imaginary part of the complex dotprecision interval.
friend cidotprecision operator|(const cidotprecision &, const cidotprecision &) noexcept
Returns the convex hull of the arguments.
friend const dotprecision & InfRe(const cidotprecision &) noexcept
Returns the infimum of the real part of the complex dotprecision interval.
friend idotprecision Im(const cidotprecision &) noexcept
Returns the imaginary part of the complex dotprecision interval.
cidotprecision & operator=(const real &a) noexcept
Implementation of standard assigning operator.
friend bool operator==(const cidotprecision &, const cidotprecision &) noexcept
Implementation of standard equality operation.
friend cidotprecision & SetRe(cidotprecision &, const idotprecision &) noexcept
Sets the real part of the complex dotprecision interval.
friend cidotprecision & operator&=(cidotprecision &, const cidotprecision &)
Allocates the intersection of the arguments to the first argument.
friend cidotprecision & SetInf(cidotprecision &, const cdotprecision &)
Returns the complex dotprecison interval with the new given infimum value.
int get_k() const
Get currently set precision for computation of dot products.
friend bool operator<(const cidotprecision &, const cidotprecision &) noexcept
Implementation of standard less-than operation.
friend cidotprecision & operator|=(cidotprecision &, const cidotprecision &) noexcept
Allocates the convex hull of the arguments to the first argument.
friend cidotprecision & operator-=(cidotprecision &, const cidotprecision &) noexcept
Implementation of standard algebraic subtraction and allocation operation.
friend cidotprecision operator&(const cidotprecision &, const cidotprecision &)
Returns the intersection of the arguments.
friend cidotprecision & SetSup(cidotprecision &, const cdotprecision &)
Returns the complex dotprecison interval with the new given supremum value.
friend cidotprecision & SetIm(cidotprecision &, const idotprecision &) noexcept
Sets the imaginary part of the complex dotprecision interval.
The Scalar Type cinterval.
The Data Type dotprecision.
The Data Type idotprecision.
The Scalar Type interval.
The namespace cxsc, providing all functionality of the class library C-XSC.