CLAM-Development
1.4.0
|
#include <ComplexTmplDec.hxx>
Public Member Functions | |
ComplexTmpl (T re=0.f, T im=0.f) | |
ComplexTmpl (const ComplexTmpl< T > &rhs) | |
const T | Real () const |
const T | Imag () const |
void | SetReal (const T re) |
void | SetImag (const T im) |
const T | Mag () const |
returns magnitude | |
const T | SquaredMag () const |
returns squared magnitude | |
const T | Ang () const |
returns angle | |
ComplexTmpl< T > | ToPolar (const T &r, const T &theta) |
function to handle polar coordinates | |
ComplexTmpl< T > & | operator= (const T re) |
complex '=' operator (float) | |
ComplexTmpl< T > & | operator= (const ComplexTmpl< T > &rhs) |
complex '=' operator | |
ComplexTmpl< T > & | operator+= (const ComplexTmpl< T > &rhs) |
complex '+=' operator | |
ComplexTmpl< T > & | operator-= (const ComplexTmpl< T > &rhs) |
complex '-=' operator | |
ComplexTmpl< T > | operator+ (const ComplexTmpl< T > &rhs) const |
complex '+' operator | |
ComplexTmpl< T > | operator- (const ComplexTmpl< T > &rhs) const |
complex '-' operator | |
ComplexTmpl< T > | operator* (const ComplexTmpl< T > &rhs) const |
complex '*' operator | |
ComplexTmpl< T > | operator* (const T &scalar) const |
Product by a scalar. | |
ComplexTmpl< T > | operator/ (const ComplexTmpl< T > &rhs) const |
complex '/' operator | |
bool | operator== (const ComplexTmpl< T > &b) const |
complex '==' operator | |
bool | operator!= (const ComplexTmpl< T > &b) const |
complex '!=' operator |
Definition at line 33 of file ComplexTmplDec.hxx.
|
inline |
Definition at line 40 of file ComplexTmplDec.hxx.
|
inline |
Definition at line 41 of file ComplexTmplDec.hxx.
|
inline |
|
inline |
Definition at line 44 of file ComplexTmplDec.hxx.
|
inline |
returns magnitude
Definition at line 50 of file ComplexTmplDec.hxx.
References CLAM::Abs(), and CLAM_sqrt().
|
inline |
complex '!=' operator
Definition at line 154 of file ComplexTmplDec.hxx.
|
inline |
complex '*' operator
Definition at line 128 of file ComplexTmplDec.hxx.
|
inline |
Product by a scalar.
Definition at line 134 of file ComplexTmplDec.hxx.
|
inline |
complex '+' operator
Definition at line 116 of file ComplexTmplDec.hxx.
|
inline |
complex '+=' operator
Definition at line 100 of file ComplexTmplDec.hxx.
|
inline |
complex '-' operator
Definition at line 122 of file ComplexTmplDec.hxx.
|
inline |
complex '-=' operator
Definition at line 108 of file ComplexTmplDec.hxx.
|
inline |
complex '/' operator
Definition at line 140 of file ComplexTmplDec.hxx.
|
inline |
complex '=' operator (float)
Definition at line 83 of file ComplexTmplDec.hxx.
|
inline |
complex '=' operator
Definition at line 91 of file ComplexTmplDec.hxx.
|
inline |
complex '==' operator
Definition at line 148 of file ComplexTmplDec.hxx.
|
inline |
Definition at line 43 of file ComplexTmplDec.hxx.
|
inline |
Definition at line 47 of file ComplexTmplDec.hxx.
Referenced by CLAM::operator>>(), and CLAM::LPModel::ToSpectrum().
|
inline |
Definition at line 46 of file ComplexTmplDec.hxx.
Referenced by CLAM::operator>>(), and CLAM::LPModel::ToSpectrum().
|
inline |
returns squared magnitude
Definition at line 63 of file ComplexTmplDec.hxx.
|
inline |
function to handle polar coordinates
Definition at line 75 of file ComplexTmplDec.hxx.
References CLAM_cos(), and CLAM_sin().