1 #ifndef SimTK_SIMMATRIX_MATRIXVIEW_H_
2 #define SimTK_SIMMATRIX_MATRIXVIEW_H_
43 template <
class ELT>
class MatrixView_ :
public MatrixBase<ELT> {
44 typedef MatrixBase<ELT> Base;
45 typedef typename CNT<ELT>::Scalar S;
46 typedef typename CNT<ELT>::StdNumber StdNumber;
98 #endif // SimTK_SIMMATRIX_MATRIXVIEW_H_
Here we define class MatrixHelper, the scalar-type templatized helper class for the more general...
Definition: MatrixHelper.h:79
MatrixView_ & operator*=(const StdNumber &t)
Definition: MatrixView_.h:81
MatrixView_ & operator=(const ELT &e)
Definition: MatrixView_.h:72
const MatrixHelper< Scalar > & getHelper() const
Definition: MatrixBase.h:865
MatrixView_ & operator-=(const MatrixBase< EE > &m)
Definition: MatrixView_.h:78
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
(Advanced) This class is identical to Matrix_ except that it has shallow (reference) copy and assignm...
Definition: BigMatrix.h:167
MatrixBase & operator=(const MatrixBase &b)
Definition: MatrixBase.h:201
MatrixView_ & operator=(const MatrixBase< EE > &m)
Definition: MatrixView_.h:74
MatrixBase & operator*=(const StdNumber &t)
Definition: MatrixBase.h:290
This is the common base class for Simbody's Vector_ and Matrix_ classes for handling large...
Definition: BigMatrix.h:163
MatrixView_(const MatrixHelper< S > &h)
Definition: MatrixView_.h:68
MatrixView_(const MatrixView_ &m)
Definition: MatrixView_.h:57
MatrixView_(MatrixHelperRep< S > *hrep)
Definition: MatrixView_.h:52
MatrixBase & operator/=(const StdNumber &t)
Definition: MatrixBase.h:291
MatrixBase & operator+=(const MatrixBase &r)
Definition: MatrixBase.h:292
MatrixView_ & operator=(const MatrixView_ &m)
Definition: MatrixView_.h:63
MatrixView_(MatrixHelper< S > &h)
Definition: MatrixView_.h:69
VectorView_< ELT > updDiag()
Select main diagonal (of largest leading square if rectangular) and return it as a writable view of t...
Definition: BigMatrix.h:245
MatrixView_ & operator=(const Matrix_< ELT > &v)
Definition: MatrixView_.h:71
MatrixView_ & operator-=(const ELT &r)
Definition: MatrixView_.h:84
A MatrixCommitment provides a set of acceptable matrix characteristics.
Definition: MatrixCharacteristics.h:831
MatrixBase & operator-=(const MatrixBase &r)
Definition: MatrixBase.h:293
MatrixView_ & operator+=(const MatrixBase< EE > &m)
Definition: MatrixView_.h:76
Definition: MatrixHelper.h:48
MatrixView_ & operator+=(const ELT &r)
Definition: MatrixView_.h:83
MatrixView_ & operator/=(const StdNumber &t)
Definition: MatrixView_.h:82
This is the matrix class intended to appear in user code for large, variable size matrices...
Definition: BigMatrix.h:168