pub struct EigenGenHermVWorkspace { /* private fields */ }
Implementations§
source§impl EigenGenHermVWorkspace
impl EigenGenHermVWorkspace
sourcepub fn new(n: usize) -> Option<EigenGenHermVWorkspace>
pub fn new(n: usize) -> Option<EigenGenHermVWorkspace>
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 genhermv(
&mut self,
A: MatrixComplexF64,
B: &mut MatrixComplexF64,
eval: &mut VectorF64,
evec: &mut MatrixComplexF64
) -> Value
pub fn genhermv(
&mut self,
A: MatrixComplexF64,
B: &mut MatrixComplexF64,
eval: &mut VectorF64,
evec: &mut MatrixComplexF64
) -> 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.