#[repr(C)]pub struct PounceLinearSolverStats {
pub solver_name: [c_char; 32],
pub n_factors: Index,
pub n_pattern_reuse: Index,
pub n_pattern_changes: Index,
pub max_fill_ratio: Number,
pub min_abs_pivot: Number,
pub max_abs_pivot: Number,
pub last_inertia_positive: Index,
pub last_inertia_negative: Index,
pub last_inertia_zero: Index,
pub last_nnz_a: Index,
pub last_nnz_l: Index,
}Expand description
C mirror of pounce_linsol::summary::LinearSolverSummary, laid
out for pounce.h’s PounceLinearSolverStats. Optional fields
carry sentinels rather than a discriminant, because a plain struct
of scalars is what a C or C++ caller can consume without an
accessor per field: NaN for absent reals, -1 for absent counts.
Fields§
§solver_name: [c_char; 32]§n_factors: Index§n_pattern_reuse: Index§n_pattern_changes: Index§max_fill_ratio: Number§min_abs_pivot: Number§max_abs_pivot: Number§last_inertia_positive: Index§last_inertia_negative: Index§last_inertia_zero: Index§last_nnz_a: Index§last_nnz_l: IndexTrait Implementations§
Source§impl Clone for PounceLinearSolverStats
impl Clone for PounceLinearSolverStats
Source§fn clone(&self) -> PounceLinearSolverStats
fn clone(&self) -> PounceLinearSolverStats
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 moreimpl Copy for PounceLinearSolverStats
Auto Trait Implementations§
impl Freeze for PounceLinearSolverStats
impl RefUnwindSafe for PounceLinearSolverStats
impl Send for PounceLinearSolverStats
impl Sync for PounceLinearSolverStats
impl Unpin for PounceLinearSolverStats
impl UnsafeUnpin for PounceLinearSolverStats
impl UnwindSafe for PounceLinearSolverStats
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,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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