pub struct ReducedActivityReport {
pub mu: f64,
pub var: Vec<usize>,
pub status: Vec<i8>,
pub ratio: Vec<f64>,
pub q_reduced: Vec<f64>,
pub q_sign: Vec<i8>,
pub sigma: Vec<f64>,
}Expand description
One coordinate’s activity re-measured against the curvature that actually generates its multiplier, rather than against the Hessian diagonal (gh#763).
Parallel arrays, one entry per requested variable, in the order
they were requested. See reduced_activity for what the
quantities mean.
Fields§
§mu: f64Barrier parameter of the converged iterate, as
ActivityReport::mu.
var: Vec<usize>The user-space variable index each entry answers about.
status: Vec<i8>Status from the same rule ActivityReport::var_status uses,
applied to Self::ratio.
ratio: Vec<f64>Σ_i / |q_i^red|. NaN where nothing was classified.
q_reduced: Vec<f64>The reduced curvature q_i^red itself, signed, in natural
(unscaled) units like ActivityReport::var_sigma. NaN
for a FIXED variable and where the factor offers no
reduced curvature (see reduced_activity).
q_sign: Vec<i8>Sign of Self::q_reduced (−1, 0, +1); the absolute value is
what the ratio divides by.
sigma: Vec<f64>Σ_i, natural units, identical to the same variable’s entry in
ActivityReport::var_sigma.
Trait Implementations§
Source§impl Clone for ReducedActivityReport
impl Clone for ReducedActivityReport
Source§fn clone(&self) -> ReducedActivityReport
fn clone(&self) -> ReducedActivityReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ReducedActivityReport
impl RefUnwindSafe for ReducedActivityReport
impl Send for ReducedActivityReport
impl Sync for ReducedActivityReport
impl Unpin for ReducedActivityReport
impl UnsafeUnpin for ReducedActivityReport
impl UnwindSafe for ReducedActivityReport
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
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> ⓘ
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> ⓘ
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