pub struct EigenGenHermWorkspace { /* private fields */ }
Implementations§
source§impl EigenGenHermWorkspace
impl EigenGenHermWorkspace
sourcepub fn new(n: usize) -> Option<EigenGenHermWorkspace>
pub fn new(n: usize) -> Option<EigenGenHermWorkspace>
This function allocates a workspace for computing eigenvalues of n-by-n complex generalized hermitian-definite eigensystems. The size of the workspace is O(3n).
sourcepub fn genherm(
&mut self,
A: MatrixComplexF64,
B: &mut MatrixComplexF64,
eval: &mut VectorF64
) -> Value
pub fn genherm(
&mut self,
A: MatrixComplexF64,
B: &mut MatrixComplexF64,
eval: &mut VectorF64
) -> Value
This function computes the eigenvalues of the complex generalized hermitian-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.