Simbody  3.7
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 complex< float > &x)
 
 conjugate (const complex< 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

◆ conjugate() [1/11]

SimTK::conjugate< double >::conjugate ( )
inline

◆ conjugate() [2/11]

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

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

◆ conjugate() [3/11]

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

◆ conjugate() [4/11]

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

◆ conjugate() [5/11]

SimTK::conjugate< double >::conjugate ( int  r,
int  i 
)
inline

◆ conjugate() [6/11]

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

Implicit conversion from double to conjugate<double>.

◆ conjugate() [7/11]

SimTK::conjugate< double >::conjugate ( int  r)
inline

◆ conjugate() [8/11]

SimTK::conjugate< double >::conjugate ( const conjugate< float > &  cf)
inline

◆ conjugate() [9/11]

SimTK::conjugate< double >::conjugate ( const float &  rf)
inline

◆ conjugate() [10/11]

SimTK::conjugate< double >::conjugate ( const complex< float > &  x)
inlineexplicit

◆ conjugate() [11/11]

SimTK::conjugate< double >::conjugate ( const complex< double > &  x)
inlineexplicit

Member Function Documentation

◆ operator complex< double >()

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

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

◆ operator-()

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

◆ operator+()

const conjugate& SimTK::conjugate< double >::operator+ ( ) const
inline

◆ operator=() [1/5]

conjugate& SimTK::conjugate< double >::operator= ( const double &  r)
inline

◆ operator+=() [1/7]

conjugate& SimTK::conjugate< double >::operator+= ( const double &  r)
inline

◆ operator-=() [1/7]

conjugate& SimTK::conjugate< double >::operator-= ( const double &  r)
inline

◆ operator*=() [1/7]

conjugate& SimTK::conjugate< double >::operator*= ( const double &  r)
inline

◆ operator/=() [1/7]

conjugate& SimTK::conjugate< double >::operator/= ( const double &  r)
inline

◆ operator=() [2/5]

conjugate& SimTK::conjugate< double >::operator= ( const float &  r)
inline

◆ operator+=() [2/7]

conjugate& SimTK::conjugate< double >::operator+= ( const float &  r)
inline

◆ operator-=() [2/7]

conjugate& SimTK::conjugate< double >::operator-= ( const float &  r)
inline

◆ operator*=() [2/7]

conjugate& SimTK::conjugate< double >::operator*= ( const float &  r)
inline

◆ operator/=() [2/7]

conjugate& SimTK::conjugate< double >::operator/= ( const float &  r)
inline

◆ operator=() [3/5]

conjugate& SimTK::conjugate< double >::operator= ( int  i)
inline

◆ operator+=() [3/7]

conjugate& SimTK::conjugate< double >::operator+= ( int  i)
inline

◆ operator-=() [3/7]

conjugate& SimTK::conjugate< double >::operator-= ( int  i)
inline

◆ operator*=() [3/7]

conjugate& SimTK::conjugate< double >::operator*= ( int  i)
inline

◆ operator/=() [3/7]

conjugate& SimTK::conjugate< double >::operator/= ( int  i)
inline

◆ operator+=() [4/7]

conjugate& SimTK::conjugate< double >::operator+= ( const conjugate< double > &  c)
inline

◆ operator-=() [4/7]

conjugate& SimTK::conjugate< double >::operator-= ( const conjugate< double > &  c)
inline

◆ operator+=() [5/7]

conjugate& SimTK::conjugate< double >::operator+= ( const conjugate< float > &  c)
inline

◆ operator-=() [5/7]

conjugate& SimTK::conjugate< double >::operator-= ( const conjugate< float > &  c)
inline

◆ operator=() [4/5]

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

◆ operator+=() [6/7]

conjugate& SimTK::conjugate< double >::operator+= ( const complex< double > &  c)
inline

◆ operator-=() [6/7]

conjugate& SimTK::conjugate< double >::operator-= ( const complex< double > &  c)
inline

◆ operator=() [5/5]

conjugate& SimTK::conjugate< double >::operator= ( const complex< float > &  c)
inline

◆ operator+=() [7/7]

conjugate& SimTK::conjugate< double >::operator+= ( const complex< float > &  c)
inline

◆ operator-=() [7/7]

conjugate& SimTK::conjugate< double >::operator-= ( const complex< float > &  c)
inline

◆ operator*=() [4/7]

conjugate& SimTK::conjugate< double >::operator*= ( const conjugate< double > &  c)
inline

◆ operator*=() [5/7]

conjugate& SimTK::conjugate< double >::operator*= ( const complex< double > &  t)
inline

◆ operator*=() [6/7]

conjugate& SimTK::conjugate< double >::operator*= ( const conjugate< float > &  c)
inline

◆ operator*=() [7/7]

conjugate& SimTK::conjugate< double >::operator*= ( const complex< float > &  c)
inline

◆ operator/=() [4/7]

conjugate& SimTK::conjugate< double >::operator/= ( const conjugate< double > &  d)
inline

◆ operator/=() [5/7]

conjugate& SimTK::conjugate< double >::operator/= ( const complex< double > &  d)
inline

◆ operator/=() [6/7]

conjugate& SimTK::conjugate< double >::operator/= ( const conjugate< float > &  c)
inline

◆ operator/=() [7/7]

conjugate& SimTK::conjugate< double >::operator/= ( const complex< float > &  c)
inline

◆ real() [1/2]

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

◆ real() [2/2]

double& SimTK::conjugate< double >::real ( )
inline

◆ imag() [1/2]

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

◆ imag() [2/2]

negator<double>& SimTK::conjugate< double >::imag ( )
inline

◆ conj() [1/2]

const complex<double>& SimTK::conjugate< double >::conj ( ) const
inline

◆ conj() [2/2]

complex<double>& SimTK::conjugate< double >::conj ( )
inline

◆ negImag() [1/2]

const double& SimTK::conjugate< double >::negImag ( ) const
inline

◆ negImag() [2/2]

double& SimTK::conjugate< double >::negImag ( )
inline

◆ isReal()

bool SimTK::conjugate< double >::isReal ( ) const
inline

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