ILNumerics Ultimate VS

ILMatheig Method (InArrayfcomplex, OutArrayfcomplex)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Computes eigenvalues and eigenvectors of general square matrix A.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: (5.5.7503.3146)

public static RetArray<fcomplex> eig(
	InArray<fcomplex> A,
	OutArray<fcomplex> V


Type: ILNumericsInArrayfcomplex
Input matrix. Size [n x n].
Type: ILNumericsOutArrayfcomplex
[Optional] Output, matrix of eigenvectors of A. Size [n x n]. Default: (null) do not compute. If not null on entry V returns the Eigenvectors.

Return Value

Type: RetArrayfcomplex
Diagonal matrix with eigenvalues of A. Size [n x n].

The eigenvalues of A are found by use of the Lapack functions dgeevx, sgeevx, cgeevx and zgeevx.

The matrices returned will be fcomplex, since A may be nonsymmetric. Use eigSymm(InArrayfcomplex) for computing real eigenvalues of symmetric matrices.

A is internally balanced first. This includes permutations and scaling of A in order to improve the conditioning of the eigenvalues.

[ILNumerics Computing Engine]

See Also


MathInternal.eig(InArrayfcomplex, OutArrayfcomplex, MatrixProperties, Boolean)