MF_Dia_equ0 MD_Dia_equ0 ME_Dia_equ0
MCF_Dia_equ0 MCD_Dia_equ0 MCE_Dia_equ0
MCF_Dia_Reequ0 MCD_Dia_Reequ0 MCE_Dia_Reequ0
MCF_Dia_Imequ0 MCD_Dia_Imequ0 MCE_Dia_Imequ0
Functioninitialize all elements of the diagonal of a square matrix with zero
Syntax C/C++#include <MFstd.h>
void MF_Dia_equ0( fMatrix MA, ui len );
void MCF_Dia_Reequ0( cfMatrix MA, ui len );
void MCF_Dia_Imequ0( cfMatrix MA, ui len );
C++ MatObj#include <OptiVec.h>
void matrix<T>::Dia_equ0( );
void matrix<complex<T>>::Dia_Reequ0( );
void matrix<complex<T>>::Dia_Imequ0( );
Pascal/Delphiuses MFstd;
procedure MF_Dia_equ0( MA:fMatrix; len:UIntSize );
procedure MCF_Dia_Reequ0( MA:cfMatrix; len:UIntSize );
procedure MCF_Dia_Imequ0( MA:cfMatrix; len:UIntSize );
CUDA function C/C++#include <cudaMFstd.h>
int cudaMF_Dia_equ0( fMatrix d_MA, ui len );
int cudaMCF_Dia_Reequ0( cfMatrix d_MA, ui len );
int cudaMCF_Dia_Imequ0( cfMatrix d_MA, ui len );
void MFcu_Dia_equ0( fMatrix h_MA, ui len );
CUDA function Pascal/Delphiuses MFstd;
function cudaMF_Dia_equ0( d_MA:fMatrix; len:UIntSize ): IntBool;
function cudaMCF_Dia_Reequ0( d_MA:cfMatrix; len:UIntSize ): IntBool;
function cudaMCF_Dia_Imequ0( d_MA:cfMatrix; len:UIntSize ): IntBool;
procedure MFcu_Dia_equ0( h_MA:fMatrix; len:UIntSize );
M?_Dia_equ0 MAi,i = 0,  i=0,...,len-1
MC?_Dia_Reequ0 MAi,i.Re = 0,  i=0,...,len-1 (MAi,i.Im remains unchanged)
MC?_Dia_Imequ0 MAi,i.Im = 0,  i=0,...,len-1 (MAi,i.Re remains unchanged)
See alsoMF_Dia_equC,   MF_Dia_equV,   chapter 3,   chapter 6,   chapter 7

MatrixLib Table of Contents  OptiVec home