MF_Dia_subrC
| MD_Dia_subrC |
ME_Dia_subrC |
MCF_Dia_subrC |
MCD_Dia_subrC |
MCE_Dia_subrC |
|
Function | reverse subtraction: a constant minus the elements of the diagonal of a square matrix, storing the result back into the diagonal |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Dia_subrC( fMatrix MA, ui len, float C ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Dia_subrC( const T& C ); |
Pascal/Delphi | uses MFstd;
procedure MF_Dia_subrC( MA:fMatrix; len:UIntSize; C:Single ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_subrC( fMatrix d_MA, ui len, float C );
int cusdMF_Dia_subrC( fMatrix d_MA, ui len, float *d_C );
void MFcu_Dia_subrC( fMatrix h_MA, ui len, float C ); |
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Dia_subrC( d_MA:fMatrix; len:UIntSize; C:Single ): IntBool;
function cusdMF_Dia_subrC( d_MA:fMatrix; len:UIntSize; d_C:PSingle ): IntBool;
procedure MFcu_Dia_subrC( h_MA:fMatrix; len:UIntSize; C:Single );
|
|
Description | MAi,i = C - MAi,i, i=0,...,len-1 |
|
|