Class : Complex
Complex :
prototype: Complex ()
description:constructors
Complex :
prototype: Complex (double , double x2 )
description:constructors
Complex :
prototype: Complex (double x1 )
description:constructors
Complex :
prototype: Complex (const Complex& z )
description:constructors
~Complex :
prototype: ~Complex ()
description:destructor
operator = :
prototype: Complex& operator = (const Complex& z )
description:assignement
operator = :
prototype: Complex& operator = (double x )
description:assignement
Real :
prototype: friend double Real (const Complex& z )
description:basic operations on complex numbers
return real part of z
Imag :
prototype: friend double Imag (const Complex& z )
description:return imaginary part of z
Norm :
prototype: friend double Norm (const Complex& z )
description:return norm of z
Arg :
prototype: friend double Arg (const Complex& z )
description:return argument of z
Conj :
prototype: friend Complex Conj (const Complex& z )
description:return complex conjugate
Polar :
prototype: friend Complex Polar (double , double theta )
description:return complex corresponding to the polar definition
operator += :
prototype: Complex& operator += (const Complex& z )
description:basic arithmetic operations
operator -= :
prototype: Complex& operator -= (const Complex& z )
description:basic arithmetic operations
operator *= :
prototype: Complex& operator *= (const Complex& z )
description:basic arithmetic operations
operator /= :
prototype: Complex& operator /= (const Complex& z )
description:basic arithmetic operations
operator += :
prototype: Complex& operator += (const double x )
description:basic arithmetic operations
operator -= :
prototype: Complex& operator -= (const double x )
description:basic arithmetic operations
operator *= :
prototype: Complex& operator *= (const double x )
description:basic arithmetic operations
operator /= :
prototype: Complex& operator /= (const double x )
description:basic arithmetic operations
operator + :
prototype: friend Complex operator + (const Complex& , const Complex& z2 )
description:basic arithmetic operations
operator - :
prototype: friend Complex operator - (const Complex& , const Complex& z2 )
description:basic arithmetic operations
operator * :
prototype: friend Complex operator * (const Complex& , const Complex& z2 )
description:basic arithmetic operations
operator / :
prototype: friend Complex operator / (const Complex& , const Complex& z2 )
description:basic arithmetic operations
operator + :
prototype: friend Complex operator + (const Complex& , double x )
description:basic arithmetic operations
operator - :
prototype: friend Complex operator - (const Complex& , double x )
description:basic arithmetic operations
operator * :
prototype: friend Complex operator * (const Complex& , double x )
description:basic arithmetic operations
operator / :
prototype: friend Complex operator / (const Complex& , double x )
description:basic arithmetic operations
operator + :
prototype: friend Complex operator + (double , const Complex& z )
description:basic arithmetic operations
operator - :
prototype: friend Complex operator - (double , const Complex& z )
description:basic arithmetic operations
operator * :
prototype: friend Complex operator * (double , const Complex& z )
description:basic arithmetic operations
operator / :
prototype: friend Complex operator / (double , const Complex& z )
description:basic arithmetic operations
operator + :
prototype: friend Complex operator + (const Complex& z )
description:basic arithmetic operations
operator - :
prototype: friend Complex operator - (const Complex& z )
description:basic arithmetic operations
operator == :
prototype: friend bool operator == (const Complex& , const Complex& z2 )
description:logical operations
operator != :
prototype: friend bool operator != (const Complex& , const Complex& z2 )
description:logical operations
exp :
prototype: friend Complex exp (const Complex& z )
description:basic mathematical functions
exponential
ln :
prototype: friend Complex ln (const Complex& z )
description:logarithme
log :
prototype: friend Complex log (const Complex& z )
description:decimal logarithme
ch :
prototype: friend Complex ch (const Complex& z )
description:hyperbolic cosine
sh :
prototype: friend Complex sh (const Complex& z )
description:hyperbolic sine
th :
prototype: friend Complex th (const Complex& z )
description:hyperbolic tangent
coth :
prototype: friend Complex coth (const Complex& z )
description:hyperbolic cotangent
cos :
prototype: friend Complex cos (const Complex& z )
description:cosine
sin :
prototype: friend Complex sin (const Complex& z )
description:sine
tan :
prototype: friend Complex tan (const Complex& z )
description:tangent
cotan :
prototype: friend Complex cotan (const Complex& z )
description:cotangent
sqrt :
prototype: friend Complex sqrt (const Complex& z )
description:square root (returning those corresponding to argument arg(z)/2)
arccos :
prototype: friend Complex arccos (const Complex& z )
description:arccosine
arcsin :
prototype: friend Complex arcsin (const Complex& z )
description:arcsine
arctan :
prototype: friend Complex arctan (const Complex& z )
description:arctangent
argch :
prototype: friend Complex argch (const Complex& z )
description:hyperbolic arccosine
argsh :
prototype: friend Complex argsh (const Complex& z )
description:hyperbolic arcsine
argth :
prototype: friend Complex argth (const Complex& z )
description:hyperbolic arctangent
pow :
prototype: friend Complex pow (const Complex& , const double y )
description:z power y with y real
pow :
prototype: friend Complex pow (const Complex& , const Complex& y )
description:z power y
pow :
prototype: friend Complex pow (const double , const Complex& z )
description:y power z with y real
I :
prototype: friend Complex I ()
description:define i
operator << :
prototype: friend ostream& operator << (ostream& , const Complex& z )
description:Output Stream overload
input parameters:
Str = output stream
z = complex value to print
return value: reference on current output stream
operator << :
prototype: friend MathematicaOutput& operator << (MathematicaOutput& , const Complex& z )
description:Mathematica Output Stream overload
input parameters:
Str = reference on Mathematica output stream
z = complex value to print
return value: reference on output stream
Back to index.