MF_Dia_subC
| MD_Dia_subC |
ME_Dia_subC |
MCF_Dia_subC |
MCD_Dia_subC |
MCE_Dia_subC |
|
Function | subtract a constant from all elements of the diagonal of a square matrix |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Dia_subC( fMatrix MA, ui len, float C ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Dia_subC( const T& C ); |
Pascal/Delphi | uses MFstd;
procedure MF_Dia_subC( MA:fMatrix; len:UIntSize; C:Single ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_subC( fMatrix d_MA, ui len, float C );
int cusdMF_Dia_subC( fMatrix d_MA, ui len, float *d_C );
void MFcu_Dia_subC( fMatrix h_MA, ui len, float C ); |
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Dia_subC( d_MA:fMatrix; len:UIntSize; C:Single ): IntBool;
function cusdMF_Dia_subC( d_MA:fMatrix; len:UIntSize; d_C:PSingle ): IntBool;
procedure MFcu_Dia_subC( h_MA:fMatrix; len:UIntSize; C:Single );
|
|
Description | MAi,i -= C, i=0,...,len-1 |
|
|