HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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- (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 87 of file UT_Complex.h.

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

Definition at line 95 of file UT_Complex.h.

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

Definition at line 103 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 69 of file UT_Complex.h.

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

Definition at line 70 of file UT_Complex.h.

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

Definition at line 226 of file UT_Complex.h.

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

Definition at line 233 of file UT_Complex.h.

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

Definition at line 62 of file UT_Complex.h.

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

Definition at line 167 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 174 of file UT_Complex.h.

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

Definition at line 139 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 153 of file UT_Complex.h.

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

Definition at line 146 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 160 of file UT_Complex.h.

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

Definition at line 204 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 211 of file UT_Complex.h.

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

Definition at line 119 of file UT_Complex.h.

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

Definition at line 129 of file UT_Complex.h.

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

Definition at line 240 of file UT_Complex.h.

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

Definition at line 187 of file UT_Complex.h.

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

Definition at line 67 of file UT_Complex.h.

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

Definition at line 68 of file UT_Complex.h.

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

Definition at line 111 of file UT_Complex.h.


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