31 : re(a), im(b), k(0) { re.
set_k(0); im.
set_k(0); }
34 : re(a), im(b), k(0) {}
37 : re(a.re), im(a.im), k(a.k) {}
40 : re(a), im(b), k(0) {}
46 : re(r), im(0), k(0) {}
49 : re(
Re(c)),im(
Im(c)), k(0) {}
52 : re(r), im(0), k(0) { re.
set_k(0); im.
set_k(0); }
55 : re(r), im(0), k(0) {}
62 re=a;im=0;
return *
this;
67 re=
Re(a),im=
Im(a);
return *
this;
71 re=a;im=0;
return *
this;
75 re=a.re,im=a.im;
return *
this;
79 re=a;im=0;
return *
this;
278 return(c==a.re && !a.im);
283 return(c!=a.re || !!a.im);
288 return(c==a.re && !a.im);
293 return(c!=a.re || !!a.im);
336 return !a.re && !a.im;
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.
The Multiple-Precision Data Type l_real.
The Data Type dotprecision.
The namespace cxsc, providing all functionality of the class library C-XSC.
friend dotprecision & Re(cdotprecision &a)
Returns the real part of the complex dotprecision 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 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...
friend bool operator==(const cdotprecision &, const cdotprecision &)
Implementation of standard equality operation.