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 );
CUDA function C/C++#include <cudaMFstd.h>
int cudaMF_submatrix( fMatrix d_MSub, ui subHt, ui subLen, fMatrix d_MSrce, ui srceHt, ui srceLen, ui firstRowInCol, ui sampInCol, ui firstColInRow, ui sampInRow );
void MFcu_submatrix( fMatrix h_MSub, ui subHt, ui subLen, fMatrix h_MSrce, ui srceHt, ui srceLen, ui firstRowInCol, ui sampInCol, ui firstColInRow, ui sampInRow );
CUDA function Pascal/Delphiuses MFstd;
function cudaMF_submatrix( d_MSub:fMatrix; subHt, subLen:UIntSize; d_MSrce:fMatrix; srceHt, srceLen:UIntSize; firstRowInCol, sampInCol, firstColInRow, sampInRow:UIntSize ): IntBool;
procedure MFcu_submatrix( h_MSub:fMatrix; subHt, subLen:UIntSize; h_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