RTXI 1.3
plugins/include/DSP/complex.h File Reference
#include <math.h>
#include <iostream>

Go to the source code of this file.

Classes

class  complex

Functions

double real (const complex &_z)
double imag (const complex &_z)
complex conj (const complex _z)
double norm (const complex _z)
double cabs (const complex _z)
double mag (const complex _z)
double mag_sqrd (const complex _z)
double arg (const complex _z)
complex cexp (const complex _z)
complex sqrt (const complex _z)
complex operator- (const complex _z)
complex operator+ (const complex _z1, const complex _z2)
complex operator- (const complex _z1, const complex _z2)
complex operator* (const complex _z1, double _v2)
complex operator* (double _v1, const complex _z2)
complex operator/ (const complex z1, double v2)
complex operator* (const complex value1, const complex value2)
std::ostream & operator<< (std::ostream &, const complex &)
std::istream & operator>> (std::istream &, complex &)

Function Documentation

double arg ( const complex  _z) [inline]

Definition at line 81 of file complex.h.

double cabs ( const complex  _z) [inline]

Definition at line 78 of file complex.h.

complex cexp ( const complex  _z) [inline]

Definition at line 84 of file complex.h.

complex conj ( const complex  _z) [inline]

Definition at line 75 of file complex.h.

double imag ( const complex _z) [inline]

Definition at line 74 of file complex.h.

double mag ( const complex  _z) [inline]

Definition at line 79 of file complex.h.

double mag_sqrd ( const complex  _z) [inline]

Definition at line 80 of file complex.h.

double norm ( const complex  _z) [inline]

Definition at line 77 of file complex.h.

complex operator* ( const complex  value1,
const complex  value2 
) [inline]

Definition at line 121 of file complex.h.

complex operator* ( const complex  _z1,
double  _v2 
) [inline]

Definition at line 112 of file complex.h.

complex operator* ( double  _v1,
const complex  _z2 
) [inline]

Definition at line 115 of file complex.h.

complex operator+ ( const complex  _z1,
const complex  _z2 
) [inline]

Definition at line 104 of file complex.h.

complex operator- ( const complex  _z1,
const complex  _z2 
) [inline]

Definition at line 108 of file complex.h.

complex operator- ( const complex  _z) [inline]

Definition at line 101 of file complex.h.

complex operator/ ( const complex  z1,
double  v2 
) [inline]

Definition at line 118 of file complex.h.

std::ostream& operator<< ( std::ostream &  ,
const complex  
)

Definition at line 10 of file complex.cpp.

std::istream& operator>> ( std::istream &  ,
complex  
)

Definition at line 16 of file complex.cpp.

double real ( const complex _z) [inline]

Definition at line 73 of file complex.h.

complex sqrt ( const complex  _z) [inline]

Definition at line 92 of file complex.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines