#[non_exhaustive]pub enum EigsWhich {
LargestMagnitude,
SmallestMagnitude,
LargestReal,
SmallestReal,
LargestImaginary,
SmallestImaginary,
}Expand description
Which eigenvalues eigs returns (SciPy’s which).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LargestMagnitude
Largest magnitude |λ| ('LM', SciPy’s default).
SmallestMagnitude
Smallest magnitude ('SM'); eigs_shift_invert with σ = 0 is usually far faster.
LargestReal
Largest real part ('LR').
SmallestReal
Smallest real part ('SR').
LargestImaginary
Largest imaginary part in magnitude, |Im λ| ('LI'; for a real matrix the eigenvalues
come in conjugate pairs, and ARPACK compares |Im λ|).
SmallestImaginary
Smallest |Im λ| ('SI').
Trait Implementations§
impl Copy for EigsWhich
impl Eq for EigsWhich
impl StructuralPartialEq for EigsWhich
Auto Trait Implementations§
impl Freeze for EigsWhich
impl RefUnwindSafe for EigsWhich
impl Send for EigsWhich
impl Sync for EigsWhich
impl Unpin for EigsWhich
impl UnsafeUnpin for EigsWhich
impl UnwindSafe for EigsWhich
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