ILNumerics Ultimate VSILMatheig Method (InArraycomplex, OutArraycomplex)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.3.7131.2749)

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


Type: ILNumericsInArraycomplex
Input matrix. Size [n x n].
Type: ILNumericsOutArraycomplex
[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: RetArraycomplex
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 complex, since A may be nonsymmetric. Use eigSymm(InArraycomplex) 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(InArraycomplex, OutArraycomplex, MatrixProperties, Boolean)