MF_Dia_extract MD_Dia_extract ME_Dia_extract
MCF_Dia_extract MCD_Dia_extract MCE_Dia_extract
Functioncopy the diagonal of a square matrix into a vector
Syntax C/C++#include <MFstd.h>
void MF_Dia_extract( fVector Y, fMatrix MA, unsigned 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:UInt );
DescriptionYi = MAi,i,  i=0,...,len-1
See alsoMF_Dia_equV,   chapter 3,   chapter 6

MatrixLib Table of Contents  OptiVec home