Simbody
Public Member Functions

SimTK::RowVectorView_< ELT > Class Template Reference

This class is identical to a RowVector_; it is used only to manage the C++ rules for when copy constructors are called by introducing a separate type to prevent certain allowed optimizations from occuring when we don't want them. More...

#include <BigMatrix.h>

Inheritance diagram for SimTK::RowVectorView_< ELT >:

List of all members.

Public Member Functions

 RowVectorView_ (MatrixHelperRep< S > *hrep)
 RowVectorView_ (const RowVectorView_ &r)
RowVectorView_operator= (const RowVectorView_ &r)
 RowVectorView_ (const MatrixHelper< S > &h)
 RowVectorView_ (MatrixHelper< S > &h)
RowVectorView_operator= (const Base &b)
RowVectorView_operator= (const ELT &v)
 Fill current allocation with copies of element.
template<class EE >
RowVectorView_operator= (const RowVectorBase< EE > &m)
template<class EE >
RowVectorView_operator+= (const RowVectorBase< EE > &m)
template<class EE >
RowVectorView_operator-= (const RowVectorBase< EE > &m)
RowVectorView_operator*= (const StdNumber &t)
RowVectorView_operator/= (const StdNumber &t)
RowVectorView_operator+= (const ELT &b)
RowVectorView_operator-= (const ELT &b)

Detailed Description

template<class ELT>
class SimTK::RowVectorView_< ELT >

This class is identical to a RowVector_; it is used only to manage the C++ rules for when copy constructors are called by introducing a separate type to prevent certain allowed optimizations from occuring when we don't want them.

Despite the name, this may be an owner if a RowVector_ is recast to a RowVectorView_. However, there are no owner constructors for RowVectorView_.


Constructor & Destructor Documentation

template<class ELT>
SimTK::RowVectorView_< ELT >::RowVectorView_ ( MatrixHelperRep< S > *  hrep) [inline, explicit]
template<class ELT>
SimTK::RowVectorView_< ELT >::RowVectorView_ ( const RowVectorView_< ELT > &  r) [inline]
template<class ELT>
SimTK::RowVectorView_< ELT >::RowVectorView_ ( const MatrixHelper< S > &  h) [inline, explicit]
template<class ELT>
SimTK::RowVectorView_< ELT >::RowVectorView_ ( MatrixHelper< S > &  h) [inline, explicit]

Member Function Documentation

template<class ELT>
RowVectorView_& SimTK::RowVectorView_< ELT >::operator= ( const RowVectorView_< ELT > &  r) [inline]
template<class ELT>
RowVectorView_& SimTK::RowVectorView_< ELT >::operator= ( const Base b) [inline]
template<class ELT>
RowVectorView_& SimTK::RowVectorView_< ELT >::operator= ( const ELT &  t) [inline]

Fill current allocation with copies of element.

Note that this is not the same behavior as assignment for Matrices, where only the diagonal is set (and everything else is set to zero.)

Reimplemented from SimTK::RowVectorBase< ELT >.

template<class ELT>
template<class EE >
RowVectorView_& SimTK::RowVectorView_< ELT >::operator= ( const RowVectorBase< EE > &  m) [inline]

Reimplemented from SimTK::RowVectorBase< ELT >.

template<class ELT>
template<class EE >
RowVectorView_& SimTK::RowVectorView_< ELT >::operator+= ( const RowVectorBase< EE > &  m) [inline]

Reimplemented from SimTK::RowVectorBase< ELT >.

template<class ELT>
template<class EE >
RowVectorView_& SimTK::RowVectorView_< ELT >::operator-= ( const RowVectorBase< EE > &  m) [inline]

Reimplemented from SimTK::RowVectorBase< ELT >.

template<class ELT>
RowVectorView_& SimTK::RowVectorView_< ELT >::operator*= ( const StdNumber t) [inline]

Reimplemented from SimTK::RowVectorBase< ELT >.

template<class ELT>
RowVectorView_& SimTK::RowVectorView_< ELT >::operator/= ( const StdNumber t) [inline]

Reimplemented from SimTK::RowVectorBase< ELT >.

template<class ELT>
RowVectorView_& SimTK::RowVectorView_< ELT >::operator+= ( const ELT &  b) [inline]
template<class ELT>
RowVectorView_& SimTK::RowVectorView_< ELT >::operator-= ( const ELT &  b) [inline]

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