Struct extendr_api::prelude::sparse::linalg::SupernodalThreshold
pub struct SupernodalThreshold(pub f64);
Expand description
Nonnegative threshold controlling when the supernodal factorization is used.
Increasing it makes it more likely for the simplicial factorization to be used, while decreasing it makes it more likely for the supernodal factorization to be used.
A value of 1.0
is the default.
Tuple Fields§
§0: f64
Implementations§
§impl SupernodalThreshold
impl SupernodalThreshold
pub const FORCE_SIMPLICIAL: SupernodalThreshold = _
pub const FORCE_SIMPLICIAL: SupernodalThreshold = _
Simplicial factorization is always selected.
pub const FORCE_SUPERNODAL: SupernodalThreshold = _
pub const FORCE_SUPERNODAL: SupernodalThreshold = _
Supernodal factorization is always selected.
pub const AUTO: SupernodalThreshold = _
pub const AUTO: SupernodalThreshold = _
Determine automatically which variant to select.
Trait Implementations§
§impl Clone for SupernodalThreshold
impl Clone for SupernodalThreshold
§fn clone(&self) -> SupernodalThreshold
fn clone(&self) -> SupernodalThreshold
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SupernodalThreshold
impl Debug for SupernodalThreshold
§impl Default for SupernodalThreshold
impl Default for SupernodalThreshold
§fn default() -> SupernodalThreshold
fn default() -> SupernodalThreshold
Returns the “default value” for a type. Read more
§impl PartialEq for SupernodalThreshold
impl PartialEq for SupernodalThreshold
impl Copy for SupernodalThreshold
impl StructuralPartialEq for SupernodalThreshold
Auto Trait Implementations§
impl Freeze for SupernodalThreshold
impl RefUnwindSafe for SupernodalThreshold
impl Send for SupernodalThreshold
impl Sync for SupernodalThreshold
impl Unpin for SupernodalThreshold
impl UnwindSafe for SupernodalThreshold
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more