MF_submatrix MD_submatrix ME_submatrix
MCF_submatrix MCD_submatrix MCE_submatrix
MI_submatrixMBI_submatrixMSI_submatrixMLI_submatrixMQI_submatrix
MU_submatrixMUB_submatrixMUS_submatrixMUL_submatrixMUQ_submatrix
Functionextract a submatrix from a (larger) matrix
Syntax C/C++#include <MFstd.h>
void MF_submatrix( fMatrix MSub, ui subHt, ui subLen, fMatrix MSrce, ui srceHt, ui srceLen, ui firstRowInCol, ui sampInCol, ui firstColInRow, ui sampInRow );
C++ MatObj#include <OptiVec.h>
void matrix<T>::submatrix( const matrix<T>& MSrce, const ui firstRowInCol, const ui sampInCol, const ui firstColInRow, const ui sampInRow );
Pascal/Delphiuses MFstd;
procedure MF_submatrix( MSub:fMatrix; subHt, subLen:UIntSize; MSrce:fMatrix; srceHt, srceLen:UIntSize; firstRowInCol, sampInCol, firstColInRow, sampInRow:UIntSize );
DescriptionMSubi, j = MSrcei*sampInCol+firstRowInCol, j*sampInRow+firstColInRow
See alsoVF_subvector,   MF_Row_extract,   MF_submatrix_equM,   chapter 5

MatrixLib Table of Contents  OptiVec home