Simbody  3.5
SimTK::conjugate< double > Class Template Reference

Public Member Functions

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

Constructor & Destructor Documentation

SimTK::conjugate< double >::conjugate ( )
inline
SimTK::conjugate< double >::conjugate ( const double &  real,
const double &  imag 
)
inline

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

SimTK::conjugate< double >::conjugate ( const double &  real,
int  i 
)
inline
SimTK::conjugate< double >::conjugate ( int  r,
const double &  imag 
)
inline
SimTK::conjugate< double >::conjugate ( int  r,
int  i 
)
inline
SimTK::conjugate< double >::conjugate ( const double &  real)
inline

Implicit conversion from double to conjugate<double>.

SimTK::conjugate< double >::conjugate ( int  r)
inline
SimTK::conjugate< double >::conjugate ( const conjugate< float > &  cf)
inline
SimTK::conjugate< double >::conjugate ( const float &  rf)
inline
SimTK::conjugate< double >::conjugate ( const conjugate< long double > &  cl)
inlineexplicit
SimTK::conjugate< double >::conjugate ( const long double &  rl)
inlineexplicit
SimTK::conjugate< double >::conjugate ( const complex< float > &  x)
inlineexplicit
SimTK::conjugate< double >::conjugate ( const complex< double > &  x)
inlineexplicit
SimTK::conjugate< double >::conjugate ( const complex< long double > &  x)
inlineexplicit

Member Function Documentation

SimTK::conjugate< double >::operator complex< double > ( ) const
inline

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

complex<double> SimTK::conjugate< double >::operator- ( ) const
inline
const conjugate& SimTK::conjugate< double >::operator+ ( ) const
inline
conjugate& SimTK::conjugate< double >::operator= ( const double &  r)
inline
conjugate& SimTK::conjugate< double >::operator+= ( const double &  r)
inline
conjugate& SimTK::conjugate< double >::operator-= ( const double &  r)
inline
conjugate& SimTK::conjugate< double >::operator*= ( const double &  r)
inline
conjugate& SimTK::conjugate< double >::operator/= ( const double &  r)
inline
conjugate& SimTK::conjugate< double >::operator= ( const float &  r)
inline
conjugate& SimTK::conjugate< double >::operator+= ( const float &  r)
inline
conjugate& SimTK::conjugate< double >::operator-= ( const float &  r)
inline
conjugate& SimTK::conjugate< double >::operator*= ( const float &  r)
inline
conjugate& SimTK::conjugate< double >::operator/= ( const float &  r)
inline
conjugate& SimTK::conjugate< double >::operator= ( int  i)
inline
conjugate& SimTK::conjugate< double >::operator+= ( int  i)
inline
conjugate& SimTK::conjugate< double >::operator-= ( int  i)
inline
conjugate& SimTK::conjugate< double >::operator*= ( int  i)
inline
conjugate& SimTK::conjugate< double >::operator/= ( int  i)
inline
conjugate& SimTK::conjugate< double >::operator+= ( const conjugate< double > &  c)
inline
conjugate& SimTK::conjugate< double >::operator-= ( const conjugate< double > &  c)
inline
conjugate& SimTK::conjugate< double >::operator+= ( const conjugate< float > &  c)
inline
conjugate& SimTK::conjugate< double >::operator-= ( const conjugate< float > &  c)
inline
conjugate& SimTK::conjugate< double >::operator= ( const complex< double > &  c)
inline
conjugate& SimTK::conjugate< double >::operator+= ( const complex< double > &  c)
inline
conjugate& SimTK::conjugate< double >::operator-= ( const complex< double > &  c)
inline
conjugate& SimTK::conjugate< double >::operator= ( const complex< float > &  c)
inline
conjugate& SimTK::conjugate< double >::operator+= ( const complex< float > &  c)
inline
conjugate& SimTK::conjugate< double >::operator-= ( const complex< float > &  c)
inline
conjugate& SimTK::conjugate< double >::operator*= ( const conjugate< double > &  c)
inline
conjugate& SimTK::conjugate< double >::operator*= ( const complex< double > &  t)
inline
conjugate& SimTK::conjugate< double >::operator*= ( const conjugate< float > &  c)
inline
conjugate& SimTK::conjugate< double >::operator*= ( const complex< float > &  c)
inline
conjugate& SimTK::conjugate< double >::operator/= ( const conjugate< double > &  d)
inline
conjugate& SimTK::conjugate< double >::operator/= ( const complex< double > &  d)
inline
conjugate& SimTK::conjugate< double >::operator/= ( const conjugate< float > &  c)
inline
conjugate& SimTK::conjugate< double >::operator/= ( const complex< float > &  c)
inline
const double& SimTK::conjugate< double >::real ( ) const
inline
double& SimTK::conjugate< double >::real ( )
inline
const negator<double>& SimTK::conjugate< double >::imag ( ) const
inline
negator<double>& SimTK::conjugate< double >::imag ( )
inline
const complex<double>& SimTK::conjugate< double >::conj ( ) const
inline
complex<double>& SimTK::conjugate< double >::conj ( )
inline
const double& SimTK::conjugate< double >::negImag ( ) const
inline
double& SimTK::conjugate< double >::negImag ( )
inline
bool SimTK::conjugate< double >::isReal ( ) const
inline

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