26 #ifndef _CXSC_CDOT_HPP_INCLUDED 27 #define _CXSC_CDOT_HPP_INCLUDED 32 #include "complex.hpp" 34 #include "l_complex.hpp" 35 #include "cinterval.hpp" 91 inline int get_k()
const {
return k; }
355 #endif // _CXSC_CDOT_HPP_INCLUDED void set_k(unsigned int i)
Set precision for computation of dot products.
friend std::ostream & operator<<(std::ostream &s, const cdotprecision &a)
Implementation of standard output method.
friend cdotprecision operator+(const cdotprecision &)
Implementation of standard algebraic positive sign operation.
friend std::istream & operator>>(std::istream &s, cdotprecision &a)
Implementation of standard input method.
The Multiple-Precision Data Type l_real.
The Data Type dotprecision.
The namespace cxsc, providing all functionality of the class library C-XSC.
void set_k(unsigned int i)
Set precision for computation of dot products.
friend dotprecision & Re(cdotprecision &a)
Returns the real part of the complex dotprecision value.
int get_k() const
Get currently set precision for computation of dot products.
friend void rnd(const cdotprecision &, complex &, rndtype)
Converting the exact complex dotprecision value with one rounding into a complex value.
friend cdotprecision & SetIm(cdotprecision &a, const dotprecision &b)
Sets the imaginary part of a complex dotprecision value.
cdotprecision & operator=(const real &a)
Implementation of standard assigning operator.
friend cdotprecision conj(const cdotprecision &a)
Returns the conjugated complex dotprecision value.
friend cdotprecision operator-(const cdotprecision &)
Implementation of standard algebraic negative sign operation.
friend cdotprecision & SetRe(cdotprecision &a, const dotprecision &b)
Sets the real part of a complex dotprecision value.
friend cdotprecision & operator+=(cdotprecision &, const cdotprecision &)
Implementation of standard algebraic addition and allocation operation.
friend bool operator!=(const cdotprecision &, const cdotprecision &)
Implementation of standard negated equality operation.
The Data Type cdotprecision.
friend dotprecision & Im(cdotprecision &a)
Returns the imaginary part of the complex dotprecision value.
The Scalar Type cinterval.
The Multiple-Precision Data Type l_complex.
friend bool operator!(const cdotprecision &)
Implementation of standard negation operation.
friend cdotprecision & operator-=(cdotprecision &, const cdotprecision &)
Implementation of standard algebraic subtraction and allocation operation.
friend cdotprecision _cdotprecision(const dotprecision &)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC...
cdotprecision()
Constructor of class cdotprecision.
friend void accumulate(cdotprecision &, const complex &, const complex &)
The accurate scalar product of the last two arguments added to the value of the first argument...
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 bool operator==(const cdotprecision &, const cdotprecision &)
Implementation of standard equality operation.