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;
44 typedef typename CNT<ELT>::Scalar S;
45 typedef typename CNT<ELT>::Number Number;
46 typedef typename CNT<ELT>::StdNumber StdNumber;
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, the scalar-type templatized helper class for the more general...
Definition: MatrixHelper.h:79
RowVectorView_(const RowVectorView_ &r)
Definition: RowVectorView_.h:60
RowVectorView_(const MatrixHelper< S > &h)
Definition: RowVectorView_.h:69
RowVectorBase & operator-=(const RowVectorBase &r)
Definition: RowVectorBase.h:145
RowVectorBase & operator*=(const StdNumber &t)
Definition: RowVectorBase.h:142
const MatrixHelper< Scalar > & getHelper() const
Definition: MatrixBase.h:865
RowVectorView_ & operator*=(const StdNumber &t)
Definition: RowVectorView_.h:83
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
RowVectorView_ & operator-=(const ELT &b)
Definition: RowVectorView_.h:86
RowVectorBase & operator+=(const RowVectorBase &r)
Definition: RowVectorBase.h:144
RowVectorView_(MatrixHelperRep< S > *hrep)
Definition: RowVectorView_.h:55
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
RowVectorView_ & operator/=(const StdNumber &t)
Definition: RowVectorView_.h:84
RowVectorView_ & operator=(const Base &b)
Definition: RowVectorView_.h:72
RowVectorView_ & operator=(const RowVectorBase< EE > &m)
Definition: RowVectorView_.h:76
RowVectorView_ & operator+=(const ELT &b)
Definition: RowVectorView_.h:85
RowVectorBase & operator/=(const StdNumber &t)
Definition: RowVectorBase.h:143
(Advanced) This class is identical to RowVector_ except that it has shallow (reference) copy and assi...
Definition: BigMatrix.h:173
RowVectorView_ & operator+=(const RowVectorBase< EE > &m)
Definition: RowVectorView_.h:78
MatrixBase & elementwiseAddScalarInPlace(const S &s)
Set M(i,j)+=s for every element of M and some value s.
This is a dataless rehash of the MatrixBase class to specialize it for RowVectors.
Definition: BigMatrix.h:165
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
Definition: MatrixHelper.h:48
RowVectorView_(MatrixHelper< S > &h)
Definition: RowVectorView_.h:70
RowVectorView_ & operator=(const RowVectorView_ &r)
Definition: RowVectorView_.h:64
RowVectorView_ & operator=(const ELT &v)
Definition: RowVectorView_.h:74