cisst-saw
|
#include <vctDynamicConstMatrixBase.h>
Public Types | |
typedef vctDynamicConstMatrixRef < value_type > | Type |
Define a ConstSubmatrix class for compatibility with the fixed size matrices. A const submatrix has the same stride as the parent container.
Example:
typedef vctDynamicMatrix<double> MatrixType; MatrixType M(6,6); MatrixType::ConstSubmatrix::Type topLeft(M, 0, 0); MatrixType::ConstSubmatrix::Type bottomRight(M, 3, 3);
vctFixedSizeConstMatrixRef<double, 3, 3, 1, 6> topRight(M, 0, 3); vctFixedSizeConstMatrixRef<double, 3, 3, 1, 6> bottomLeft(M, 3, 0);
typedef vctDynamicConstMatrixRef<value_type> vctDynamicConstMatrixBase< _matrixOwnerType, _elementType >::ConstSubmatrix::Type |