pub struct AliasedPair {
pub block_a: String,
pub block_b: String,
pub direction_a: usize,
pub direction_b: usize,
pub overlap: f64,
pub bias_shift: f64,
}Expand description
A pair (block_a.column → block_b.column) whose normalised
inner product exceeds the alias-overlap reporting threshold.
Reported once per audited pair, in block-order (block_a index
strictly less than block_b index in the spec list, so the
“earlier block carries the image” attribution is well-defined).
Fields§
§block_a: String§block_b: String§direction_a: usize§direction_b: usize§overlap: f64|aᵀb| / (‖a‖·‖b‖). Always in [0, 1]. Values at or near 1.0
indicate near-perfect collinearity; values in (threshold, 1.0)
indicate partial overlap that the column-pivoted QR will still
preserve (only fully redundant directions get pivoted out).
bias_shift: f64Bias shift applied to the null-distribution mean for this pair,
equal to bias_shift_for_pair(z_a, z_b, s2_a, s2_b).
Non-zero when exactly one block carries a RowScaledJacobian callback
(or the two scalings differ) and the row-scaling vector is skewed.
Stored so that the halt-threshold check can apply the same
directional correction as the report-threshold check.
Zero for all pairs arising from the channel-aware audit path,
and for pairs from the flat path when both blocks have symmetric
(or absent) row scaling.
Trait Implementations§
Source§impl Clone for AliasedPair
impl Clone for AliasedPair
Source§fn clone(&self) -> AliasedPair
fn clone(&self) -> AliasedPair
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 AliasedPair
impl RefUnwindSafe for AliasedPair
impl Send for AliasedPair
impl Sync for AliasedPair
impl Unpin for AliasedPair
impl UnsafeUnpin for AliasedPair
impl UnwindSafe for AliasedPair
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
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.