C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
The Multiple-Precision Data Type l_complex. More...
#include <l_complex.hpp>
Public Member Functions | |
l_complex | _l_complex (const cdotprecision &) |
Deprecated typecast, which only exist for the reason of compatibility with older versions of C-XSC. | |
l_complex (void) throw () | |
Constructor of class l_complex. | |
l_complex (const l_real &a, const l_real &b) throw () | |
Constructor of class l_complex. | |
l_complex (const real &a, const real &b) throw () | |
Constructor of class l_complex. | |
l_complex (const l_real &r) throw () | |
Constructor of class l_complex. | |
l_complex (const real &r) throw () | |
Constructor of class l_complex. | |
l_complex (const complex &r) throw () | |
Constructor of class l_complex. | |
l_complex (const dotprecision &d) throw () | |
Constructor of class l_complex. | |
l_complex (const cdotprecision &cd) throw () | |
Constructor of class l_complex. | |
l_complex | operator* (const real &) const throw () |
Implementation of standard algebraic multiplication operation. | |
l_complex | operator* (const l_real &) const throw () |
Implementation of standard algebraic multiplication operation. | |
l_complex | operator+ (const complex &) const throw () |
Implementation of standard algebraic positive sign operation. | |
l_complex | operator+ (const real &) const throw () |
Implementation of standard algebraic positive sign operation. | |
l_complex | operator+ (const l_real &) const throw () |
Implementation of standard algebraic positive sign operation. | |
l_complex | operator- (const l_real &) const throw () |
Implementation of standard algebraic negative sign operation. | |
l_complex | operator- (const complex &) const throw () |
Implementation of standard algebraic negative sign operation. | |
l_complex | operator- (const real &) const throw () |
Implementation of standard algebraic negative sign operation. | |
l_complex & | operator= (const l_real &lr) throw () |
Implementation of standard assigning operator. | |
l_complex & | operator= (const real &r) throw () |
Implementation of standard assigning operator. | |
l_complex & | operator= (const complex &c) throw () |
Implementation of standard assigning operator. | |
l_complex & | operator= (const dotprecision &d) throw () |
Implementation of standard assigning operator. | |
l_complex & | operator= (const cdotprecision &cd) throw () |
Implementation of standard assigning operator. | |
l_complex & | operator= (const lx_complex &) throw () |
Implementation of standard assigning operator. | |
Friends | |
l_complex | _l_complex (const cdotprecision &cd) throw () |
l_real | abs (const l_complex &z) throw () |
The absolute value of a l_complex value. | |
l_real | abs2 (const l_complex &a) throw () |
The absolute value of a l_complex value. | |
void | accumulate (cdotprecision &, const l_complex &, const l_complex &) throw () |
The accurate scalar product of the last two arguments added to the value of the first argument. | |
void | accumulate (cdotprecision &, const l_complex &, const complex &) throw () |
The accurate scalar product of the last two arguments added to the value of the first argument. | |
void | accumulate (cdotprecision &, const l_complex &, const real &) throw () |
The accurate scalar product of the last two arguments added to the value of the first argument. | |
void | accumulate (cdotprecision &, const l_complex &, const l_real &) throw () |
The accurate scalar product of the last two arguments added to the value of the first argument. | |
l_complex | conj (const l_complex &) throw () |
Returns the conjugated complex value. | |
l_complex | divdown (const l_complex &, const l_complex &) |
Division of two real values and rounding the result downwards. | |
l_complex | divn (const l_complex &, const l_complex &) |
Division of two real values and rounding to the nearest value. | |
l_complex | divup (const l_complex &, const l_complex &) |
Division of two real values and rounding the result upwards. | |
l_real & | Im (l_complex &a) |
Returns the imaginary part of the complex value. | |
l_real | Im (const l_complex &a) |
Returns the imaginary part of the complex value. | |
bool | operator!= (const l_complex &, const l_complex &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const l_complex &, const complex &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const complex &, const l_complex &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const l_complex &, const real &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const real &, const l_complex &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const l_complex &, const l_real &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const l_real &, const l_complex &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const l_complex &, const dotprecision &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const dotprecision &, const l_complex &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const cdotprecision &, const l_complex &) throw () |
Implementation of standard negated equality operation. | |
bool | operator!= (const l_complex &, const cdotprecision &) throw () |
Implementation of standard negated equality operation. | |
l_complex | operator* (const l_complex &a, const l_complex &b) throw () |
Implementation of standard algebraic multiplication operation. | |
l_complex | operator* (const l_complex &a, const complex &b) throw () |
Implementation of standard algebraic multiplication operation. | |
l_complex | operator* (const complex &b, const l_complex &a) throw () |
Implementation of standard algebraic multiplication operation. | |
l_complex | operator* (const real &, const l_complex &) throw () |
Implementation of standard algebraic multiplication operation. | |
l_complex | operator* (const l_real &, const l_complex &) throw () |
Implementation of standard algebraic multiplication operation. | |
l_complex & | operator*= (l_complex &, const l_complex &) throw () |
Implementation of standard algebraic multiplication and allocation operation. | |
l_complex & | operator*= (l_complex &, const complex &) throw () |
Implementation of standard algebraic multiplication and allocation operation. | |
l_complex & | operator*= (l_complex &, const real &) throw () |
Implementation of standard algebraic multiplication and allocation operation. | |
l_complex & | operator*= (l_complex &, const l_real &) throw () |
Implementation of standard algebraic multiplication and allocation operation. | |
l_complex | operator+ (const l_complex &) |
Implementation of standard algebraic positive sign operation. | |
l_complex | operator+ (const l_complex &, const l_complex &) throw () |
Implementation of standard algebraic addition operation. | |
l_complex | operator+ (const complex &, const l_complex &) throw () |
Implementation of standard algebraic addition operation. | |
l_complex | operator+ (const real &, const l_complex &) throw () |
Implementation of standard algebraic addition operation. | |
l_complex | operator+ (const l_real &, const l_complex &) throw () |
Implementation of standard algebraic addition operation. | |
cdotprecision | operator+ (const l_complex &, const cdotprecision &) throw () |
Implementation of standard algebraic addition operation. | |
cdotprecision | operator+ (const cdotprecision &, const l_complex &) throw () |
Implementation of standard algebraic addition operation. | |
cdotprecision | operator+ (const l_complex &, const dotprecision &) throw () |
Implementation of standard algebraic addition operation. | |
cdotprecision | operator+ (const dotprecision &, const l_complex &) throw () |
Implementation of standard algebraic addition operation. | |
cdotprecision & | operator+= (cdotprecision &cd, const l_complex &lc) throw () |
Implementation of standard algebraic addition and allocation operation. | |
l_complex & | operator+= (l_complex &, const l_complex &) throw () |
Implementation of standard algebraic addition and allocation operation. | |
l_complex & | operator+= (l_complex &, const complex &) throw () |
Implementation of standard algebraic addition and allocation operation. | |
l_complex & | operator+= (l_complex &, const real &) throw () |
Implementation of standard algebraic addition and allocation operation. | |
l_complex & | operator+= (l_complex &, const l_real &) throw () |
Implementation of standard algebraic addition and allocation operation. | |
l_complex | operator- (const l_complex &) |
Implementation of standard algebraic negative sign operation. | |
l_complex | operator- (const l_complex &, const l_complex &) throw () |
Implementation of standard algebraic subtraction operation. | |
l_complex | operator- (const l_real &, const l_complex &) throw () |
Implementation of standard algebraic subtraction operation. | |
l_complex | operator- (const complex &, const l_complex &) throw () |
Implementation of standard algebraic subtraction operation. | |
l_complex | operator- (const real &, const l_complex &) throw () |
Implementation of standard algebraic subtraction operation. | |
cdotprecision | operator- (const l_complex &, const cdotprecision &) throw () |
Implementation of standard algebraic subtraction operation. | |
cdotprecision | operator- (const cdotprecision &, const l_complex &) throw () |
Implementation of standard algebraic subtraction operation. | |
cdotprecision | operator- (const l_complex &, const dotprecision &) throw () |
Implementation of standard algebraic subtraction operation. | |
cdotprecision | operator- (const dotprecision &, const l_complex &) throw () |
Implementation of standard algebraic subtraction operation. | |
cdotprecision & | operator-= (cdotprecision &cd, const l_complex &lc) throw () |
Implementation of standard algebraic subtraction and allocation operation. | |
l_complex & | operator-= (l_complex &, const l_complex &) throw () |
Implementation of standard algebraic subtraction and allocation operation. | |
l_complex & | operator-= (l_complex &, const complex &) throw () |
Implementation of standard algebraic subtraction and allocation operation. | |
l_complex & | operator-= (l_complex &, const real &) throw () |
Implementation of standard algebraic subtraction and allocation operation. | |
l_complex & | operator-= (l_complex &, const l_real &) throw () |
Implementation of standard algebraic subtraction and allocation operation. | |
l_complex | operator/ (const l_complex &, const l_complex &) throw () |
Implementation of standard algebraic division operation. | |
l_complex | operator/ (const l_complex &a, const complex &b) throw () |
Implementation of standard algebraic division operation. | |
l_complex | operator/ (const l_complex &a, const l_real &b) throw () |
Implementation of standard algebraic division operation. | |
l_complex | operator/ (const l_complex &a, const real &b) throw () |
Implementation of standard algebraic division operation. | |
l_complex | operator/ (const complex &a, const l_complex &b) throw () |
Implementation of standard algebraic division operation. | |
l_complex | operator/ (const real &a, const l_complex &b) throw () |
Implementation of standard algebraic division operation. | |
l_complex | operator/ (const l_real &a, const l_complex &b) throw () |
Implementation of standard algebraic division operation. | |
l_complex & | operator/= (l_complex &, const l_complex &) throw () |
Implementation of standard algebraic division and allocation operation. | |
l_complex & | operator/= (l_complex &, const complex &) throw () |
Implementation of standard algebraic division and allocation operation. | |
l_complex & | operator/= (l_complex &, const real &) throw () |
Implementation of standard algebraic division and allocation operation. | |
l_complex & | operator/= (l_complex &, const l_real &) throw () |
Implementation of standard algebraic division and allocation operation. | |
std::ostream & | operator<< (std::ostream &s, const l_complex &z) throw () |
Implementation of standard output method. | |
std::string & | operator<< (std::string &s, const l_complex &a) throw () |
Implementation of standard output method. | |
bool | operator== (const l_complex &, const l_complex &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const l_complex &, const complex &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const complex &, const l_complex &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const l_complex &, const real &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const real &, const l_complex &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const l_complex &, const l_real &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const l_real &, const l_complex &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const l_complex &, const dotprecision &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const dotprecision &, const l_complex &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const cdotprecision &, const l_complex &) throw () |
Implementation of standard equality operation. | |
bool | operator== (const l_complex &, const cdotprecision &) throw () |
Implementation of standard equality operation. | |
std::istream & | operator>> (std::istream &s, l_complex &a) throw () |
Implementation of standard input method. | |
std::string & | operator>> (std::string &s, l_complex &a) throw () |
Implementation of standard input method. | |
l_real & | Re (l_complex &a) |
Returns the real part of the complex value. | |
l_real | Re (const l_complex &a) |
Returns the real part of the complex value. | |
l_complex & | SetIm (l_complex &a, const l_real &b) |
Sets the imaginary part of a complex value. | |
l_complex & | SetRe (l_complex &a, const l_real &b) |
Sets the real part of a complex value. | |
int | StagPrec (const l_complex &) throw () |
Returns the precision of the long datatype value. |
The Multiple-Precision Data Type l_complex.
The multiple-precision data type l_complex is a variant of the scalar type complex, which provides support for longer numbers, thus increasing the accuracy of the data type.
Definition at line 45 of file l_complex.hpp.
l_complex _l_complex | ( | const cdotprecision & | cd | ) | throw () [friend] |
Definition at line 113 of file l_complex.hpp.