MBDyn-1.7.3
|
#include <matvec.h>
Public Types | |
typedef VectorExpression < SubVectorExpr< iColStart, iColEnd, typename MatrixExpr::RowVectorType > , iNumCols > | RowVectorType |
typedef VectorExpression < SubVectorExpr< iRowStart, iRowEnd, typename MatrixExpr::ColumnVectorType > , iNumRows > | ColumnVectorType |
typedef MatrixExpr::ScalarType | ScalarType |
typedef MatrixExpr::ExpressionType | ExpressionType |
Public Member Functions | |
SubMatrixExpr (const MatrixExpr &A) | |
const ScalarType & | operator() (index_type i, index_type j) const |
index_type | iGetNumRows () const |
index_type | iGetNumCols () const |
RowVectorType | GetRow (index_type iRow) const |
ColumnVectorType | GetCol (index_type iCol) const |
template<typename ScalarType2 > | |
bool | bHaveReferenceTo (const ScalarType2 *pFirst, const ScalarType2 *pLast) const |
Static Public Attributes | |
static const bool | bAlias = MatrixExpr::bAlias |
static const index_type | iNumRows = iRowEnd - iRowStart + 1 |
static const index_type | iNumCols = iColEnd - iColStart + 1 |
Private Types | |
typedef MaxSizeCheck< iRowEnd <=MatrixExpr::iNumRows > ::CheckType check_iRowEnd;typedef typename MaxSizeCheck < iColStart >=1 >::CheckType | check_iColStart |
Private Attributes | |
typedef | MaxSizeCheck< iRowStart > = 1>::CheckType check_iRowStart |
|
private |
typedef VectorExpression<SubVectorExpr<iRowStart, iRowEnd, typename MatrixExpr::ColumnVectorType>, iNumRows> grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::ColumnVectorType |
typedef MatrixExpr::ExpressionType grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::ExpressionType |
typedef VectorExpression<SubVectorExpr<iColStart, iColEnd, typename MatrixExpr::RowVectorType>, iNumCols> grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::RowVectorType |
typedef MatrixExpr::ScalarType grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::ScalarType |
|
inline |
|
inline |
|
inline |
Definition at line 1204 of file matvec.h.
References grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::iGetNumCols(), and MATVEC_ASSERT.
|
inline |
Definition at line 1198 of file matvec.h.
References grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::iGetNumRows(), and MATVEC_ASSERT.
|
inline |
Definition at line 1194 of file matvec.h.
References grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::iNumCols.
Referenced by grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::GetCol(), and grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::operator()().
|
inline |
Definition at line 1190 of file matvec.h.
References grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::iNumRows.
Referenced by grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::GetRow(), and grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::operator()().
|
inline |
Definition at line 1182 of file matvec.h.
References grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::iGetNumCols(), grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::iGetNumRows(), and MATVEC_ASSERT.
|
static |
|
static |
Definition at line 1169 of file matvec.h.
Referenced by grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::iGetNumCols().
|
static |
Definition at line 1168 of file matvec.h.
Referenced by grad::SubMatrixExpr< iRowStart, iRowEnd, iColStart, iColEnd, MatrixExpr >::iGetNumRows().
|
private |