#include <ComplexData.h>
Public Member Functions | |
| FloatComplex () | |
| FloatComplex (float real, float imaginary) | |
| FloatComplex (double real) | |
| double | operator[] (ComplexComponent component) const |
| float | getMagnitude () const |
| float | getPhase () const |
Public Attributes | |
| float | mReal |
| float | mImaginary |
Definition at line 110 of file ComplexData.h.
| FloatComplex::FloatComplex | ( | ) |
| FloatComplex::FloatComplex | ( | float | real, | |
| float | imaginary | |||
| ) |
Creates an FloatComplex object with initial values.
| real | The real or in-phase component value. | |
| imaginary | The imaginary or quadrature component value. |
Definition at line 126 of file ComplexData.h.
| FloatComplex::FloatComplex | ( | double | real | ) |
Definition at line 127 of file ComplexData.h.
| double FloatComplex::operator[] | ( | ComplexComponent | component | ) | const |
Definition at line 129 of file ComplexData.h.
| float FloatComplex::getMagnitude | ( | ) | const |
Returns the magnitude of the data.
Definition at line 162 of file ComplexData.h.
| float FloatComplex::getPhase | ( | ) | const |
Returns the phase angle of the data.
Definition at line 173 of file ComplexData.h.
| float FloatComplex::mReal |
Definition at line 179 of file ComplexData.h.
| float FloatComplex::mImaginary |
Definition at line 180 of file ComplexData.h.