ERC CISST - cisst software

vctFixedSizeMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >::Submatrix< _subRows, _subCols > Class Template Reference

#include <vctFixedSizeMatrixBase.h>

List of all members.


Detailed Description

template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType, class _dataPtrType>
template<size_type _subRows, size_type _subCols>
class vctFixedSizeMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >::Submatrix< _subRows, _subCols >

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.

Definition at line 1266 of file vctFixedSizeMatrixBase.h.

Public Types


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu