pub struct EigenSymmetricWorkspace { /* private fields */ }
Implementations§
source§impl EigenSymmetricWorkspace
impl EigenSymmetricWorkspace
sourcepub fn new(n: usize) -> Option<EigenSymmetricWorkspace>
pub fn new(n: usize) -> Option<EigenSymmetricWorkspace>
This function allocates a workspace for computing eigenvalues of n-by-n real symmetric matrices. The size of the workspace is O(2n).
sourcepub fn symm(&self, A: &mut MatrixF64, eval: &mut VectorF64) -> Value
pub fn symm(&self, A: &mut MatrixF64, eval: &mut VectorF64) -> Value
This function computes the eigenvalues of the real symmetric matrix A
. The diagonal and
lower triangular part of A
are destroyed during the computation, but the strict upper
triangular part is not referenced. The eigenvalues are stored in the vector eval
and are
unordered.