HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ComplexT< T > Class Template Reference

#include <UT_Complex.h>

Public Member Functions

 UT_ComplexT ()
 
 UT_ComplexT (T r, T i)
 
 UT_ComplexT (const UT_ComplexT &)
 
 UT_ComplexT (const UT_Vector2T< T > &vec)
 
void set (T r, T i)
 
UT_ComplexToperator= (const UT_ComplexT &)
 
int operator== (const UT_ComplexT &) const
 
UT_ComplexT operator+ (T) const
 
UT_ComplexT operator+ (const UT_ComplexT &) const
 
UT_ComplexT operator- () const
 
UT_ComplexT operator- (T) const
 
UT_ComplexT operator- (const UT_ComplexT &) const
 
UT_ComplexT operator* (T) const
 
UT_ComplexT operator* (const UT_ComplexT &) const
 
UT_ComplexT operator/ (T) const
 
UT_ComplexT operator/ (const UT_ComplexT &) const
 
 operator UT_Vector2T< T > () const
 
UT_ComplexT pow (T exp) const
 
T real () const
 
Treal ()
 
T imaginary () const
 
Timaginary ()
 
T magnitude () const
 
T magnitude2 () const
 
T phase () const
 

Detailed Description

template<typename T>
class UT_ComplexT< T >

Definition at line 25 of file UT_Complex.h.

Constructor & Destructor Documentation

template<typename T >
UT_ComplexT< T >::UT_ComplexT ( )
inline

Definition at line 88 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T >::UT_ComplexT ( T  r,
T  i 
)
inline

Definition at line 96 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T >::UT_ComplexT ( const UT_ComplexT< T > &  source)
inline

Definition at line 104 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T >::UT_ComplexT ( const UT_Vector2T< T > &  vec)
inline

Definition at line 43 of file UT_Complex.h.

Member Function Documentation

template<typename T >
T UT_ComplexT< T >::imaginary ( ) const
inline

Definition at line 70 of file UT_Complex.h.

template<typename T >
T& UT_ComplexT< T >::imaginary ( )
inline

Definition at line 71 of file UT_Complex.h.

template<typename T >
T UT_ComplexT< T >::magnitude ( ) const
inline

Definition at line 241 of file UT_Complex.h.

template<typename T >
T UT_ComplexT< T >::magnitude2 ( ) const
inline

Definition at line 248 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T >::operator UT_Vector2T< T > ( ) const
inline

Definition at line 63 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator* ( T  a) const
inline

Definition at line 175 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator* ( const UT_ComplexT< T > &  mult) const
inline

Definition at line 182 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator+ ( T  r) const
inline

Definition at line 140 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator+ ( const UT_ComplexT< T > &  add) const
inline

Definition at line 154 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator- ( ) const
inline

Definition at line 161 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator- ( T  r) const
inline

Definition at line 147 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator- ( const UT_ComplexT< T > &  sub) const
inline

Definition at line 168 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator/ ( T  d) const
inline

Definition at line 219 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::operator/ ( const UT_ComplexT< T > &  div) const
inline

Definition at line 226 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > & UT_ComplexT< T >::operator= ( const UT_ComplexT< T > &  source)
inline

Definition at line 120 of file UT_Complex.h.

template<typename T >
int UT_ComplexT< T >::operator== ( const UT_ComplexT< T > &  source) const
inline

Definition at line 130 of file UT_Complex.h.

template<typename T >
T UT_ComplexT< T >::phase ( ) const
inline

Definition at line 255 of file UT_Complex.h.

template<typename T >
UT_ComplexT< T > UT_ComplexT< T >::pow ( T  exp) const
inline

Definition at line 195 of file UT_Complex.h.

template<typename T >
T UT_ComplexT< T >::real ( ) const
inline

Definition at line 68 of file UT_Complex.h.

template<typename T >
T& UT_ComplexT< T >::real ( )
inline

Definition at line 69 of file UT_Complex.h.

template<typename T >
void UT_ComplexT< T >::set ( T  r,
T  i 
)
inline

Definition at line 112 of file UT_Complex.h.


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