MF_Dia_addV
| MD_Dia_addV |
ME_Dia_addV |
MCF_Dia_addV |
MCD_Dia_addV |
MCE_Dia_addV |
|
Function | element-wise addition of a vector to the diagonal of a square matrix |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Dia_addV( fMatrix MA, ui len, fVector X ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Dia_addV( const vector<T>& X ); |
Pascal/Delphi | uses MFstd;
procedure MF_Dia_addV( MA:fMatrix; len:UIntSize; X:fVector ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_addV( fMatrix d_MA, ui len, fVector d_X );
void MFcu_Dia_addV( fMatrix h_MA, ui len, fVector h_X ); |
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Dia_addV( d_MA:fMatrix; len:UIntSize; d_X:fVector ): IntBool;
procedure MFcu_Dia_addV( h_MA:fMatrix; len:UIntSize; h_X:fVector );
|
|
Description | MAi,i += Xi, i=0,...,len-1 |
|
|