IntegerComplex Class Reference

Contains integer real and imaginary values. More...

#include <ComplexData.h>

List of all members.

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


Detailed Description

Contains integer real and imaginary values.

See also:
FloatComplex

Definition at line 32 of file ComplexData.h.


Constructor & Destructor Documentation

IntegerComplex::IntegerComplex (  ) 

Creates an default IntegerComplex object.

Definition at line 38 of file ComplexData.h.

IntegerComplex::IntegerComplex ( short  real,
short  imaginary 
)

Creates an IntegerComplex object with initial values.

Parameters:
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.


Member Function Documentation

double IntegerComplex::operator[] ( ComplexComponent  component  )  const

Definition at line 51 of file ComplexData.h.

float IntegerComplex::getMagnitude (  )  const

Returns the magnitude of the data.

Returns:
The magnitude.

Definition at line 84 of file ComplexData.h.

float IntegerComplex::getPhase (  )  const

Returns the phase angle of the data.

Returns:
The phase angle in radians.

Definition at line 95 of file ComplexData.h.


Member Data Documentation

Definition at line 101 of file ComplexData.h.

Definition at line 102 of file ComplexData.h.


Software Development Kit - Opticks 4.9.0 Build 16218