MF_Dia_equV MD_Dia_equV ME_Dia_equV
MCF_Dia_equV MCD_Dia_equV MCE_Dia_equV
MI_Dia_equVMBI_Dia_equVMSI_Dia_equVMLI_Dia_equVMQI_Dia_equV
MU_Dia_equVMUB_Dia_equVMUS_Dia_equVMUL_Dia_equVMUQ_Dia_equV
Functioncopy a vector into the diagonal of a square matrix
Syntax C/C++#include <MFstd.h>
void MF_Dia_equV( fMatrix MA, ui len, fVector X );
C++ MatObj#include <OptiVec.h>
void matrix<T>::Dia_equV( const vector<T>& X );
Pascal/Delphiuses MFstd;
procedure MF_Dia_equV( MA:fMatrix; len:UIntSize; X:fVector );
DescriptionMAi,i = Xi,  i=0,...,len-1
See alsoMF_Dia_equ0,   MF_Dia_equC,   chapter 3,   chapter 6,   chapter 7

MatrixLib Table of Contents  OptiVec home