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