ILNumerics Ultimate VSILMatheigSymm Method (InArraySingle, OutArraySingle)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<float> eigSymm(
	InArray<float> A,
	OutArray<float> V = null
)

Parameters

A
Type: ILNumericsInArraySingle
Input matrix, Size [n x n], symmetric (hermitian for fcomplex A).
V (Optional)
Type: ILNumericsOutArraySingle
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: RetArraySingle
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 ssyevr, ssyevr, chesvr and zheesv are used.

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

[ILNumerics Computing Engine]

See Also

Reference