pub struct EigenGenHermVWorkspace { /* private fields */ }
Implementations§
source§impl EigenGenHermVWorkspace
impl EigenGenHermVWorkspace
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 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
) -> Result<(), Value>
pub fn genhermv( &mut self, A: MatrixComplexF64, B: &mut MatrixComplexF64, eval: &mut VectorF64, evec: &mut MatrixComplexF64 ) -> Result<(), 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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EigenGenHermVWorkspace
impl !Send for EigenGenHermVWorkspace
impl !Sync for EigenGenHermVWorkspace
impl Unpin for EigenGenHermVWorkspace
impl UnwindSafe for EigenGenHermVWorkspace
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