pub struct EigenGenSymmVWorkspace { /* private fields */ }
Implementations§
source§impl EigenGenSymmVWorkspace
impl EigenGenSymmVWorkspace
sourcepub fn new(n: usize) -> Option<EigenGenSymmVWorkspace>
pub fn new(n: usize) -> Option<EigenGenSymmVWorkspace>
This function allocates a workspace for computing eigenvalues and eigenvectors of n-by-n real generalized symmetric-definite eigensystems. The size of the workspace is O(4n).
sourcepub fn gensymmv(
&mut self,
A: MatrixF64,
B: &mut MatrixF64,
eval: &mut VectorF64,
evec: &mut MatrixF64
) -> Value
pub fn gensymmv(
&mut self,
A: MatrixF64,
B: &mut MatrixF64,
eval: &mut VectorF64,
evec: &mut MatrixF64
) -> Value
This function computes the eigenvalues and eigenvectors of the real generalized
symmetric-definite matrix pair (A, B), and stores them in eval
and evec
respectively.
The computed eigenvectors are normalized to have unit magnitude. On output, B
contains its
Cholesky decomposition and A
is destroyed.