pub struct EigsOptions {
pub ncv: Option<usize>,
pub tol: f64,
pub max_restarts: Option<usize>,
pub v0: Option<Vec<f64>>,
}Expand description
Options for eigs (SciPy’s keyword arguments).
Fields§
§ncv: Option<usize>The largest dimension of the Krylov subspace (ncv); default max(2k + 1, 30), at most n
(SciPy’s is max(2k + 1, 20); the larger space costs fewer products in the book’s tests).
tol: f64Relative accuracy of the Ritz residuals; 0 (the default) means machine precision, taken as 8ε, the level at which the residual estimates of converged pairs settle.
max_restarts: Option<usize>The most restarts (maxiter); default 10 n.
v0: Option<Vec<f64>>The start vector; default a fixed vector with all components non-zero.
Trait Implementations§
Source§impl Clone for EigsOptions
impl Clone for EigsOptions
Source§impl Debug for EigsOptions
impl Debug for EigsOptions
Auto Trait Implementations§
impl Freeze for EigsOptions
impl RefUnwindSafe for EigsOptions
impl Send for EigsOptions
impl Sync for EigsOptions
impl Unpin for EigsOptions
impl UnsafeUnpin for EigsOptions
impl UnwindSafe for EigsOptions
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