MtxVec VCL
|
Calculates matrix eigenvalues and eigenvectors.
Calculates the eigenvalues (stored in vector D elements) and optionally the eigenvectors (stored in matrix the columns of matrices VL and VR) of the calling matrix. The MtxType parameter indicates the calling matrix type. Depending the type of the calling matrix the Eig method will use specific optimized algorithm. If you don't know the type of the calling matrix, you can not omit the MtxType parameter. To determine the type of matrix use the DetectMtxType method, or set AutoMtxType property to True.
Depending on the MtxType parameter, the following algorithms will be used :
1) for symmetric positive definite matrix (mtSymPosDef, mtHermPosDef):
2) for symmetric or hermitian matrix (mtSymetric, mtHermitian):
3) for general matrix (mtGeneral):
form and Z are the eigenvectors.
[ c a ]
where b*c < 0. The eigenvalues of such a block are: a +/- sqrt(bc).
The calling matrix Quadratic property must be true, otherwise an exception is raised.
This overloaded version calculates the calling matrix eigenvalues and stores them in the vector D. The TMtxVec.ComplexComplexand Length properties of the vector D are adjusted automatically. The MtxType parameter specifies the calling TMtxType. If MtxType parameter is omitted, the default value mtGeneral (general matrix) will be used, but for symmetric matrices the matrix type has to be specified explicitly, because the algorithm for general matrices will fail on the symmetric matrix. The matrix Q is not explicitly generated.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|