﻿ILMath.eig Method (InArray(complex)) # ILMathAddLanguageSpecificTextSet("LST31936DBC_0?cpp=::|nu=.");eig Method (InArrayAddLanguageSpecificTextSet("LST31936DBC_1?cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=(");complexAddLanguageSpecificTextSet("LST31936DBC_2?cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)");)

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

[ILNumerics Computing Engine]

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

```public static RetArray<complex> eig(
InArray<complex> A
)```

#### Parameters

A
Type: ILNumericsInArraycomplex
Input matrix. Size [n x n].

#### Return Value

Type: RetArraycomplex
Vector of eigenvalues of A. Size [n x 1].
Remarks

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

The vector returned is 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

#### Reference

MathInternal.eig(InArraycomplex, OutArraycomplex)
MathInternal.eig(InArraycomplex, OutArraycomplex, MatrixProperties, Boolean)