Function faer_evd::compute_evd_complex
source · pub fn compute_evd_complex<E: ComplexField>(
matrix: MatRef<'_, E>,
s: MatMut<'_, E>,
u: Option<MatMut<'_, E>>,
parallelism: Parallelism,
stack: DynStack<'_>,
params: EvdParams
)Expand description
Computes the eigenvalue decomposition of a square complex matrix.
s represents the diagonal of the matrix $S$, and must have size equal to the dimension of the
matrix.
If u is None, then only the eigenvalues are computed. Otherwise, the eigenvectors are
computed and stored in u.
Panics
Panics if any of the conditions described above is violated, or if the type E does not have a
fixed precision at compile time, e.g. a dynamic multiprecision floating point type.
This can also panic if the provided memory in stack is insufficient (see compute_evd_req).