#include <ComplexData.h>
Public Member Functions | |
| IntegerComplex () | |
| IntegerComplex (short real, short imaginary) | |
| IntegerComplex (double real) | |
| double | operator[] (ComplexComponent component) const |
| float | getMagnitude () const |
| float | getPhase () const |
Public Attributes | |
| short | mReal |
| short | mImaginary |
Definition at line 32 of file ComplexData.h.
| IntegerComplex::IntegerComplex | ( | ) |
| IntegerComplex::IntegerComplex | ( | short | real, | |
| short | imaginary | |||
| ) |
Creates an IntegerComplex object with initial values.
| real | The real or in-phase component value. | |
| imaginary | The imaginary or quadrature component value. |
Definition at line 48 of file ComplexData.h.
| IntegerComplex::IntegerComplex | ( | double | real | ) |
Definition at line 49 of file ComplexData.h.
| double IntegerComplex::operator[] | ( | ComplexComponent | component | ) | const |
Definition at line 51 of file ComplexData.h.
| float IntegerComplex::getMagnitude | ( | ) | const |
Returns the magnitude of the data.
Definition at line 84 of file ComplexData.h.
| float IntegerComplex::getPhase | ( | ) | const |
Returns the phase angle of the data.
Definition at line 95 of file ComplexData.h.
| short IntegerComplex::mReal |
Definition at line 101 of file ComplexData.h.
Definition at line 102 of file ComplexData.h.