pub struct AmfOptions {
pub dense_alpha: f64,
}Expand description
Tunable parameters for AMF ordering.
Defaults: dense_alpha = 10.0. HAMF4 always aggressively
absorbs absorbed elements during the inner Pass-2 loop, so
there is no aggressive knob.
Fields§
§dense_alpha: f64Dense-row threshold multiplier. A variable with initial
degree exceeding min(max(16, floor(dense_alpha * sqrt(n))), n)
is deferred to the end of the ordering — the max(16) floor is
applied before the min(n) cap, matching faer amd.rs:173-179.
A negative value uses a raw threshold of n - 2 with the same
clamps; for n >= 18 that is exactly n - 2, suppressing
deferral for all but true hubs of degree n - 1.
Trait Implementations§
Source§impl Clone for AmfOptions
impl Clone for AmfOptions
Source§fn clone(&self) -> AmfOptions
fn clone(&self) -> AmfOptions
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 moreSource§impl Debug for AmfOptions
impl Debug for AmfOptions
Auto Trait Implementations§
impl Freeze for AmfOptions
impl RefUnwindSafe for AmfOptions
impl Send for AmfOptions
impl Sync for AmfOptions
impl Unpin for AmfOptions
impl UnsafeUnpin for AmfOptions
impl UnwindSafe for AmfOptions
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