conjugate< float > Class Template Reference

#include <conjugate.h>

List of all members.

Public Member Functions

 conjugate ()
 conjugate (const float &real, const float &imag)
 Construction from reals. Note that the numeric result is (real-imag*i).
 conjugate (const float &real, int i)
 conjugate (int r, const float &imag)
 conjugate (int r, int i)
 conjugate (const float &real)
 Implicit conversion from float to conjugate<float>.
 conjugate (int r)
 conjugate (const conjugate< double > &cd)
 conjugate (const conjugate< long double > &cl)
 conjugate (const double &rd)
 conjugate (const long double &rl)
 conjugate (const complex< float > &x)
 conjugate (const complex< double > &x)
 conjugate (const complex< long double > &x)
 operator complex< float > () const
 Implicit conversion to complex<float> when necessary (costs an actual negation -- yuck!).
complex< float > operator- () const
const conjugateoperator+ () const
conjugateoperator= (const float &r)
conjugateoperator+= (const float &r)
conjugateoperator-= (const float &r)
conjugateoperator*= (const float &r)
conjugateoperator/= (const float &r)
conjugateoperator+= (const conjugate< float > &c)
conjugateoperator-= (const conjugate< float > &c)
conjugateoperator= (const complex< float > &c)
conjugateoperator+= (const complex< float > &c)
conjugateoperator-= (const complex< float > &c)
conjugateoperator*= (const conjugate< float > &c)
conjugateoperator*= (const complex< float > &t)
conjugateoperator/= (const conjugate< float > &d)
conjugateoperator/= (const complex< float > &d)
const float & real () const
float & real ()
const negator< float > & imag () const
negator< float > & imag ()
const complex< float > & conj () const
complex< float > & conj ()
const float & negImag () const
float & negImag ()
bool isReal () const

template<>
class SimTK::conjugate< float >


Constructor & Destructor Documentation

conjugate (  )  [inline]
conjugate ( const float &  real,
const float &  imag 
) [inline]

Construction from reals. Note that the numeric result is (real-imag*i).

conjugate ( const float &  real,
int  i 
) [inline]
conjugate ( int  r,
const float &  imag 
) [inline]
conjugate ( int  r,
int  i 
) [inline]
conjugate ( const float &  real  )  [inline]

Implicit conversion from float to conjugate<float>.

conjugate ( int  r  )  [inline]
conjugate ( const conjugate< double > &  cd  )  [inline, explicit]
conjugate ( const conjugate< long double > &  cl  )  [inline, explicit]
conjugate ( const double &  rd  )  [inline, explicit]
conjugate ( const long double &  rl  )  [inline, explicit]
conjugate ( const complex< float > &  x  )  [inline, explicit]
conjugate ( const complex< double > &  x  )  [inline, explicit]
conjugate ( const complex< long double > &  x  )  [inline, explicit]

Member Function Documentation

complex<float>& conj (  )  [inline]
const complex<float>& conj (  )  const [inline]
negator<float>& imag (  )  [inline]
const negator<float>& imag (  )  const [inline]

Referenced by SimTK::imag().

bool isReal (  )  const [inline]
float& negImag (  )  [inline]
const float& negImag (  )  const [inline]
operator complex< float > (  )  const [inline]

Implicit conversion to complex<float> when necessary (costs an actual negation -- yuck!).

conjugate& operator*= ( const complex< float > &  t  )  [inline]
conjugate& operator*= ( const conjugate< float > &  c  )  [inline]
conjugate& operator*= ( const float &  r  )  [inline]
const conjugate& operator+ (  )  const [inline]
conjugate& operator+= ( const complex< float > &  c  )  [inline]
conjugate& operator+= ( const conjugate< float > &  c  )  [inline]
conjugate& operator+= ( const float &  r  )  [inline]
complex<float> operator- (  )  const [inline]
conjugate& operator-= ( const complex< float > &  c  )  [inline]
conjugate& operator-= ( const conjugate< float > &  c  )  [inline]
conjugate& operator-= ( const float &  r  )  [inline]
conjugate& operator/= ( const complex< float > &  d  )  [inline]

References SimTK::conj().

conjugate& operator/= ( const conjugate< float > &  d  )  [inline]
conjugate& operator/= ( const float &  r  )  [inline]
conjugate& operator= ( const complex< float > &  c  )  [inline]
conjugate& operator= ( const float &  r  )  [inline]
float& real (  )  [inline]
const float& real (  )  const [inline]

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

Generated on Wed Dec 30 11:05:22 2009 for SimTKcore by  doxygen 1.6.1