![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXComplexf.h>
FX::FXComplexf::FXComplexf | ( | ) | [inline] |
Default constructor; value is not initialized.
FX::FXComplexf::FXComplexf | ( | FXfloat | r | ) | [inline] |
Construct from real.
FX::FXComplexf::FXComplexf | ( | const FXComplexf & | c | ) | [inline] |
Initialize from another complex.
FXComplexf& FX::FXComplexf::set | ( | FXfloat | r | ) | [inline] |
Set value from real.
FXComplexf& FX::FXComplexf::set | ( | FXfloat | r, | |
FXfloat | i | |||
) | [inline] |
Set value from components.
FXComplexf& FX::FXComplexf::set | ( | const FXComplexf & | c | ) | [inline] |
Set value from another complex.
FX::FXComplexf::operator FXbool | ( | ) | const [inline] |
Test for non-zero.
FXbool FX::FXComplexf::operator! | ( | ) | const [inline] |
Test if zero.
FXfloat FX::FXComplexf::modulus2 | ( | ) | const [inline] |
FXfloat FX::FXComplexf::modulus | ( | ) | const [inline] |
FXfloat FX::FXComplexf::argument | ( | ) | const [inline] |
Return a non-const reference to the ith element.
Return a const reference to the ith element.
FXComplexf FX::FXComplexf::operator+ | ( | ) | const [inline] |
Unary.
FXComplexf FX::FXComplexf::operator- | ( | ) | const [inline] |
FXComplexf& FX::FXComplexf::operator= | ( | const FXfloat | r | ) | [inline] |
Assignment from real.
FXComplexf& FX::FXComplexf::operator= | ( | const FXComplexf & | c | ) | [inline] |
Assignment from another complex.
FXComplexf& FX::FXComplexf::operator+= | ( | FXfloat | r | ) | [inline] |
Assigning operators with real.
FXComplexf& FX::FXComplexf::operator-= | ( | FXfloat | r | ) | [inline] |
FXComplexf& FX::FXComplexf::operator*= | ( | FXfloat | r | ) | [inline] |
FXComplexf& FX::FXComplexf::operator/= | ( | FXfloat | r | ) | [inline] |
FXComplexf& FX::FXComplexf::operator+= | ( | const FXComplexf & | c | ) | [inline] |
FXComplexf& FX::FXComplexf::operator-= | ( | const FXComplexf & | c | ) | [inline] |
FXComplexf& FX::FXComplexf::operator*= | ( | const FXComplexf & | c | ) | [inline] |
FXComplexf& FX::FXComplexf::operator/= | ( | const FXComplexf & | c | ) | [inline] |
References im, modulus2(), and re.
FXbool FX::FXComplexf::operator== | ( | const FXComplexf & | c | ) | const [inline] |
FXbool FX::FXComplexf::operator!= | ( | const FXComplexf & | c | ) | const [inline] |
FXComplexf conjugate | ( | const FXComplexf & | c | ) | [friend] |
Return complex complex conjugate.
FXComplexf polar | ( | FXfloat | mod, | |
FXfloat | arg | |||
) | [friend] |
Return complex number from modulus and argument.
FXComplexf exponent | ( | const FXComplexf & | c | ) | [friend] |
Returns the complex base e exponential of c.
FXComplexf logarithm | ( | const FXComplexf & | c | ) | [friend] |
Returns the complex base e logarithm of c.
FXbool operator== | ( | const FXComplexf & | c, | |
FXfloat | r | |||
) | [friend] |
Equality between one complex and real.
FXbool operator!= | ( | const FXComplexf & | c, | |
FXfloat | r | |||
) | [friend] |
FXbool operator== | ( | FXfloat | r, | |
const FXComplexf & | c | |||
) | [friend] |
Equality between one real and complex.
FXbool operator!= | ( | FXfloat | r, | |
const FXComplexf & | c | |||
) | [friend] |
FXComplexf operator+ | ( | const FXComplexf & | a, | |
const FXComplexf & | b | |||
) | [friend] |
Operators between one complex and another.
FXComplexf operator- | ( | const FXComplexf & | a, | |
const FXComplexf & | b | |||
) | [friend] |
FXComplexf operator* | ( | const FXComplexf & | a, | |
const FXComplexf & | b | |||
) | [friend] |
FXComplexf operator/ | ( | const FXComplexf & | a, | |
const FXComplexf & | b | |||
) | [friend] |
FXComplexf operator+ | ( | const FXComplexf & | a, | |
FXfloat | b | |||
) | [friend] |
Operators between complex and real.
FXComplexf operator- | ( | const FXComplexf & | a, | |
FXfloat | b | |||
) | [friend] |
FXComplexf operator* | ( | const FXComplexf & | a, | |
FXfloat | b | |||
) | [friend] |
FXComplexf operator/ | ( | const FXComplexf & | a, | |
FXfloat | b | |||
) | [friend] |
FXComplexf operator+ | ( | FXfloat | a, | |
const FXComplexf & | b | |||
) | [friend] |
Operators between real and complex.
FXComplexf operator- | ( | FXfloat | a, | |
const FXComplexf & | b | |||
) | [friend] |
FXComplexf operator* | ( | FXfloat | a, | |
const FXComplexf & | b | |||
) | [friend] |
FXComplexf operator/ | ( | FXfloat | a, | |
const FXComplexf & | b | |||
) | [friend] |
FXStream& operator<< | ( | FXStream & | store, | |
const FXComplexf & | c | |||
) | [friend] |
Save to a stream.
FXStream& operator>> | ( | FXStream & | store, | |
FXComplexf & | c | |||
) | [friend] |
Load from a stream.
![]() |