MF_Dia_equC MD_Dia_equC ME_Dia_equC
MCF_Dia_equC MCD_Dia_equC MCE_Dia_equC
MI_Dia_equCMBI_Dia_equCMSI_Dia_equCMLI_Dia_equCMQI_Dia_equC
MU_Dia_equCMUB_Dia_equCMUS_Dia_equCMUL_Dia_equCMUQ_Dia_equC
Functioninitialize 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/Delphiuses 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/Delphiuses 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 );
DescriptionMAi,i = C,  i=0,...,len-1
See alsoMF_Dia_equ0,   MF_Dia_equV,   chapter 3,   chapter 6,   chapter 7

MatrixLib Table of Contents  OptiVec home