ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Diagonal matrix of size [n,n] with eigenvalues of A on the main diagonal.
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
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: RetArrayDoubleDiagonal matrix of size [n,n] with eigenvalues of A on the main diagonal.
Exceptions
Exception | Condition |
---|---|
ArgumentException | if 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