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,m] with eigenvalues of A on the main diagonal if V is requested. Otherwise a vector with the first m elements being the requested eigenvalues.
Find some eigenvalues and -vectors of symmetric (hermitian) matrix. Filter by value of eigenvalues.
[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, float rangeStart, float rangeEnd )
Parameters
- A
- Type: ILNumericsInArrayfcomplex
Input matrix, Size [n x n], symmetric (hermitian for fcomplex A). - V
- Type: ILNumericsOutArrayfcomplex
Output: m eigenvectors as columns. Size [n x m]. If V is null on input the eigenvectors will not be computed. - rangeStart
- Type: SystemSingle
Determines the lower limit of the index range of eigenvalues to be returned. - rangeEnd
- Type: SystemSingle
Determines the upper limit of the index range of eigenvalues to be returned.
Return Value
Type: RetArraySingleDiagonal matrix of size [n,m] with eigenvalues of A on the main diagonal if V is requested. Otherwise a vector with the first m elements being the requested eigenvalues.
Exceptions
Exception | Condition |
---|---|
ArgumentException | if A is not square or rangeEnd < rangeStart. |
Remarks
For computation the Lapack functions cheevr, ssyevr, chesvr and zheesv are used.
[ILNumerics Computing Engine]
See Also