MF_submatrix
| MD_submatrix |
ME_submatrix |
MCF_submatrix |
MCD_submatrix |
MCE_submatrix |
MI_submatrix | MBI_submatrix | MSI_submatrix | MLI_submatrix | MQI_submatrix |
MU_submatrix | MUB_submatrix | MUS_submatrix | MUL_submatrix | MUQ_submatrix |
|
Function | extract 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/Delphi | uses 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/Delphi | uses 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 );
|
|
Description | MSubi, j = MSrcei*sampInCol+firstRowInCol, j*sampInRow+firstColInRow |
|
|