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_ Here we define class MatrixHelper<S>, the scalar-type templatized helper class for the more general...
Definition: MatrixHelper.h:79
VectorBase & operator-=(const VectorBase &r)
Definition: VectorBase.h:148
VectorBase & operator/=(const StdNumber &t)
Definition: VectorBase.h:146
VectorView_ & operator-=(const VectorBase< EE > &m)
Definition: VectorView_.h:80
Definition: MatrixHelper.h:48
VectorView_ & operator-=(const ELT &b)
Definition: VectorView_.h:86
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
MatrixBase & elementwiseSubtractScalarInPlace(const S &s)
Set M(i,j)-=s for every element of M and some value s.
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
K::Scalar Scalar
Definition: CompositeNumericalTypes.h:160
VectorView_ & operator=(const VectorBase< EE > &m)
Definition: VectorView_.h:76
VectorView_ & operator/=(const StdNumber &t)
Definition: VectorView_.h:84
VectorView_ & operator*=(const StdNumber &t)
Definition: VectorView_.h:83
VectorView_(const VectorView_ &v)
Definition: VectorView_.h:60
VectorBase & operator+=(const VectorBase &r)
Definition: VectorBase.h:147
VectorView_(const MatrixHelper< S > &h)
Definition: VectorView_.h:69
VectorView_ & operator+=(const ELT &b)
Definition: VectorView_.h:85
VectorView_(MatrixHelper< S > &h)
Definition: VectorView_.h:70
EStdNumber StdNumber
Definition: MatrixBase.h:99
VectorView_ & operator=(const ELT &v)
Definition: VectorView_.h:74
MatrixBase & elementwiseAddScalarInPlace(const S &s)
Set M(i,j)+=s for every element of M and some value s.
K::StdNumber StdNumber
Definition: CompositeNumericalTypes.h:163
VectorView_ & operator=(const VectorView_ &v)
Definition: VectorView_.h:64
VectorView_ & operator+=(const VectorBase< EE > &m)
Definition: VectorView_.h:78
const MatrixHelper< Scalar > & getHelper() const
Definition: MatrixBase.h:864
This is a dataless rehash of the MatrixBase class to specialize it for Vectors.
Definition: BigMatrix.h:164
VectorView_(MatrixHelperRep< S > *hrep)
Definition: VectorView_.h:55
This is the common base class for Simbody's Vector_ and Matrix_ classes for handling large...
Definition: BigMatrix.h:163
K::Number Number
Definition: CompositeNumericalTypes.h:162
VectorView_ & operator=(const Base &b)
Definition: VectorView_.h:72
(Advanced) This class is identical to Vector_ except that it has shallow (reference) copy and assignm...
Definition: BigMatrix.h:170
VectorBase & operator*=(const StdNumber &t)
Definition: VectorBase.h:145