pub struct MeasureJetJetStats {
pub q: f64,
pub mean: f64,
pub gram: Array2<f64>,
pub cross: Array1<f64>,
}Expand description
The local jet-fit sufficient statistics read off one table — exactly the
per-block quantities assemble_weighted_forms (measure_jet_smooth.rs)
computes from raw points when the table weights are frozen at the same
center and scale, reproduced in closed form from stored moments.
Fields§
§q: f64Kernel mass q = Σ w_i (unit-channel zeroth moment).
mean: f64Weighted mean of the requested value channel: uᵀv = m0[ch]/q.
gram: Array2<f64>Dimensionless slope Gram G = Φ̃ᵀWΦ̃/q = m2[0]/(qε²) − ā·āᵀ with
ā = m1[0]/(qε) (Φ rows are (x_i − c)/ε).
cross: Array1<f64>Local-fit right-hand side Bᵀv/q = m1[ch]/(qε) − ā·(m0[ch]/q) — the
vector the exact weighted affine projection consumes.
Trait Implementations§
Source§impl Clone for MeasureJetJetStats
impl Clone for MeasureJetJetStats
Source§fn clone(&self) -> MeasureJetJetStats
fn clone(&self) -> MeasureJetJetStats
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 moreSource§impl Debug for MeasureJetJetStats
impl Debug for MeasureJetJetStats
Source§impl PartialEq for MeasureJetJetStats
impl PartialEq for MeasureJetJetStats
Source§fn eq(&self, other: &MeasureJetJetStats) -> bool
fn eq(&self, other: &MeasureJetJetStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MeasureJetJetStats
Auto Trait Implementations§
impl Freeze for MeasureJetJetStats
impl RefUnwindSafe for MeasureJetJetStats
impl Send for MeasureJetJetStats
impl Sync for MeasureJetJetStats
impl Unpin for MeasureJetJetStats
impl UnsafeUnpin for MeasureJetJetStats
impl UnwindSafe for MeasureJetJetStats
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.