MF_Dia_mulC
| MD_Dia_mulC |
ME_Dia_mulC |
MCF_Dia_mulC |
MCD_Dia_mulC |
MCE_Dia_mulC |
|
Function | multiply all elements of the diagonal of a square matrix by a constant |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Dia_mulC( fMatrix MA, ui len, float C ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Dia_mulC( const T& C ); |
Pascal/Delphi | uses MFstd;
procedure MF_Dia_mulC( MA:fMatrix; len:UIntSize; C:Single ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_mulC( fMatrix d_MA, ui len, float C );
int cusdMF_Dia_mulC( fMatrix d_MA, ui len, float *d_C );
void MFcu_Dia_mulC( fMatrix h_MA, ui len, float C ); |
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Dia_mulC( d_MA:fMatrix; len:UIntSize; C:Single ): IntBool;
function cusdMF_Dia_mulC( d_MA:fMatrix; len:UIntSize; d_C:PSingle ): IntBool;
procedure MFcu_Dia_mulC( h_MA:fMatrix; len:UIntSize; C:Single );
|
|
Description | MAi,i *= C, i=0,...,len-1 |
|
|