MF_Trd_extract MD_Trd_extract ME_Trd_extract
MCF_Trd_extract MCD_Trd_extract MCE_Trd_extract
MI_Trd_extractMBI_Trd_extractMSI_Trd_extractMLI_Trd_extractMQI_Trd_extract
MU_Trd_extractMUB_Trd_extractMUS_Trd_extractMUL_Trd_extractMUQ_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 MTrd, 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 );
CUDA function C/C++#include <cudaMFstd.h>
int cudaMF_Trd_extract( fMatrix d_MTrd, fMatrix d_MA, ui len );
void MFcu_Trd_extract( fMatrix h_MTrd, fMatrix h_MA, ui len );
CUDA function Pascal/Delphiuses MFstd;
function cudaMF_Trd_extract( d_MTrd, d_MA:fMatrix; len:UIntSize ): IntBool;
procedure MFcu_Trd_extract( h_MTrd, h_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