MF_Dia_mulV
| MD_Dia_mulV |
ME_Dia_mulV |
MCF_Dia_mulV |
MCD_Dia_mulV |
MCE_Dia_mulV |
|
Function | element-wise multiplication of the diagonal of a square matrix by a vector |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Dia_mulV( fMatrix MA, ui len, fVector X ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Dia_mulV( const vector<T>& X ); |
Pascal/Delphi | uses MFstd;
procedure MF_Dia_mulV( MA:fMatrix; len:UIntSize; X:fVector ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_mulV( fMatrix d_MA, ui len, fVector d_X );
void MFcu_Dia_mulV( fMatrix h_MA, ui len, fVector h_X ); |
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Dia_mulV( d_MA:fMatrix; len:UIntSize; d_X:fVector ): IntBool;
procedure MFcu_Dia_mulV( h_MA:fMatrix; len:UIntSize; h_X:fVector );
|
|
Description | MAi,i *= Xi, i=0,...,len-1 |
|
|