pub struct EigenGenSymmWorkspace { /* private fields */ }
Implementations§
source§impl EigenGenSymmWorkspace
impl EigenGenSymmWorkspace
sourcepub fn new(n: usize) -> Option<EigenGenSymmWorkspace>
pub fn new(n: usize) -> Option<EigenGenSymmWorkspace>
This function allocates a workspace for computing eigenvalues of n-by-n real generalized symmetric-definite eigensystems. The size of the workspace is O(2n).
sourcepub fn gensymm(
&mut self,
A: MatrixF64,
B: &mut MatrixF64,
eval: &mut VectorF64
) -> Value
pub fn gensymm(
&mut self,
A: MatrixF64,
B: &mut MatrixF64,
eval: &mut VectorF64
) -> Value
This function computes the eigenvalues of the real generalized symmetric-definite matrix
pair (A, B), and stores them in eval
, using the method outlined above. On output, B
contains its Cholesky decomposition and A
is destroyed.