GClasses
GClasses::ComplexNumber Struct Reference

#include <GFourier.h>

Public Member Functions

void interpolate (ComplexNumber &a, double w, ComplexNumber &b)
 Performs polar interpolation. If w is close to zero, most weight will be given to a. If w is close to 1, most weight will be given to b. More...
 
void multiply (struct ComplexNumber *pOther)
 
double squaredMagnitude ()
 Returns the squared magnitude of this value. More...
 

Public Attributes

double imag
 
double real
 

Member Function Documentation

void GClasses::ComplexNumber::interpolate ( ComplexNumber a,
double  w,
ComplexNumber b 
)

Performs polar interpolation. If w is close to zero, most weight will be given to a. If w is close to 1, most weight will be given to b.

void GClasses::ComplexNumber::multiply ( struct ComplexNumber pOther)
inline
double GClasses::ComplexNumber::squaredMagnitude ( )
inline

Returns the squared magnitude of this value.

Member Data Documentation

double GClasses::ComplexNumber::imag
double GClasses::ComplexNumber::real