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