MF_Dia_subC MD_Dia_subC ME_Dia_subC
MCF_Dia_subC MCD_Dia_subC MCE_Dia_subC
Functionsubtract a constant from all elements of the diagonal of a square matrix
Syntax C/C++#include <MFstd.h>
void MF_Dia_subC( fMatrix MA, ui len, float C );
C++ MatObj#include <OptiVec.h>
void matrix<T>::Dia_subC( const T& C );
Pascal/Delphiuses MFstd;
procedure MF_Dia_subC( MA:fMatrix; len:UIntSize; C:Single );
DescriptionMAi,i -= C,  i=0,...,len-1
See alsoMF_Dia_subV,   MF_Dia_subrC,   chapter 6

MatrixLib Table of Contents  OptiVec home