MF_Dia_extract
| MD_Dia_extract |
ME_Dia_extract |
MCF_Dia_extract |
MCD_Dia_extract |
MCE_Dia_extract |
MI_Dia_extract | MBI_Dia_extract | MSI_Dia_extract | MLI_Dia_extract | MQI_Dia_extract |
MU_Dia_extract | MUB_Dia_extract | MUS_Dia_extract | MUL_Dia_extract | MUQ_Dia_extrac |
|
Function | copy the diagonal of a square matrix into a vector |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Dia_extract( fVector Y, fMatrix MA, ui len ); |
C++ MatObj | #include <OptiVec.h>
void vector<T>::Dia_extract( const matrix<T>& MA ); |
Pascal/Delphi | uses MFstd;
procedure MF_Dia_extract( Y:fVector; MA:fMatrix; len:UIntSize ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_extract( fVector d_Y, fMatrix d_MA, ui len );
void MFcu_Dia_extract( fVector h_Y, fMatrix h_MA, ui len ); |
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Dia_extract( d_Y:fVector; d_MA:fMatrix; len:UIntSize ): IntBool;
procedure MFcu_Dia_extract( h_Y:fVector; h_MA:fMatrix; len:UIntSize );
|
|
Description | Yi = MAi,i, i=0,...,len-1 |
|
|