Simbody  3.6
SimTK::conjugate< float > Class Template Reference

Public Member Functions

 conjugate ()
 
 conjugate (const float &real, const float &imag)
 Construction from reals. Note that the numeric result is (real-imag*i). More...
 
 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>. More...
 
 conjugate (int r)
 
 conjugate (const conjugate< double > &cd)
 
 conjugate (const double &rd)
 
 conjugate (const complex< float > &x)
 
 conjugate (const complex< double > &x)
 
 operator complex< float > () const
 Implicit conversion to complex<float> when necessary (costs an actual negation – yuck!). More...
 
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
 

Constructor & Destructor Documentation

◆ conjugate() [1/11]

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

◆ conjugate() [2/11]

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

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

◆ conjugate() [3/11]

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

◆ conjugate() [4/11]

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

◆ conjugate() [5/11]

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

◆ conjugate() [6/11]

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

Implicit conversion from float to conjugate<float>.

◆ conjugate() [7/11]

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

◆ conjugate() [8/11]

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

◆ conjugate() [9/11]

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

◆ conjugate() [10/11]

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

◆ conjugate() [11/11]

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

Member Function Documentation

◆ operator complex< float >()

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

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

◆ operator-()

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

◆ operator+()

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

◆ operator=() [1/2]

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

◆ operator+=() [1/3]

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

◆ operator-=() [1/3]

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

◆ operator*=() [1/3]

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

◆ operator/=() [1/3]

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

◆ operator+=() [2/3]

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

◆ operator-=() [2/3]

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

◆ operator=() [2/2]

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

◆ operator+=() [3/3]

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

◆ operator-=() [3/3]

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

◆ operator*=() [2/3]

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

◆ operator*=() [3/3]

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

◆ operator/=() [2/3]

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

◆ operator/=() [3/3]

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

◆ real() [1/2]

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

◆ real() [2/2]

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

◆ imag() [1/2]

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

◆ imag() [2/2]

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

◆ conj() [1/2]

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

◆ conj() [2/2]

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

◆ negImag() [1/2]

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

◆ negImag() [2/2]

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

◆ isReal()

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

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