MF_Trd_extract
| MD_Trd_extract |
ME_Trd_extract |
MCF_Trd_extract |
MCD_Trd_extract |
MCE_Trd_extract |
MI_Trd_extract | MBI_Trd_extract | MSI_Trd_extract | MLI_Trd_extract | MQI_Trd_extract |
MU_Trd_extract | MUB_Trd_extract | MUS_Trd_extract | MUL_Trd_extract | MUQ_Trd_extract |
|
Function | extract 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/Delphi | uses 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/Delphi | uses MFstd;
function cudaMF_Trd_extract( d_MTrd, d_MA:fMatrix; len:UIntSize ): IntBool;
procedure MFcu_Trd_extract( h_MTrd, h_MA:fMatrix; len:UIntSize );
|
|
Description | The 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. |
|
|