pub struct PolishOptions {
pub tol: f64,
pub min_progress: f64,
pub max_iter: u32,
}Expand description
The parameters of Algorithm P. No literal lives in the kernel: the defaults are here.
Fields§
§tol: f64τ of step P2: convergence is |r_i| ≤ τ (Σ_j |a_ij x_j| + |b_i|)
in every row i — relative to the terms of that row, not to a
global norm (default 2⁻⁹⁰).
min_progress: f64ρ of step P2: stop unless the norm ‖r‖∞ fell below ρ times
its previous value (default 0.5). Progress is measured in the
norm although convergence is tested row by row: Chapter 11.10 has
the measurement behind that choice.
max_iter: u32Iteration limit (default 10).
Trait Implementations§
Source§impl Clone for PolishOptions
impl Clone for PolishOptions
impl Copy for PolishOptions
Source§impl Debug for PolishOptions
impl Debug for PolishOptions
Source§impl Default for PolishOptions
impl Default for PolishOptions
Source§impl PartialEq for PolishOptions
impl PartialEq for PolishOptions
impl StructuralPartialEq for PolishOptions
Auto Trait Implementations§
impl Freeze for PolishOptions
impl RefUnwindSafe for PolishOptions
impl Send for PolishOptions
impl Sync for PolishOptions
impl Unpin for PolishOptions
impl UnsafeUnpin for PolishOptions
impl UnwindSafe for PolishOptions
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