pub struct EigenSymmetricWorkspace { /* private fields */ }
Implementations§
source§impl EigenSymmetricWorkspace
impl EigenSymmetricWorkspace
sourcepub fn new(n: usize) -> Option<Self>
pub fn new(n: usize) -> Option<Self>
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(
&mut self,
A: &mut MatrixF64,
eval: &mut VectorF64
) -> Result<(), Value>
pub fn symm( &mut self, A: &mut MatrixF64, eval: &mut VectorF64 ) -> Result<(), 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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EigenSymmetricWorkspace
impl !Send for EigenSymmetricWorkspace
impl !Sync for EigenSymmetricWorkspace
impl Unpin for EigenSymmetricWorkspace
impl UnwindSafe for EigenSymmetricWorkspace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more