pub struct CholOptions {
pub pivot_tol: f64,
pub downdate_tol: f64,
}Expand description
Options of Cholesky: every threshold of chapter 12.2 lives here.
Fields§
§pivot_tol: f64Step F3: a pivot d_j is rejected unless d_j > pivot_tol · a_jj
(default 0: reject only nonpositive pivots, as LAPACK potrf).
downdate_tol: f64Step C2: the downdate is rejected unless 1 − ‖a‖² > downdate_tol
(default 0, LINPACK’s test). A positive value refuses downdates
whose result is too ill conditioned to be trusted (forward error ≈
u / margin; pilot table A).
Implementations§
Source§impl CholOptions
impl CholOptions
Sourcefn validate(&self) -> Result<(), StatlaError>
fn validate(&self) -> Result<(), StatlaError>
Both thresholds finite and nonnegative (a negative downdate_tol
would let C3 take the square root of a nonpositive α²).
Trait Implementations§
Source§impl Clone for CholOptions
impl Clone for CholOptions
impl Copy for CholOptions
Source§impl Debug for CholOptions
impl Debug for CholOptions
Source§impl Default for CholOptions
impl Default for CholOptions
Source§impl PartialEq for CholOptions
impl PartialEq for CholOptions
impl StructuralPartialEq for CholOptions
Auto Trait Implementations§
impl Freeze for CholOptions
impl RefUnwindSafe for CholOptions
impl Send for CholOptions
impl Sync for CholOptions
impl Unpin for CholOptions
impl UnsafeUnpin for CholOptions
impl UnwindSafe for CholOptions
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