Struct extendr_api::prelude::sparse::linalg::SymbolicSupernodalParams
pub struct SymbolicSupernodalParams<'a> {
pub relax: Option<&'a [(usize, f64)]>,
}
Expand description
Tuning parameters for the supernodal factorizations.
Fields§
§relax: Option<&'a [(usize, f64)]>
Supernode relaxation thresholds.
Let n
be the total number of columns in two adjacent supernodes.
Let z
be the fraction of zero entries in the two supernodes if they
are merged (z includes zero entries from prior amalgamations). The
two supernodes are merged if:
(n <= relax[0].0 && z < relax[0].1) || (n <= relax[1].0 && z < relax[1].1) || ...
Trait Implementations§
§impl<'a> Clone for SymbolicSupernodalParams<'a>
impl<'a> Clone for SymbolicSupernodalParams<'a>
§fn clone(&self) -> SymbolicSupernodalParams<'a>
fn clone(&self) -> SymbolicSupernodalParams<'a>
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<'a> Debug for SymbolicSupernodalParams<'a>
impl<'a> Debug for SymbolicSupernodalParams<'a>
§impl Default for SymbolicSupernodalParams<'_>
impl Default for SymbolicSupernodalParams<'_>
§fn default() -> SymbolicSupernodalParams<'_>
fn default() -> SymbolicSupernodalParams<'_>
Returns the “default value” for a type. Read more
impl<'a> Copy for SymbolicSupernodalParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for SymbolicSupernodalParams<'a>
impl<'a> RefUnwindSafe for SymbolicSupernodalParams<'a>
impl<'a> Send for SymbolicSupernodalParams<'a>
impl<'a> Sync for SymbolicSupernodalParams<'a>
impl<'a> Unpin for SymbolicSupernodalParams<'a>
impl<'a> UnwindSafe for SymbolicSupernodalParams<'a>
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