MF_Dia_equC
| MD_Dia_equC |
ME_Dia_equC |
MCF_Dia_equC |
MCD_Dia_equC |
MCE_Dia_equC |
MI_Dia_equC | MBI_Dia_equC | MSI_Dia_equC | MLI_Dia_equC | MQI_Dia_equC |
MU_Dia_equC | MUB_Dia_equC | MUS_Dia_equC | MUL_Dia_equC | MUQ_Dia_equC |
|
Function | initialize all elements of the diagonal of a square matrix with a constant |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Dia_equC( fMatrix MA, ui len, float C ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Dia_equC( const T& C ); |
Pascal/Delphi | uses MFstd;
procedure MF_Dia_equC( MA:fMatrix; len:UIntSize; C:Single ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_equC( fMatrix d_MA, ui len, float C );
int cusdMF_Dia_equC( fMatrix d_MA, ui len, float *d_C );
void MFcu_Dia_equC( fMatrix h_MA, ui len, float C ); |
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Dia_equC( d_MA:fMatrix; len:UIntSize; C:Single ): IntBool;
function cusdMF_Dia_equC( d_MA:fMatrix; len:UIntSize; d_C:PSingle ): IntBool;
procedure MFcu_Dia_equC( h_MA:fMatrix; len:UIntSize; C:Single );
|
|
Description | MAi,i = C, i=0,...,len-1 |
|
|