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