Struct rgsl::types::eigen_symmetric_workspace::EigenSymmetricWorkspace
[−]
[src]
pub struct EigenSymmetricWorkspace { /* fields omitted */ }
Methods
impl EigenSymmetricWorkspace
[src]
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).
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.