pub struct LuStats {Show 19 fields
pub m: usize,
pub nnz_basis: usize,
pub nnz_l: usize,
pub nnz_u: usize,
pub fill_in: usize,
pub col_singletons: usize,
pub row_singletons: usize,
pub markowitz_pivots: usize,
pub growth: f64,
pub factorizations: usize,
pub ftran: SolveStats,
pub btran: SolveStats,
pub ftran_update: SolveStats,
pub max_basis: f64,
pub max_u: f64,
pub max_u_fresh: f64,
pub growth_exceeded: bool,
pub symbolic_reuses: usize,
pub symbolic_fallbacks: usize,
}Expand description
Statistics of the current factor, for logs and the phase-1 benchmark.
The update counters are in UpdateStats.
Fields§
§m: usizeDimension m of the basis.
nnz_basis: usizeNonzeros of B at the last factorization.
nnz_l: usizeStored multipliers of L (its unit diagonal is implicit).
nnz_u: usizeEntries of U, including the m diagonal entries.
fill_in: usizeFill-in nnz_l + nnz_u + nnz_eta − nnz_basis (saturating at 0;
nnz_eta from UpdateStats).
col_singletons: usizePivots taken as column singletons in the triangular phase (L3).
row_singletons: usizePivots taken as row singletons in the triangular phase (L4).
markowitz_pivots: usizePivots chosen by the Markowitz search (L5): the size of the bump.
growth: f64Growth factor max_u / max_basis.
factorizations: usizeSuccessful factorizations performed by this object.
ftran: SolveStatsFTRAN calls (Chapter 5.4), accumulated over the life of the object.
btran: SolveStatsBTRAN calls, accumulated over the life of the object.
ftran_update: SolveStatsFTRAN-for-update calls, accumulated over the life of the object.
max_basis: f64max |b_ij| at the last factorization.
max_u: f64Largest |u_ij| ever stored since the last factorization.
max_u_fresh: f64max |u_ij| right after the last factorization (before any
update).
growth_exceeded: boolgrowth > LuOptions::growth_limit; a diagnostic of the
factorization itself (a fresh factor may already be flagged).
symbolic_reuses: usizeRefactorizations that reused the pivot sequence of the previous
factorization (LuFactor::refactorize_same_pattern, Algorithm R
of Chapter 5.12), accumulated over the life of the object.
symbolic_fallbacks: usizeCalls of LuFactor::refactorize_same_pattern that fell back to a
full factorization (no sequence, another order m, or a pivot
refused by the threshold test), accumulated over the life of the
object.