1 #ifndef SimTK_SIMMATRIX_ROWVECTORVIEW_H_ 2 #define SimTK_SIMMATRIX_ROWVECTORVIEW_H_ 42 template <
class ELT>
class RowVectorView_ :
public RowVectorBase<ELT> {
43 typedef RowVectorBase<ELT> Base;
47 typedef RowVectorView_<ELT> T;
48 typedef RowVectorView_< typename CNT<ELT>::TNeg > TNeg;
49 typedef VectorView_< typename CNT<ELT>::THerm > THerm;
95 #endif // SimTK_SIMMATRIX_ROWVECTORVIEW_H_ Here we define class MatrixHelper<S>, the scalar-type templatized helper class for the more general...
Definition: MatrixHelper.h:79
RowVectorView_ & operator+=(const RowVectorBase< EE > &m)
Definition: RowVectorView_.h:78
Definition: MatrixHelper.h:48
This is a dataless rehash of the MatrixBase class to specialize it for RowVectors.
Definition: BigMatrix.h:165
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.
RowVectorView_ & operator-=(const RowVectorBase< EE > &m)
Definition: RowVectorView_.h:80
K::Scalar Scalar
Definition: CompositeNumericalTypes.h:160
RowVectorView_ & operator=(const Base &b)
Definition: RowVectorView_.h:72
RowVectorView_ & operator-=(const ELT &b)
Definition: RowVectorView_.h:86
RowVectorView_(const RowVectorView_ &r)
Definition: RowVectorView_.h:60
RowVectorBase & operator-=(const RowVectorBase &r)
Definition: RowVectorBase.h:145
RowVectorView_(MatrixHelperRep< S > *hrep)
Definition: RowVectorView_.h:55
RowVectorView_(MatrixHelper< S > &h)
Definition: RowVectorView_.h:70
RowVectorBase & operator+=(const RowVectorBase &r)
Definition: RowVectorBase.h:144
(Advanced) This class is identical to RowVector_ except that it has shallow (reference) copy and assi...
Definition: BigMatrix.h:173
RowVectorView_(const MatrixHelper< S > &h)
Definition: RowVectorView_.h:69
RowVectorView_ & operator=(const RowVectorBase< EE > &m)
Definition: RowVectorView_.h:76
RowVectorView_ & operator*=(const StdNumber &t)
Definition: RowVectorView_.h:83
RowVectorBase & operator/=(const StdNumber &t)
Definition: RowVectorBase.h:143
EStdNumber StdNumber
Definition: MatrixBase.h:99
RowVectorBase & operator=(const RowVectorBase &b)
Copy assignment is deep copy but behavior depends on type of lhs: if view, rhs must match...
Definition: RowVectorBase.h:136
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
const MatrixHelper< Scalar > & getHelper() const
Definition: MatrixBase.h:864
RowVectorView_ & operator/=(const StdNumber &t)
Definition: RowVectorView_.h:84
RowVectorView_ & operator=(const ELT &v)
Definition: RowVectorView_.h:74
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
RowVectorView_ & operator+=(const ELT &b)
Definition: RowVectorView_.h:85
RowVectorBase & operator*=(const StdNumber &t)
Definition: RowVectorBase.h:142
RowVectorView_ & operator=(const RowVectorView_ &r)
Definition: RowVectorView_.h:64