ILNumerics Ultimate VS

ILMatheig Method (InArrayDouble, OutArraycomplex, MatrixProperties, Boolean)

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

[ILNumerics Computing Engine]

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

public static RetArray<complex> eig(
	InArray<double> A,
	OutArray<complex> V,
	ref MatrixProperties propsA,
	bool balance


Type: ILNumericsInArrayDouble
Input: square matrix, size [n x n].
Type: ILNumericsOutArraycomplex
[Optional] Output, matrix of eigenvectors of A. Size [n x n]. If null: do not compute. If not null on entry V returns the Eigenvectors.
Type: ILNumericsMatrixProperties
Matrix properties, on input - if specified, will be used to choose an advantageous path to the solution. On exit will be filled according to the properties of A (symmetric | hermitian).
Type: SystemBoolean
True: permute A in order to increase the numerical stability, false: do not permute A.

Return Value

Type: RetArraycomplex
Eigenvalues as vector (if V is null) or as diagonoal matrix (if V was not null).

ArgumentExceptionif A is not a square matrix.

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(InArrayDouble) for computing real eigenvalues of symmetric matrices.

Depending on the parameter balanceA will be 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(InArrayDouble, OutArraycomplex, MatrixProperties, Boolean)