pub struct VectorBounds {
pub min_squared_l2: f64,
pub max_squared_l2: f64,
pub next_unseen_squared_l2: Option<f64>,
}Expand description
Exact vector-leg extremes for one bounded window.
The extremes are corpus-wide, not window-wide: windowed min-max normalization measurably loses quality (PLAN.md §A.2), so a bounded producer supplies a deterministic ceiling that no alive row exceeds.
Fields§
§min_squared_l2: f64Lower normalization anchor. Complete-list callers use the nearest alive row; Store normalization policy v1 uses zero.
max_squared_l2: f64Producer-supplied squared-L2 ceiling over every alive row.
next_unseen_squared_l2: Option<f64>Exact squared-L2 of the (W+1)-th row, absent when the leg is complete.
Trait Implementations§
Source§impl Clone for VectorBounds
impl Clone for VectorBounds
Source§fn clone(&self) -> VectorBounds
fn clone(&self) -> VectorBounds
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 VectorBounds
Source§impl Debug for VectorBounds
impl Debug for VectorBounds
Source§impl PartialEq for VectorBounds
impl PartialEq for VectorBounds
impl StructuralPartialEq for VectorBounds
Auto Trait Implementations§
impl Freeze for VectorBounds
impl RefUnwindSafe for VectorBounds
impl Send for VectorBounds
impl Sync for VectorBounds
impl Unpin for VectorBounds
impl UnsafeUnpin for VectorBounds
impl UnwindSafe for VectorBounds
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