MF_Trd_extract MD_Trd_extract ME_Trd_extract
MCF_Trd_extract MCD_Trd_extract MCE_Trd_extract
Functionextract the tridiagonal part from a general matrix and store it into a compacted tridiagonal matrix
Syntax C/C++#include <MFstd.h>
void MF_Trd_extract( fMatrix Trd, fMatrix MA, ui len );
C++ MatObj#include <OptiVec.h>
void matrix<T>::Trd_estract( const matrix<T>& MA );
Pascal/Delphiuses MFstd;
procedure MF_Trd_extract( MTrd, MA:fMatrix; len:UIntSize );
DescriptionThe first diagonal above the main diagonal of the square matrix MA is copied into Row 0 of MTrd. The main diagonal of MA goes into Row1 of MTrd, and the first diagonal below the main diagonal of MA is copied into Row 2 of MTrd. See chapter 1.2 for details about the storing of tridiagonal matrices.
See alsoMF_Dia_extract,   MF_Trd_equM,   chapter 2

MatrixLib Table of Contents  OptiVec home