C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
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; }
308 std::istream& operator >> (std::istream& s, cdotprecision& a)
throw();
309 std::ostream& operator << (std::ostream& s,
const cdotprecision& a)
throw();
310 std::string& operator >> (std::string& s, cdotprecision& a)
throw();
311 std::string& operator << (std::string& s,
const cdotprecision& a)
throw();
312 void operator >> (
const std::string &s,cdotprecision& a)
throw();
313 void operator >> (
const char *s ,cdotprecision& a)
throw();
315 void rnd(
const cdotprecision &,complex &,rndtype = RND_NEXT)
throw();
316 void rnd(
const cdotprecision &,complex &,complex &)
throw();
317 void rnd(
const cdotprecision&, cinterval&)
throw();
318 complex rnd(
const cdotprecision &,rndtype = RND_NEXT)
throw();
320 void accumulate (cdotprecision&,
const complex&,
const complex&)
throw();
330 inline cdotprecision &
operator += (cdotprecision &cd,
const l_complex &lc)
throw();
331 inline cdotprecision & operator -= (cdotprecision &cd,
const l_complex &lc)
throw();
355 #endif // _CXSC_CDOT_HPP_INCLUDED
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.
cdotprecision()
Constructor of class cdotprecision.
friend std::ostream & operator<<(std::ostream &s, const cdotprecision &a)
Implementation of standard output method.
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.
void set_k(unsigned int i)
Set precision for computation of dot products.
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.
friend bool operator!=(const cdotprecision &, const cdotprecision &)
Implementation of standard negated equality operation.
friend void rnd(const cdotprecision &, complex &, rndtype)
Converting the exact complex dotprecision value with one rounding into a complex value.
cdotprecision & operator=(const real &a)
Implementation of standard assigning operator.
friend cdotprecision & SetRe(cdotprecision &a, const dotprecision &b)
Sets the real part of a complex dotprecision value.
friend cdotprecision _cdotprecision(const dotprecision &)
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
friend cdotprecision & operator+=(cdotprecision &, const cdotprecision &)
Implementation of standard algebraic addition and allocation operation.
cdotprecision _cdotprecision(const l_complex &)
friend bool operator==(const cdotprecision &, const cdotprecision &)
Implementation of standard equality operation.
The Multiple-Precision Data Type l_complex.
friend cdotprecision & SetIm(cdotprecision &a, const dotprecision &b)
Sets the imaginary part of a complex dotprecision value.
The Data Type dotprecision.
friend cdotprecision operator-(const cdotprecision &)
Implementation of standard algebraic negative sign operation.
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.
cdotprecision & operator+=(cdotprecision &cd, const l_complex &lc)
Implementation of standard algebraic addition and allocation operation.
The Multiple-Precision Data Type l_real.
friend dotprecision & Im(cdotprecision &a)
Returns the imaginary part of the complex dotprecision value.
friend dotprecision & Re(cdotprecision &a)
Returns the real part of the complex dotprecision value.
The Data Type cdotprecision.
The Scalar Type cinterval.
friend cdotprecision conj(const cdotprecision &a)
Returns the conjugated complex dotprecision value.
int get_k() const
Get currently set precision for computation of dot products.
friend bool operator!(const cdotprecision &)
Implementation of standard negation operation.
friend cdotprecision & operator-=(cdotprecision &, const cdotprecision &)
Implementation of standard algebraic subtraction and allocation operation.