jax.numpy.linalg.eigvals
Warning
This page was created from a pull request (#9655).
jax.numpy.linalg.eigvals¶
- jax.numpy.linalg.eigvals(a)[source]¶
Compute the eigenvalues of a general matrix.
LAX-backend implementation of
eigvals()
.Original docstring below.
Main difference between eigvals and eig: the eigenvectors aren’t returned.
- Parameters
a ((..., M, M) array_like) – A complex- or real-valued matrix whose eigenvalues will be computed.
- Returns
w – The eigenvalues, each repeated according to its multiplicity. They are not necessarily ordered, nor are they necessarily real for real matrices.
- Return type
(…, M,) ndarray