Unit: | SDL_math2 | Class: | none | Declaration: | function GetEigenResult (EigVecNum: integer; VecElem: integer): real; |
The routine GetEigenResult returns one element of a specific eigenvector. The parameter EigVecNum defines the number of the eigenvector, the parameter VecElem specifies the number of the element of that vector. If VecElem is set to zero the routine returns the eigenvalue of the eigenvector EigVecNum. Any invalid parameters result in a zero return value.
Hint: |
The function GetEigenResult is also used in connection with the procedure CalcPrincComp to read the principal components. |
Example: |
The statement "if (GetEigenResult (2,0) > 0.1) then ..." checks if the eigenvalue of the second eigenvector is larger than 0.1.
|
|