Simbody
Public Member Functions

SimTK::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

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

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

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

Implicit conversion from float to conjugate<float>.

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

Member Function Documentation

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

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

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines