cisst-saw
|
#include <vctFixedSizeMatrixBase.h>
Public Types | |
typedef vctFixedSizeMatrixRef < value_type, _subRows, _subCols, ROWSTRIDE, COLSTRIDE > | Type |
Easy definition of a submatrix type
This class declares a non-const submatrix type. To declare a submatrix object, here's an example.
typedef vctFixedSizeMatrix<double, 4, 4> double4x4; double4x4 m; double4x4::ConstSubmatrix<3, 3>::Type subMatrix( m, 0, 0 );
The submatrix strides with respect to the parent container are always 1. The is, the memory strides between the elements of the parent matrix and submatrix are equal. For more sophisticated submatrices, the user has to write customized code.
typedef vctFixedSizeMatrixRef<value_type, _subRows, _subCols, ROWSTRIDE, COLSTRIDE> vctFixedSizeMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >::Submatrix< _subRows, _subCols >::Type |