IM: imcfloat Class Reference

IM - An Imaging Tool

imcfloat Class Reference
[Complex Numbers]


Detailed Description

Complex class using two floats, one for real part, one for the imaginary part.
It is not a complete complex class, we just implement constructors inside the class. All the other operators and functions are external to the class.


Public Member Functions

 imcfloat ()
 imcfloat (const float &r, const float &i)
 imcfloat (const float &r)

Data Fields

float real
float imag

Constructor & Destructor Documentation

imcfloat::imcfloat  )  [inline]
 

Default Constructor (0,0).

00034 :real(0), imag(0) {}

imcfloat::imcfloat const float &  r,
const float &  i
[inline]
 

Constructor from (real, imag).

00037 :real(r),imag(i) {}

imcfloat::imcfloat const float &  r  )  [inline]
 

Constructor from (real).

00040 :real(r),imag(0) {}


Field Documentation

float imcfloat::real
 

Real part.

float imcfloat::imag
 

Imaginary part.


The documentation for this class was generated from the following file: