Back to LAPACK/BLAS
la.eigenvalues.eigvals
Compute only the eigenvalues of a general n×n matrix A.
Syntax
la.eigenvalues.eigvals(A, options?)
Description
Compute only the eigenvalues of a general n×n matrix A. This is faster than computing the full eigendecomposition when only eigenvalues are needed.
Parameters
| Name | Description |
|---|---|
| A | - Input square matrix (n × n). Can be 2D array (row-major) or 1D array (column-major). |
| options(optional) | - Computation options |
Returns
EigvalsResult