The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


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.

Example: This procedure is used in the following example program (see for downloading the code): simplepca

Last Update: 2012-Oct-20