Dew MtxVec NET
TMtx.EigGen Method
Summary
Performs the reduction of the symmetric-definite generalized eigenvalues/eigenvectors problem to the normal eigenvalue case.

Class
TMtx

Declaration
Function EigGen(B: TMtx; D: TVec; V: TMtx = nil; EigGenType: TEigGenType = etAzBz): TMtx;

Description
Performs the reduction of the symmetric-definite generalized eigenvalues/eigenvectors problem to the normal eigenvalue case.
 See Also 
Eig 

Example 1

var D: TVec; A,B,C: TMtx; begin CreateIt(D); CreateIt(A,B,C); try D.SetIt(2 ,False,[0,2]); // vector, length 2, real A.SetIt(2,2,False,[1,2, 2,4]); // 2x2, real matrix // A must be symmetric B.SetIt(2,2,False,[1,1, 1,2]); // 2x2, real matrix // B must be symmetric and positive definite A.EigGen(B,D); // Use A and B to find eigenvalues finally FreeIt(A,B,C); FreeIt(A); end; end;

Copyright 2008 Dew Research
http://www.dewresearch.com