Back to LAPACK/BLAS
la.eigenvalues.eigHermitian
Compute eigenvalues and optionally eigenvectors of a complex Hermitian n×n matrix A.
Syntax
la.eigenvalues.eigHermitian(A, n, options?)
Description
Compute eigenvalues and optionally eigenvectors of a complex Hermitian n×n matrix A. For a Hermitian matrix (A = A^H), all eigenvalues are real and the eigenvectors form a unitary basis. Input format: The matrix A should be provided as interleaved real/imaginary pairs. For an n×n matrix, provide 2*n*n values where pairs (A[2k], A[2k+1]) represent the real and imaginary parts of complex element k.
Parameters
| Name | Description |
|---|---|
| A | - Input Hermitian matrix as interleaved complex array. For 2D array input, each element should be [re, im]. For 1D input, provide interleaved real/imaginary values. |
| n | - Matrix dimension (must be provided for complex matrices) |
| options(optional) | - Computation options |
Returns
EigHermitianResult