MF_Dia_subrV MD_Dia_subrV ME_Dia_subrV
MCF_Dia_subrV MCD_Dia_subrV MCE_Dia_subrV
Functionreverse subtraction: subtract the elements of the diagonal of a square matrix from corresponding elements of a vector, storing the result back into the diagonal
Syntax C/C++#include <MFstd.h>
void MF_Dia_subrV( fMatrix MA, ui len, fVector X );
C++ MatObj#include <OptiVec.h>
void matrix<T>::Dia_subrV( const vector<T>& X );
Pascal/Delphiuses MFstd;
procedure MF_Dia_subrV( MA:fMatrix; len:UIntSize; X:fVector );
CUDA function C/C++#include <cudaMFstd.h>
int cudaMF_Dia_subrV( fMatrix d_MA, ui len, fVector d_X );
void MFcu_Dia_subrV( fMatrix h_MA, ui len, fVector h_X );
CUDA function Pascal/Delphiuses MFstd;
function cudaMF_Dia_subrV( d_MA:fMatrix; len:UIntSize; d_X:fVector ): IntBool;
procedure MFcu_Dia_subrV( h_MA:fMatrix; len:UIntSize; h_X:fVector );
DescriptionMAi,i = Xi - MAi,i,  i=0,...,len-1
See alsoMF_Dia_subV,   MF_Dia_subrC,   chapter 6

MatrixLib Table of Contents  OptiVec home