Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omComplex.h File Reference
#include "omMathConfig.h"
#include "../data/omString.h"
#include "../data/omStringBuffer.h"

Classes

class  om::math::Complex< T >
 A class that represents a complex number. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Functions

template<typename T >
Bool om::math::operator== (T value, const Complex< T > &complex)
 Return whether or not a r number is equal to a complex number. More...
 
template<typename T >
Bool om::math::operator!= (T value, const Complex< T > &complex)
 Return whether or not a r number is not equal to a complex number. More...
 
template<typename T >
Complex< T > om::math::operator+ (T value, const Complex< T > &complex)
 Add a complex number to a r number and return the resulting complex number. More...
 
template<typename T >
Complex< T > om::math::operator- (T value, const Complex< T > &complex)
 Subtract a complex number from a r number and return the resulting complex number. More...
 
template<typename T >
Complex< T > om::math::operator* (T value, const Complex< T > &complex)
 Multiply a r number by a complex number and return the resulting complex number. More...
 
template<typename T >
Complex< T > om::math::operator/ (T value, const Complex< T > &complex)
 Divide a r number by a complex number and return the resulting complex number. More...
 
template<typename T >
om::math::abs (const Complex< T > &complex)
 Return the absolute value (magnitude) of the specified complex number. More...