Go to the documentation of this file. 1 #ifndef SimTK_SIMMATRIX_VECTORVIEW_H_
2 #define SimTK_SIMMATRIX_VECTORVIEW_H_
42 template <
class ELT>
class VectorView_ :
public VectorBase<ELT> {
43 typedef VectorBase<ELT> Base;
47 typedef VectorView_<ELT> T;
48 typedef VectorView_< typename CNT<ELT>::TNeg > TNeg;
49 typedef RowVectorView_< typename CNT<ELT>::THerm > THerm;
95 #endif // SimTK_SIMMATRIX_VECTORVIEW_H_
VectorView_(const VectorView_ &v)
Definition: VectorView_.h:60
K::Number Number
Definition: CompositeNumericalTypes.h:162
VectorView_(MatrixHelperRep< S > *hrep)
Definition: VectorView_.h:55
VectorView_ & operator=(const Base &b)
Definition: VectorView_.h:72
VectorView_ & operator*=(const StdNumber &t)
Definition: VectorView_.h:83
Here we define class MatrixHelper, the scalar-type templatized helper class for the more general,...
Definition: MatrixHelper.h:79
VectorView_ & operator-=(const ELT &b)
Definition: VectorView_.h:86
VectorView_ & operator/=(const StdNumber &t)
Definition: VectorView_.h:84
This is a System that represents the dynamics of a particle moving along a smooth surface.
Definition: Assembler.h:37
VectorBase & operator-=(const VectorBase &r)
Definition: VectorBase.h:148
VectorView_ & operator=(const VectorView_ &v)
Definition: VectorView_.h:64
K::Scalar Scalar
Definition: CompositeNumericalTypes.h:160
VectorView_ & operator=(const ELT &v)
Definition: VectorView_.h:74
VectorView_ & operator+=(const VectorBase< EE > &m)
Definition: VectorView_.h:78
This is a dataless rehash of the MatrixBase class to specialize it for Vectors.
Definition: BigMatrix.h:164
VectorView_ & operator+=(const ELT &b)
Definition: VectorView_.h:85
VectorBase & operator*=(const StdNumber &t)
Definition: VectorBase.h:145
VectorView_(MatrixHelper< S > &h)
Definition: VectorView_.h:70
K::StdNumber StdNumber
Definition: CompositeNumericalTypes.h:163
VectorBase & operator/=(const StdNumber &t)
Definition: VectorBase.h:146
VectorBase & operator=(const VectorBase &b)
Copy assignment is deep copy but behavior depends on type of lhs: if view, rhs must match.
Definition: VectorBase.h:138
(Advanced) This class is identical to Vector_ except that it has shallow (reference) copy and assignm...
Definition: BigMatrix.h:170
VectorView_ & operator=(const VectorBase< EE > &m)
Definition: VectorView_.h:76
VectorView_ & operator-=(const VectorBase< EE > &m)
Definition: VectorView_.h:80
VectorBase & operator+=(const VectorBase &r)
Definition: VectorBase.h:147
VectorView_(const MatrixHelper< S > &h)
Definition: VectorView_.h:69
Definition: MatrixHelper.h:48