TMtx::EigSym Method

Overload List

#SignatureDescription
1TMtx *EigSym(TVec *D, const double Minimum, const double Maximum, const double Tolerance = 0);Computes eigenvalues of a symmetric (Hermitian) matrix between minimum and maximum.
2TMtx *EigSym(TVec *D, TMtx *V, double Minimum, double Maximum, double Tolerance = 0);Computes eigenvalues and eigenvectors of a symmetric (Hermitian) matrix between minimum and maximum.
3TMtx *EigSym(TVec *D, TMtx *V);Computes all eigenvalues of a symmetric (Hermitian) matrix between min and max Index.

Overload 1: TMtx *EigSym(TVec *D, const double Minimum, const double Maximum, const double Tolerance = 0);

Computes eigenvalues of a symmetric (Hermitian) matrix between minimum and maximum.

#NameTypeDescription
1DTVec *
2Minimumconst double
3Maximumconst double
4Tolerance = 0const double
Remarks:

The computation is based on Relatively Robust Representations.

Tolerance parameter specifies the absolute error tolerance for the eigenvalues. An approximate eigenvalue is accepted as converged when it is determined to lie in an interval [a,b] of width less than or equal to

Tolerance + EPS / max( |a|,|b| ) ,

where EPS is the machine precision. If Tolerance is less than or equal to zero, then EPS*|T| will be used in its place, where |T| is the 1-norm of the tridiagonal matrix obtained by reducing A to tridiagonal form.

Eigenvalues will be computed most accurately when Tolerance is set to twice the underflow threshold, not zero. If this routine returns fails , indicating that some eigenvectors did not converge, try setting Tolerance to UnderflowThreshold.

Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler

Overload 2: TMtx *EigSym(TVec *D, TMtx *V, double Minimum, double Maximum, double Tolerance = 0);

Computes eigenvalues and eigenvectors of a symmetric (Hermitian) matrix between minimum and maximum.

#NameTypeDescription
1DTVec *
2VTMtx *
3Minimumdouble
4Maximumdouble
5Tolerance = 0double
Remarks:

The computation is based on Relatively Robust Representations.

Tolerance parameter specifies the absolute error tolerance for the eigenvalues. An approximate eigenvalue is accepted as converged when it is determined to lie in an interval [a,b] of width less than or equal to

Tolerance + EPS / max( |a|,|b| ) ,

where EPS is the machine precision. If Tolerance is less than or equal to zero, then EPS*|T| will be used in its place, where |T| is the 1-norm of the tridiagonal matrix obtained by reducing A to tridiagonal form.

Eigenvalues will be computed most accurately when Tolerance is set to twice the underflow threshold, not zero. If this routine returns fails , indicating that some eigenvectors did not converge, try setting Tolerance to UnderflowThreshold.

Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler

Overload 3: TMtx *EigSym(TVec *D, TMtx *V);

Computes all eigenvalues of a symmetric (Hermitian) matrix between min and max Index.

#NameTypeDescription
1DTVec *
2VTMtx *
Remarks:

The computation is based on Relatively Robust Representations.

Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler