C-XSC - A C++ Class Library for Extended Scientific Computing 2.5.4
cxsc::l_complex Class Reference

The Multiple-Precision Data Type l_complex. More...

#include <l_complex.hpp>

Collaboration diagram for cxsc::l_complex:
Collaboration graph

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 (const cdotprecision &cd) noexcept
 Constructor of class l_complex.
 
 l_complex (const complex &r) noexcept
 Constructor of class l_complex.
 
 l_complex (const dotprecision &d) noexcept
 Constructor of class l_complex.
 
 l_complex (const l_real &a, const l_real &b) noexcept
 Constructor of class l_complex.
 
 l_complex (const l_real &r) noexcept
 Constructor of class l_complex.
 
 l_complex (const real &a, const real &b) noexcept
 Constructor of class l_complex.
 
 l_complex (const real &r) noexcept
 Constructor of class l_complex.
 
 l_complex (void) noexcept
 Constructor of class l_complex.
 
l_complex operator* (const l_real &) const noexcept
 Implementation of standard algebraic multiplication operation.
 
l_complex operator* (const real &) const noexcept
 Implementation of standard algebraic multiplication operation.
 
l_complex operator+ (const complex &) const noexcept
 Implementation of standard algebraic positive sign operation.
 
l_complex operator+ (const l_real &) const noexcept
 Implementation of standard algebraic positive sign operation.
 
l_complex operator+ (const real &) const noexcept
 Implementation of standard algebraic positive sign operation.
 
l_complex operator- (const complex &) const noexcept
 Implementation of standard algebraic negative sign operation.
 
l_complex operator- (const l_real &) const noexcept
 Implementation of standard algebraic negative sign operation.
 
l_complex operator- (const real &) const noexcept
 Implementation of standard algebraic negative sign operation.
 
l_complexoperator= (const cdotprecision &cd) noexcept
 Implementation of standard assigning operator.
 
l_complexoperator= (const complex &c) noexcept
 Implementation of standard assigning operator.
 
l_complexoperator= (const dotprecision &d) noexcept
 Implementation of standard assigning operator.
 
l_complexoperator= (const l_real &lr) noexcept
 Implementation of standard assigning operator.
 
l_complexoperator= (const lx_complex &) noexcept
 Implementation of standard assigning operator.
 
l_complexoperator= (const real &r) noexcept
 Implementation of standard assigning operator.
 

Friends

l_complex _l_complex (const cdotprecision &cd) noexcept
 
l_real abs (const l_complex &z) noexcept
 The absolute value of a l_complex value.
 
l_real abs2 (const l_complex &a) noexcept
 The absolute value of a l_complex value.
 
void accumulate (cdotprecision &, const l_complex &, const complex &) noexcept
 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_complex &) noexcept
 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 &) noexcept
 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 &) noexcept
 The accurate scalar product of the last two arguments added to the value of the first argument.
 
l_complex conj (const l_complex &) noexcept
 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 (const l_complex &a)
 Returns the imaginary part of the complex value.
 
l_realIm (l_complex &a)
 Returns the imaginary part of the complex value.
 
bool operator!= (const cdotprecision &, const l_complex &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const complex &, const l_complex &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const dotprecision &, const l_complex &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const l_complex &, const cdotprecision &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const l_complex &, const complex &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const l_complex &, const dotprecision &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const l_complex &, const l_complex &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const l_complex &, const l_real &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const l_complex &, const real &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const l_real &, const l_complex &) noexcept
 Implementation of standard negated equality operation.
 
bool operator!= (const real &, const l_complex &) noexcept
 Implementation of standard negated equality operation.
 
l_complex operator* (const complex &b, const l_complex &a) noexcept
 Implementation of standard algebraic multiplication operation.
 
l_complex operator* (const l_complex &a, const complex &b) noexcept
 Implementation of standard algebraic multiplication operation.
 
l_complex operator* (const l_complex &a, const l_complex &b) noexcept
 Implementation of standard algebraic multiplication operation.
 
l_complex operator* (const l_real &, const l_complex &) noexcept
 Implementation of standard algebraic multiplication operation.
 
l_complex operator* (const real &, const l_complex &) noexcept
 Implementation of standard algebraic multiplication operation.
 
l_complexoperator*= (l_complex &, const complex &) noexcept
 Implementation of standard algebraic multiplication and allocation operation.
 
l_complexoperator*= (l_complex &, const l_complex &) noexcept
 Implementation of standard algebraic multiplication and allocation operation.
 
l_complexoperator*= (l_complex &, const l_real &) noexcept
 Implementation of standard algebraic multiplication and allocation operation.
 
l_complexoperator*= (l_complex &, const real &) noexcept
 Implementation of standard algebraic multiplication and allocation operation.
 
cdotprecision operator+ (const cdotprecision &, const l_complex &) noexcept
 Implementation of standard algebraic addition operation.
 
l_complex operator+ (const complex &, const l_complex &) noexcept
 Implementation of standard algebraic addition operation.
 
cdotprecision operator+ (const dotprecision &, const l_complex &) noexcept
 Implementation of standard algebraic addition operation.
 
l_complex operator+ (const l_complex &)
 Implementation of standard algebraic positive sign operation.
 
cdotprecision operator+ (const l_complex &, const cdotprecision &) noexcept
 Implementation of standard algebraic addition operation.
 
cdotprecision operator+ (const l_complex &, const dotprecision &) noexcept
 Implementation of standard algebraic addition operation.
 
l_complex operator+ (const l_complex &, const l_complex &) noexcept
 Implementation of standard algebraic addition operation.
 
l_complex operator+ (const l_real &, const l_complex &) noexcept
 Implementation of standard algebraic addition operation.
 
l_complex operator+ (const real &, const l_complex &) noexcept
 Implementation of standard algebraic addition operation.
 
cdotprecisionoperator+= (cdotprecision &cd, const l_complex &lc) noexcept
 Implementation of standard algebraic addition and allocation operation.
 
l_complexoperator+= (l_complex &, const complex &) noexcept
 Implementation of standard algebraic addition and allocation operation.
 
l_complexoperator+= (l_complex &, const l_complex &) noexcept
 Implementation of standard algebraic addition and allocation operation.
 
l_complexoperator+= (l_complex &, const l_real &) noexcept
 Implementation of standard algebraic addition and allocation operation.
 
l_complexoperator+= (l_complex &, const real &) noexcept
 Implementation of standard algebraic addition and allocation operation.
 
cdotprecision operator- (const cdotprecision &, const l_complex &) noexcept
 Implementation of standard algebraic subtraction operation.
 
l_complex operator- (const complex &, const l_complex &) noexcept
 Implementation of standard algebraic subtraction operation.
 
cdotprecision operator- (const dotprecision &, const l_complex &) noexcept
 Implementation of standard algebraic subtraction operation.
 
l_complex operator- (const l_complex &)
 Implementation of standard algebraic negative sign operation.
 
cdotprecision operator- (const l_complex &, const cdotprecision &) noexcept
 Implementation of standard algebraic subtraction operation.
 
cdotprecision operator- (const l_complex &, const dotprecision &) noexcept
 Implementation of standard algebraic subtraction operation.
 
l_complex operator- (const l_complex &, const l_complex &) noexcept
 Implementation of standard algebraic subtraction operation.
 
l_complex operator- (const l_real &, const l_complex &) noexcept
 Implementation of standard algebraic subtraction operation.
 
l_complex operator- (const real &, const l_complex &) noexcept
 Implementation of standard algebraic subtraction operation.
 
cdotprecisionoperator-= (cdotprecision &cd, const l_complex &lc) noexcept
 Implementation of standard algebraic subtraction and allocation operation.
 
l_complexoperator-= (l_complex &, const complex &) noexcept
 Implementation of standard algebraic subtraction and allocation operation.
 
l_complexoperator-= (l_complex &, const l_complex &) noexcept
 Implementation of standard algebraic subtraction and allocation operation.
 
l_complexoperator-= (l_complex &, const l_real &) noexcept
 Implementation of standard algebraic subtraction and allocation operation.
 
l_complexoperator-= (l_complex &, const real &) noexcept
 Implementation of standard algebraic subtraction and allocation operation.
 
l_complex operator/ (const complex &a, const l_complex &b) noexcept
 Implementation of standard algebraic division operation.
 
l_complex operator/ (const l_complex &, const l_complex &) noexcept
 Implementation of standard algebraic division operation.
 
l_complex operator/ (const l_complex &a, const complex &b) noexcept
 Implementation of standard algebraic division operation.
 
l_complex operator/ (const l_complex &a, const l_real &b) noexcept
 Implementation of standard algebraic division operation.
 
l_complex operator/ (const l_complex &a, const real &b) noexcept
 Implementation of standard algebraic division operation.
 
l_complex operator/ (const l_real &a, const l_complex &b) noexcept
 Implementation of standard algebraic division operation.
 
l_complex operator/ (const real &a, const l_complex &b) noexcept
 Implementation of standard algebraic division operation.
 
l_complexoperator/= (l_complex &, const complex &) noexcept
 Implementation of standard algebraic division and allocation operation.
 
l_complexoperator/= (l_complex &, const l_complex &) noexcept
 Implementation of standard algebraic division and allocation operation.
 
l_complexoperator/= (l_complex &, const l_real &) noexcept
 Implementation of standard algebraic division and allocation operation.
 
l_complexoperator/= (l_complex &, const real &) noexcept
 Implementation of standard algebraic division and allocation operation.
 
std::ostream & operator<< (std::ostream &s, const l_complex &z) noexcept
 Implementation of standard output method.
 
std::string & operator<< (std::string &s, const l_complex &a) noexcept
 Implementation of standard output method.
 
bool operator== (const cdotprecision &, const l_complex &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const complex &, const l_complex &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const dotprecision &, const l_complex &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const l_complex &, const cdotprecision &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const l_complex &, const complex &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const l_complex &, const dotprecision &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const l_complex &, const l_complex &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const l_complex &, const l_real &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const l_complex &, const real &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const l_real &, const l_complex &) noexcept
 Implementation of standard equality operation.
 
bool operator== (const real &, const l_complex &) noexcept
 Implementation of standard equality operation.
 
std::istream & operator>> (std::istream &s, l_complex &a) noexcept
 Implementation of standard input method.
 
std::string & operator>> (std::string &s, l_complex &a) noexcept
 Implementation of standard input method.
 
l_real Re (const l_complex &a)
 Returns the real part of the complex value.
 
l_realRe (l_complex &a)
 Returns the real part of the complex value.
 
l_complexSetIm (l_complex &a, const l_real &b)
 Sets the imaginary part of a complex value.
 
l_complexSetRe (l_complex &a, const l_real &b)
 Sets the real part of a complex value.
 
int StagPrec (const l_complex &) noexcept
 Returns the precision of the long datatype value.
 

Detailed Description

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.

See also
complex

Definition at line 45 of file l_complex.hpp.

Friends And Related Function Documentation

◆ _l_complex

l_complex _l_complex ( const cdotprecision cd)
friend
Deprecated:
use standard contructors for typecasting
See also
cxsc::l_complex::l_complex(const cdotprecision &cd)

Definition at line 113 of file l_complex.hpp.


The documentation for this class was generated from the following files: