ILNumerics Ultimate VS

ILMatheigSymm Method (InArrayfcomplex, OutArrayfcomplex)

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<float> eigSymm(
	InArray<fcomplex> A,
	OutArray<fcomplex> V = null
)

Parameters

A
Type: ILNumericsInArrayfcomplex
Input matrix, Size [n x n], symmetric (hermitian for fcomplex A).
V (Optional)
Type: ILNumericsOutArrayfcomplex
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 cheevr, 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