|
cdotprecision | _cdotprecision (const complex &a) |
| Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
|
|
cdotprecision | _cdotprecision (const dotprecision &a) |
| Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
|
|
cdotprecision | _cdotprecision (const dotprecision &a, const dotprecision &b) |
| Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
|
|
cdotprecision | _cdotprecision (const l_complex &lc) |
| Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
|
|
cdotprecision | _cdotprecision (const l_real &a) |
| Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
|
|
cdotprecision | _cdotprecision (const l_real &a, const l_real &b) |
| Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
|
|
cdotprecision | _cdotprecision (const real &a) |
| Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
|
|
cdotprecision | _cdotprecision (const real &a, const real &b) |
| Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC.
|
|
void | accumulate (cdotprecision &a, const complex &b, const complex &c) |
| The accurate scalar product of the last two arguments added to the value of the first argument.
|
|
void | accumulate (cdotprecision &a, const complex &b, const real &c) |
| The accurate scalar product of the last two arguments added to the value of the first argument.
|
|
void | accumulate (cdotprecision &a, const real &b, const complex &c) |
| The accurate scalar product of the last two arguments added to the value of the first argument.
|
|
void | accumulate (cdotprecision &a, const real &b, const real &c) |
| The accurate scalar product of the last two arguments added to the value of the first argument.
|
|
cdotprecision | conj (const cdotprecision &a) |
| Returns the conjugated complex dotprecision value.
|
|
dotprecision & | Im (cdotprecision &a) |
| Returns the imaginary part of the complex dotprecision value.
|
|
const dotprecision & | Im (const cdotprecision &a) |
| Returns the imaginary part of the complex dotprecision value.
|
|
bool | operator! (const cdotprecision &a) |
| Implementation of standard negation operation.
|
|
bool | operator!= (const cdotprecision &a, const cdotprecision &b) |
| Implementation of standard negated equality operation.
|
|
bool | operator!= (const cdotprecision &a, const complex &c) |
| Implementation of standard negated equality operation.
|
|
bool | operator!= (const cdotprecision &a, const dotprecision &r) |
| Implementation of standard negated equality operation.
|
|
bool | operator!= (const cdotprecision &a, const l_real &c) |
| Implementation of standard negated equality operation.
|
|
bool | operator!= (const cdotprecision &a, const real &c) |
| Implementation of standard negated equality operation.
|
|
bool | operator!= (const complex &c, const cdotprecision &a) |
| Implementation of standard negated equality operation.
|
|
bool | operator!= (const dotprecision &r, const cdotprecision &a) |
| Implementation of standard negated equality operation.
|
|
bool | operator!= (const l_real &c, const cdotprecision &a) |
| Implementation of standard negated equality operation.
|
|
bool | operator!= (const real &c, const cdotprecision &a) |
| Implementation of standard negated equality operation.
|
|
cdotprecision | operator+ (const cdotprecision &a) |
| Implementation of standard algebraic positive sign operation.
|
|
cdotprecision | operator+ (const cdotprecision &a, const cdotprecision &b) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision | operator+ (const cdotprecision &a, const complex &b) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision | operator+ (const cdotprecision &a, const dotprecision &b) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision | operator+ (const cdotprecision &a, const l_real &b) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision | operator+ (const cdotprecision &a, const real &b) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision | operator+ (const complex &b, const cdotprecision &a) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision | operator+ (const dotprecision &b, const cdotprecision &a) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision | operator+ (const l_real &b, const cdotprecision &a) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision | operator+ (const real &b, const cdotprecision &a) |
| Implementation of standard algebraic addition operation.
|
|
cdotprecision & | operator+= (cdotprecision &a, const cdotprecision &b) |
| Implementation of standard algebraic addition and allocation operation.
|
|
cdotprecision & | operator+= (cdotprecision &a, const complex &b) |
| Implementation of standard algebraic addition and allocation operation.
|
|
cdotprecision & | operator+= (cdotprecision &a, const dotprecision &b) |
| Implementation of standard algebraic addition and allocation operation.
|
|
cdotprecision & | operator+= (cdotprecision &a, const l_real &b) |
| Implementation of standard algebraic addition and allocation operation.
|
|
cdotprecision & | operator+= (cdotprecision &a, const real &b) |
| Implementation of standard algebraic addition and allocation operation.
|
|
cdotprecision | operator- (const cdotprecision &a) |
| Implementation of standard algebraic negative sign operation.
|
|
cdotprecision | operator- (const cdotprecision &a, const cdotprecision &b) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision | operator- (const cdotprecision &a, const complex &b) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision | operator- (const cdotprecision &a, const dotprecision &b) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision | operator- (const cdotprecision &a, const l_real &b) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision | operator- (const cdotprecision &a, const real &b) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision | operator- (const complex &a, const cdotprecision &b) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision | operator- (const dotprecision &a, const cdotprecision &b) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision | operator- (const l_real &b, const cdotprecision &a) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision | operator- (const real &a, const cdotprecision &b) |
| Implementation of standard algebraic subtraction operation.
|
|
cdotprecision & | operator-= (cdotprecision &a, const cdotprecision &b) |
| Implementation of standard algebraic subtraction and allocation operation.
|
|
cdotprecision & | operator-= (cdotprecision &a, const complex &b) |
| Implementation of standard algebraic subtraction and allocation operation.
|
|
cdotprecision & | operator-= (cdotprecision &a, const dotprecision &b) |
| Implementation of standard algebraic subtraction and allocation operation.
|
|
cdotprecision & | operator-= (cdotprecision &a, const l_real &b) |
| Implementation of standard algebraic subtraction and allocation operation.
|
|
cdotprecision & | operator-= (cdotprecision &a, const real &b) |
| Implementation of standard algebraic subtraction and allocation operation.
|
|
std::ostream & | operator<< (std::ostream &s, const cdotprecision &a) |
| Implementation of standard output method.
|
|
std::string & | operator<< (std::string &s, const cdotprecision &a) |
| Implementation of standard output method.
|
|
bool | operator== (const cdotprecision &a, const cdotprecision &b) |
| Implementation of standard equality operation.
|
|
bool | operator== (const cdotprecision &a, const complex &c) |
| Implementation of standard equality operation.
|
|
bool | operator== (const cdotprecision &a, const dotprecision &r) |
| Implementation of standard equality operation.
|
|
bool | operator== (const cdotprecision &a, const l_real &c) |
| Implementation of standard equality operation.
|
|
bool | operator== (const cdotprecision &a, const real &c) |
| Implementation of standard equality operation.
|
|
bool | operator== (const complex &c, const cdotprecision &a) |
| Implementation of standard equality operation.
|
|
bool | operator== (const dotprecision &r, const cdotprecision &a) |
| Implementation of standard equality operation.
|
|
bool | operator== (const l_real &c, const cdotprecision &a) |
| Implementation of standard equality operation.
|
|
bool | operator== (const real &c, const cdotprecision &a) |
| Implementation of standard equality operation.
|
|
void | operator>> (const char *s, cdotprecision &a) |
| Implementation of standard input method.
|
|
void | operator>> (const std::string &s, cdotprecision &a) |
| Implementation of standard input method.
|
|
std::istream & | operator>> (std::istream &s, cdotprecision &a) |
| Implementation of standard input method.
|
|
std::string & | operator>> (std::string &s, cdotprecision &a) |
| Implementation of standard input method.
|
|
dotprecision & | Re (cdotprecision &a) |
| Returns the real part of the complex dotprecision value.
|
|
const dotprecision & | Re (const cdotprecision &a) |
| Returns the real part of the complex dotprecision value.
|
|
void | rnd (const cdotprecision &a, complex &b, complex &c) |
| Converting the exact complex dotprecision value with one rounding into the nearest lower and upper complex value.
|
|
void | rnd (const cdotprecision &a, complex &b, rndtype r=RND_NEXT) |
| Converting the exact complex dotprecision value with one rounding into a complex value.
|
|
complex | rnd (const cdotprecision &a, rndtype r=RND_NEXT) |
| Converting the exact complex dotprecision value with one rounding into a complex value.
|
|
void | rnd (const cdotprecision &d, cinterval &x) |
| Converting the exact complex dotprecision value into an interval with the nearest lower and upper bound.
|
|
cdotprecision & | SetIm (cdotprecision &a, const dotprecision &b) |
| Sets the imaginary part of a complex dotprecision value.
|
|
cdotprecision & | SetRe (cdotprecision &a, const dotprecision &b) |
| Sets the real part of a complex dotprecision value.
|
|
The Data Type cdotprecision.
The data types dotprecision, idotprecision, cdotprecision and cidotprecision are based on the scalar data types real, interval, complex, and cinterval, respectively. Variables of these data types permit the exact representation of products of two arbitrary numbers of the corresponding scalar base type and the exact summation of an arbitrary number of such products in a dotprecision accumulator, i.e. in a fixed-point format of suitable size.
Since C-XSC Version 2.3.0, the precision for dot products computed with the dotprecision types can be choosen by the user. The default is precision k=0, which means maximum precision (the behaviour of older C-XSC Versions). For k=1, pure floating point operations are used and an error bound is computed using manipulation of the rounding mode of the processor. For k>=2, the so called DotK algorithm is used, simulating higher precision computations and also computing an error bound. When calling the rnd() function, the error bound will be added to the result interval. The resulting intervals will be wider for lower k, but computations will be significantly faster than with maximum precision (k=0).
- See also
- cxsc::dotprecision
Definition at line 60 of file cdot.hpp.