ILNumerics Ultimate VSILMatheigSymm Method (InArrayDouble, OutArrayDouble)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.3.0.0 (5.3.7131.2749)
Syntax

public static RetArray<double> eigSymm(
	InArray<double> A,
	OutArray<double> V = null
)

Parameters

A
Type: ILNumericsInArrayDouble
Input matrix, Size [n x n], symmetric (hermitian for complex A).
V (Optional)
Type: ILNumericsOutArrayDouble
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 dsyevr, 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