![]() |
PeriDyno 1.0.0
|
#include <Complex.h>
Public Member Functions | |
DYN_FUNC | Complex () |
DYN_FUNC | Complex (Real real, Real imag=Real(0)) |
DYN_FUNC Real | realPart () const |
DYN_FUNC Real | imagPart () const |
DYN_FUNC Real & | realPart () |
DYN_FUNC Real & | imagPart () |
DYN_FUNC Complex< Real > | conjugate () const |
DYN_FUNC Real | norm () const |
DYN_FUNC Real | normSquared () const |
DYN_FUNC bool | isReal () const |
DYN_FUNC const Complex< Real > | operator+ (const Complex< Real > &other) const |
DYN_FUNC const Complex< Real > | operator- (const Complex< Real > &other) const |
DYN_FUNC const Complex< Real > | operator* (const Complex< Real > &other) const |
DYN_FUNC const Complex< Real > | operator/ (const Complex< Real > &other) const |
DYN_FUNC Complex< Real > & | operator+= (const Complex< Real > &other) |
DYN_FUNC Complex< Real > & | operator-= (const Complex< Real > &other) |
DYN_FUNC Complex< Real > & | operator*= (const Complex< Real > &other) |
DYN_FUNC Complex< Real > & | operator/= (const Complex< Real > &other) |
DYN_FUNC Complex< Real > & | operator= (const Complex< Real > &other) |
DYN_FUNC bool | operator== (const Complex< Real > &other) const |
DYN_FUNC bool | operator!= (const Complex< Real > &other) const |
DYN_FUNC const Complex< Real > | operator+ (const Real &real) const |
DYN_FUNC const Complex< Real > | operator- (const Real &real) const |
DYN_FUNC const Complex< Real > | operator* (const Real &real) const |
DYN_FUNC const Complex< Real > | operator/ (const Real &real) const |
DYN_FUNC Complex< Real > & | operator+= (const Real &real) |
DYN_FUNC Complex< Real > & | operator-= (const Real &real) |
DYN_FUNC Complex< Real > & | operator*= (const Real &real) |
DYN_FUNC Complex< Real > & | operator/= (const Real &real) |
DYN_FUNC const Complex< Real > | operator- (void) const |
Protected Attributes | |
Real | m_real |
Real | m_imag |
DYN_FUNC dyno::Complex< Real >::Complex | ( | ) |
|
explicit |
Definition at line 14 of file Complex.inl.
DYN_FUNC Complex< Real > dyno::Complex< Real >::conjugate | ( | ) | const |
|
inline |
|
inline |
DYN_FUNC bool dyno::Complex< Real >::isReal | ( | ) | const |
Definition at line 229 of file Complex.inl.
DYN_FUNC Real dyno::Complex< Real >::norm | ( | ) | const |
DYN_FUNC Real dyno::Complex< Real >::normSquared | ( | ) | const |
Definition at line 222 of file Complex.inl.
DYN_FUNC bool dyno::Complex< Real >::operator!= | ( | const Complex< Real > & | other | ) | const |
DYN_FUNC Complex< Real > & dyno::Complex< Real >::operator*= | ( | const Complex< Real > & | other | ) |
DYN_FUNC const Complex< Real > dyno::Complex< Real >::operator- | ( | void | ) | const |
DYN_FUNC bool dyno::Complex< Real >::operator== | ( | const Complex< Real > & | other | ) | const |
|
inline |
|
inline |
|
protected |
|
protected |