MF_Dia_extract MD_Dia_extract ME_Dia_extract
MCF_Dia_extract MCD_Dia_extract MCE_Dia_extract
MI_Dia_extractMBI_Dia_extractMSI_Dia_extractMLI_Dia_extractMQI_Dia_extract
MU_Dia_extractMUB_Dia_extractMUS_Dia_extractMUL_Dia_extractMUQ_Dia_extrac
Functioncopy the diagonal of a square matrix into a vector
Syntax C/C++#include <MFstd.h>
void MF_Dia_extract( fVector Y, fMatrix MA, ui len );
C++ MatObj#include <OptiVec.h>
void vector<T>::Dia_extract( const matrix<T>& MA );
Pascal/Delphiuses MFstd;
procedure MF_Dia_extract( Y:fVector; MA:fMatrix; len:UIntSize );
DescriptionYi = MAi,i,  i=0,...,len-1
See alsoMF_Dia_equV,   chapter 3,   chapter 6

MatrixLib Table of Contents  OptiVec home