ILNumerics Ultimate VS

ILMatheigSymm Method (InArraycomplex, OutArraycomplex)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Find all eigenvalues and -vectors of a symmetric /hermitian matrix.

[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<double> eigSymm(
	InArray<complex> A,
	OutArray<complex> V = null
)

Parameters

A
Type: ILNumericsInArraycomplex
Input matrix, Size [n x n], symmetric (hermitian for complex A).
V (Optional)
Type: ILNumericsOutArraycomplex
Output: n eigenvectors in ascending order as columns. Size [n x n]. If V is null on input, the eigenvectors will not be computed.

Return Value

Type: RetArrayDouble
Diagonal matrix of size [n,n] with eigenvalues of A on the main diagonal.
Exceptions

ExceptionCondition
ArgumentExceptionif A is not square.
Remarks

For computation the Lapack functions zheevr, ssyevr, chesvr and zheesv are used.

Since A is symmetric, eigenvalues are real. The return value will be of the same real/complex type as A.

[ILNumerics Computing Engine]

See Also

Reference