pub enum ArpackMode {
Regular,
ShiftInvert {
sigma: f64,
},
}Expand description
The kind of eigenproblem ARPACK solves (the mode field of
igraph_arpack_options_t).
Variants§
Regular
Standard problem A x = lambda x, driven by products y = A x
(mode = 1). The default.
ShiftInvert
Shift-and-invert mode (mode = 3): the operator is
(A - sigma I)^-1, so that the eigenvalues of A closest to sigma
become the largest in magnitude. With the closure-based solvers the
closure must compute y = (A - sigma I)^-1 x; the returned
eigenvalues are those of A. SparseMat::arpack_rssolve
factorizes A - sigma I itself.
Trait Implementations§
Source§impl Clone for ArpackMode
impl Clone for ArpackMode
Source§fn clone(&self) -> ArpackMode
fn clone(&self) -> ArpackMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArpackMode
Source§impl Debug for ArpackMode
impl Debug for ArpackMode
Source§impl Default for ArpackMode
impl Default for ArpackMode
Source§fn default() -> ArpackMode
fn default() -> ArpackMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ArpackMode
impl PartialEq for ArpackMode
Source§fn eq(&self, other: &ArpackMode) -> bool
fn eq(&self, other: &ArpackMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArpackMode
Auto Trait Implementations§
impl Freeze for ArpackMode
impl RefUnwindSafe for ArpackMode
impl Send for ArpackMode
impl Sync for ArpackMode
impl Unpin for ArpackMode
impl UnsafeUnpin for ArpackMode
impl UnwindSafe for ArpackMode
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