RowVectorBase Class Template Reference

#include <BigMatrix.h>

Inheritance diagram for RowVectorBase:

MatrixBase RowVector_ RowVectorView_ TmpRowVectorView_ List of all members.

Detailed Description

template<class ELT>
class SimTK::RowVectorBase< ELT >

This is a dataless rehash of the MatrixBase class to specialize it for RowVectors.

This mostly entails overriding a few of the methods. Note that all the MatrixBase operations remain available if you static_cast<> this up to a MatrixBase.


Public Member Functions

 RowVectorBase ()
 RowVectorBase (const RowVectorBase &b)
RowVectorBaseoperator= (const RowVectorBase &b)
 RowVectorBase (int n, bool lockNcol=false)
 RowVectorBase (int n, int leadingDim, const Scalar *s)
 RowVectorBase (int n, int leadingDim, Scalar *s)
 RowVectorBase (int n, const ELT &t)
 RowVectorBase (int n, bool lockNcol, const ELT &t)
 RowVectorBase (int n, const ELT *p)
 RowVectorBase (int n, bool lockNcol, const ELT *p)
 RowVectorBase (MatrixHelper< Scalar > &h, const typename MatrixHelper< Scalar >::ShallowCopy &s)
 RowVectorBase (const MatrixHelper< Scalar > &h, const typename MatrixHelper< Scalar >::ShallowCopy &s)
 RowVectorBase (const MatrixHelper< Scalar > &h, const typename MatrixHelper< Scalar >::DeepCopy &d)
RowVectorBaseoperator *= (const StdNumber &t)
RowVectorBaseoperator/= (const StdNumber &t)
RowVectorBaseoperator+= (const RowVectorBase &r)
RowVectorBaseoperator-= (const RowVectorBase &r)
template<class EE>
RowVectorBaseoperator= (const RowVectorBase< EE > &b)
template<class EE>
RowVectorBaseoperator+= (const RowVectorBase< EE > &b)
template<class EE>
RowVectorBaseoperator-= (const RowVectorBase< EE > &b)
RowVectorBaseoperator= (const ELT &t)
template<class EE>
RowVectorBasecolScaleInPlace (const VectorBase< EE > &v)
template<class EE>
void colScale (const VectorBase< EE > &v, typename EltResult< EE >::Mul &out) const
template<class EE>
EltResult< EE >::Mul colScale (const VectorBase< EE > &v) const
template<class EE>
RowVectorBaseelementwiseMultiplyInPlace (const RowVectorBase< EE > &r)
template<class EE>
void elementwiseMultiply (const RowVectorBase< EE > &v, typename EltResult< EE >::Mul &out) const
template<class EE>
EltResult< EE >::Mul elementwiseMultiply (const RowVectorBase< EE > &v) const
template<class EE>
RowVectorBaseelementwiseMultiplyFromLeftInPlace (const RowVectorBase< EE > &r)
template<class EE>
void elementwiseMultiplyFromLeft (const RowVectorBase< EE > &v, typename RowVectorBase< EE >::template EltResult< ELT >::Mul &out) const
template<class EE>
RowVectorBase< EE >::template
EltResult< ELT >::Mul 
elementwiseMultiplyFromLeft (const RowVectorBase< EE > &v) const
template<class EE>
RowVectorBaseelementwiseDivideInPlace (const RowVectorBase< EE > &r)
template<class EE>
void elementwiseDivide (const RowVectorBase< EE > &v, typename EltResult< EE >::Dvd &out) const
template<class EE>
EltResult< EE >::Dvd elementwiseDivide (const RowVectorBase< EE > &v) const
template<class EE>
RowVectorBaseelementwiseDivideFromLeftInPlace (const RowVectorBase< EE > &r)
template<class EE>
void elementwiseDivideFromLeft (const RowVectorBase< EE > &v, typename RowVectorBase< EE >::template EltResult< ELT >::Dvd &out) const
template<class EE>
RowVectorBase< EE >::template
EltResult< ELT >::Dvd 
elementwiseDivideFromLeft (const RowVectorBase< EE > &v) const
 operator const RowVector_ () const
 operator RowVector_ ()
 operator const RowVectorView_ () const
 operator RowVectorView_ ()
 operator const Matrix_ () const
 operator Matrix_ ()
 operator const MatrixView_ () const
 operator MatrixView_ ()
int size () const
int nrow () const
int ncol () const
TAbs abs () const
const ELT & operator[] (int j) const
ELT & operator[] (int j)
const ELT & operator() (int j) const
ELT & operator() (int j)
RowVectorView_< ELT > operator() (int j, int n) const
RowVectorView_< ELT > operator() (int j, int n)
THerm transpose () const
THerm updTranspose ()
THerm operator~ () const
THerm operator~ ()
const RowVectorBaseoperator+ () const
const TNegnegate () const
TNegupdNegate ()
const TNegoperator- () const
TNegoperator- ()
RowVectorBaseresize (int n)
RowVectorBaseresizeKeep (int n)
ELT sum () const
VectorIterator< ELT, RowVectorBase<
ELT > > 
begin ()
VectorIterator< ELT, RowVectorBase<
ELT > > 
end ()

Classes

struct  EltResult


Constructor & Destructor Documentation

RowVectorBase (  )  [inline]

RowVectorBase ( const RowVectorBase< ELT > &  b  )  [inline]

RowVectorBase ( int  n,
bool  lockNcol = false 
) [inline, explicit]

RowVectorBase ( int  n,
int  leadingDim,
const Scalar *  s 
) [inline]

RowVectorBase ( int  n,
int  leadingDim,
Scalar *  s 
) [inline]

RowVectorBase ( int  n,
const ELT &  t 
) [inline]

RowVectorBase ( int  n,
bool  lockNcol,
const ELT &  t 
) [inline]

RowVectorBase ( int  n,
const ELT *  p 
) [inline]

RowVectorBase ( int  n,
bool  lockNcol,
const ELT *  p 
) [inline]

RowVectorBase ( MatrixHelper< Scalar > &  h,
const typename MatrixHelper< Scalar >::ShallowCopy &  s 
) [inline]

RowVectorBase ( const MatrixHelper< Scalar > &  h,
const typename MatrixHelper< Scalar >::ShallowCopy &  s 
) [inline]

RowVectorBase ( const MatrixHelper< Scalar > &  h,
const typename MatrixHelper< Scalar >::DeepCopy &  d 
) [inline]


Member Function Documentation

TAbs abs (  )  const [inline]

Reimplemented from MatrixBase.

VectorIterator<ELT, RowVectorBase<ELT> > begin (  )  [inline]

EltResult<EE>::Mul colScale ( const VectorBase< EE > &  v  )  const [inline]

Reimplemented from MatrixBase.

void colScale ( const VectorBase< EE > &  v,
typename EltResult< EE >::Mul &  out 
) const [inline]

RowVectorBase& colScaleInPlace ( const VectorBase< EE > &  v  )  [inline]

Reimplemented from MatrixBase.

EltResult<EE>::Dvd elementwiseDivide ( const RowVectorBase< EE > &  v  )  const [inline]

void elementwiseDivide ( const RowVectorBase< EE > &  v,
typename EltResult< EE >::Dvd &  out 
) const [inline]

RowVectorBase<EE>::template EltResult<ELT>::Dvd elementwiseDivideFromLeft ( const RowVectorBase< EE > &  v  )  const [inline]

void elementwiseDivideFromLeft ( const RowVectorBase< EE > &  v,
typename RowVectorBase< EE >::template EltResult< ELT >::Dvd &  out 
) const [inline]

RowVectorBase& elementwiseDivideFromLeftInPlace ( const RowVectorBase< EE > &  r  )  [inline]

RowVectorBase& elementwiseDivideInPlace ( const RowVectorBase< EE > &  r  )  [inline]

EltResult<EE>::Mul elementwiseMultiply ( const RowVectorBase< EE > &  v  )  const [inline]

void elementwiseMultiply ( const RowVectorBase< EE > &  v,
typename EltResult< EE >::Mul &  out 
) const [inline]

RowVectorBase<EE>::template EltResult<ELT>::Mul elementwiseMultiplyFromLeft ( const RowVectorBase< EE > &  v  )  const [inline]

void elementwiseMultiplyFromLeft ( const RowVectorBase< EE > &  v,
typename RowVectorBase< EE >::template EltResult< ELT >::Mul &  out 
) const [inline]

RowVectorBase& elementwiseMultiplyFromLeftInPlace ( const RowVectorBase< EE > &  r  )  [inline]

RowVectorBase& elementwiseMultiplyInPlace ( const RowVectorBase< EE > &  r  )  [inline]

VectorIterator<ELT, RowVectorBase<ELT> > end (  )  [inline]

int ncol (  )  const [inline]

Reimplemented from MatrixBase.

const TNeg& negate (  )  const [inline]

Reimplemented from MatrixBase.

int nrow (  )  const [inline]

Reimplemented from MatrixBase.

RowVectorBase& operator *= ( const StdNumber &  t  )  [inline]

Reimplemented in RowVectorView_, and RowVector_.

operator const Matrix_ (  )  const [inline]

operator const MatrixView_ (  )  const [inline]

operator const RowVector_ (  )  const [inline]

Reimplemented in TmpRowVectorView_.

operator const RowVectorView_ (  )  const [inline]

operator Matrix_ (  )  [inline]

operator MatrixView_ (  )  [inline]

operator RowVector_ (  )  [inline]

Reimplemented in TmpRowVectorView_.

operator RowVectorView_ (  )  [inline]

RowVectorView_<ELT> operator() ( int  j,
int  n 
) [inline]

Reimplemented from MatrixBase.

RowVectorView_<ELT> operator() ( int  j,
int  n 
) const [inline]

Reimplemented from MatrixBase.

ELT& operator() ( int  j  )  [inline]

Reimplemented from MatrixBase.

const ELT& operator() ( int  j  )  const [inline]

Reimplemented from MatrixBase.

const RowVectorBase& operator+ (  )  const [inline]

Reimplemented from MatrixBase.

RowVectorBase& operator+= ( const RowVectorBase< EE > &  b  )  [inline]

Reimplemented in RowVectorView_, and RowVector_.

RowVectorBase& operator+= ( const RowVectorBase< ELT > &  r  )  [inline]

TNeg& operator- (  )  [inline]

Reimplemented from MatrixBase.

const TNeg& operator- (  )  const [inline]

Reimplemented from MatrixBase.

RowVectorBase& operator-= ( const RowVectorBase< EE > &  b  )  [inline]

Reimplemented in RowVectorView_, and RowVector_.

RowVectorBase& operator-= ( const RowVectorBase< ELT > &  r  )  [inline]

RowVectorBase& operator/= ( const StdNumber &  t  )  [inline]

Reimplemented in RowVectorView_, and RowVector_.

RowVectorBase& operator= ( const ELT &  t  )  [inline]

Reimplemented from MatrixBase.

Reimplemented in RowVectorView_, and RowVector_.

RowVectorBase& operator= ( const RowVectorBase< EE > &  b  )  [inline]

Reimplemented in RowVectorView_, and RowVector_.

RowVectorBase& operator= ( const RowVectorBase< ELT > &  b  )  [inline]

ELT& operator[] ( int  j  )  [inline]

Reimplemented from MatrixBase.

const ELT& operator[] ( int  j  )  const [inline]

Reimplemented from MatrixBase.

THerm operator~ (  )  [inline]

Reimplemented from MatrixBase.

THerm operator~ (  )  const [inline]

Reimplemented from MatrixBase.

RowVectorBase& resize ( int  n  )  [inline]

RowVectorBase& resizeKeep ( int  n  )  [inline]

int size (  )  const [inline]

Reimplemented from MatrixBase.

ELT sum (  )  const [inline]

Reimplemented from MatrixBase.

THerm transpose (  )  const [inline]

Reimplemented from MatrixBase.

TNeg& updNegate (  )  [inline]

Reimplemented from MatrixBase.

THerm updTranspose (  )  [inline]

Reimplemented from MatrixBase.


The documentation for this class was generated from the following file:
Generated on Thu Feb 28 01:34:35 2008 for SimTKcommon by  doxygen 1.4.7