ERC CISST - cisst software

vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >::ConstSubmatrix< _subRows, _subCols > Class Template Reference

#include <vctFixedSizeConstMatrixBase.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 vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >::ConstSubmatrix< _subRows, _subCols >

Easy definition of a submatrix type

This class declares a 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 1057 of file vctFixedSizeConstMatrixBase.h.

Public Types


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