pub struct SignTuple {
pub norm: f32,
pub drift: f32,
pub slew: f32,
}Expand description
The residual sign tuple σ(k) = (‖r‖, ṙ, r̈).
This is the coordinate on the semiotic manifold M_sem ⊂ ℝ³. All DSFB grammar states, motif classifications, and DSA scores are derived from this object alone.
Fields§
§norm: f32‖r(k)‖ — instantaneous residual norm. What threshold detectors see.
drift: f32ṙ(k) — finite-difference drift rate. What threshold detectors discard.
slew: f32r̈(k) — slew (trajectory curvature). Abrupt regime change signal.
Implementations§
Source§impl SignTuple
impl SignTuple
Sourcepub const fn new(norm: f32, drift: f32, slew: f32) -> Self
pub const fn new(norm: f32, drift: f32, slew: f32) -> Self
Construct a sign tuple directly from components.
Sourcepub fn is_outward_drift(&self) -> bool
pub fn is_outward_drift(&self) -> bool
Returns true if drift is persistently outward (drift > 0).
Sourcepub fn is_abrupt_slew(&self, delta_s: f32) -> bool
pub fn is_abrupt_slew(&self, delta_s: f32) -> bool
Returns true if slew magnitude exceeds threshold δ_s.
Trait Implementations§
impl Copy for SignTuple
impl StructuralPartialEq for SignTuple
Auto Trait Implementations§
impl Freeze for SignTuple
impl RefUnwindSafe for SignTuple
impl Send for SignTuple
impl Sync for SignTuple
impl Unpin for SignTuple
impl UnsafeUnpin for SignTuple
impl UnwindSafe for SignTuple
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