#[repr(C)]pub struct Tensor10D {
pub q: f32,
pub v: f32,
pub w: f32,
pub x: f32,
pub y: f32,
pub z: f32,
pub t: f32,
pub alpha: f32,
pub mu: f32,
pub sigma: f32,
}Expand description
10D Tensor coordinate system [q, v, w, x, y, z, t, α, μ, σ]
Zero-heap compatible, stack-allocated structure for hot path operations.
Uses fixed-size f32 values for GPU/SIMD compatibility and quantization.
In the .10d v2 identity model, this is the structured manifold address
component, interpreted with its declared domain/profile and typed parts
that describe shape and behavior. It is not a digest or a globally unique
identifier by itself; hashes may index or verify the identity but do not
replace these coordinates or their declared semantics.
Fields§
§q: f32Quantum Context / Superposition Index (10th dimension) q = 0: Collapsed Ground Truth q > 0: Parallel epistemic contexts, pending resolutions
v: f32Topological / Algebraic Variety Class v = 0: Euclidean, v = 1: Cyclic/Toroidal, v = 2: Hyperbolic/Tree, v = 3+: Boundary Cliques
w: f32Manifold / Domain Index (Multi-Head Bifurcation) w = 0: Medical, w = 1: Legal, w = 2: Personal, w = 3: Environmental, w = 4: Socioeconomic
x: f32Semantic Topology X coordinate
y: f32Semantic Topology Y coordinate
z: f32Semantic Topology Z coordinate
t: f32Coordinate Time — the 4th dimension of spacetime (T67 reconciled).
t is a Coordinate axis: it participates in distance queries
alongside x, y, z, α, σ. It is NOT the provenance
carrier. The earlier “Provenance Ledger” label was incorrect and
has been reconciled with container_10d/axis_role.rs (T67).
Cross-reference: T14 (name the two tens) and T15 (resolve t vs μ).
alpha: f32Spectral Amplitude / Dynamic Range / Confidence Weight
mu: f32Provenance Weight / Carrier — epistemic metadata lane (T67 reconciled).
μ is the CoordinateCarrier: a dual-role axis that is both a
measured coordinate AND the in-band provenance carrier. This is
distinct from t (coordinate time). The provenance/consent lane
is μ, not t. See container_10d/axis_role.rs for the
normative axis-role taxonomy.
Cross-reference: T14 (name the two tens) and T15 (resolve t vs μ).
sigma: f32Spectral Signature / Logical Class Index
Implementations§
Source§impl Tensor10D
Convert NQuin to Tensor10D using semantic mapping.
impl Tensor10D
Convert NQuin to Tensor10D using semantic mapping.
Sourcepub fn from_nquin(nquin: &NQuin) -> Self
pub fn from_nquin(nquin: &NQuin) -> Self
Convert NQuin to Tensor10D using semantic mapping.
Sourcepub fn normalized_hyperbolic_distance(&self, other: &Self) -> f32
pub fn normalized_hyperbolic_distance(&self, other: &Self) -> f32
Normalized hyperbolic log-sum-exp distance subtracting $\ln(3)$ so $d(x, x) = 0.0$ (Packet OCS-13).
Sourcepub fn normalized_full_distance(&self, other: &Self) -> f32
pub fn normalized_full_distance(&self, other: &Self) -> f32
Full 10D distance with normalized log-sum-exp branch for hyperbolic topology (v == 2)
so that $d(x, x) = 0.0$ across all topological classes (Packet OCS-13).
Sourcepub fn is_empirically_collapsible(&self) -> bool
pub fn is_empirically_collapsible(&self) -> bool
Whether this tensor represents an empirically anchored / collapsed entity ($q < 1.0$) (Packet OCS-13).
Source§impl Tensor10D
impl Tensor10D
Sourcepub fn new(
q: f32,
v: f32,
w: f32,
x: f32,
y: f32,
z: f32,
t: f32,
alpha: f32,
mu: f32,
sigma: f32,
) -> Self
pub fn new( q: f32, v: f32, w: f32, x: f32, y: f32, z: f32, t: f32, alpha: f32, mu: f32, sigma: f32, ) -> Self
Creates a new tensor with specified coordinates
Sourcepub fn ground_truth(
v: f32,
w: f32,
x: f32,
y: f32,
z: f32,
t: f32,
alpha: f32,
mu: f32,
sigma: f32,
) -> Self
pub fn ground_truth( v: f32, w: f32, x: f32, y: f32, z: f32, t: f32, alpha: f32, mu: f32, sigma: f32, ) -> Self
Creates a ground truth tensor (q = 0)
Sourcepub fn parallel_context(
q: f32,
v: f32,
w: f32,
x: f32,
y: f32,
z: f32,
t: f32,
alpha: f32,
mu: f32,
sigma: f32,
) -> Self
pub fn parallel_context( q: f32, v: f32, w: f32, x: f32, y: f32, z: f32, t: f32, alpha: f32, mu: f32, sigma: f32, ) -> Self
Creates a parallel context tensor (q > 0)
Sourcepub fn is_ground_truth(&self) -> bool
pub fn is_ground_truth(&self) -> bool
Returns true if this is a ground truth tensor (q = 0)
Sourcepub fn spatial_distance(&self, other: &Self) -> f32
pub fn spatial_distance(&self, other: &Self) -> f32
Calculates Euclidean distance between spatial coordinates (x, y, z)
Sourcepub fn full_distance(&self, other: &Self) -> f32
pub fn full_distance(&self, other: &Self) -> f32
Calculates full 10D distance considering topological adjustments
Sourcepub fn is_parallel_context(&self) -> bool
pub fn is_parallel_context(&self) -> bool
Returns true if this is a parallel context tensor (q > 0)
Trait Implementations§
impl Copy for Tensor10D
Source§impl<'de> Deserialize<'de> for Tensor10D
impl<'de> Deserialize<'de> for Tensor10D
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Pod for Tensor10D
impl StructuralPartialEq for Tensor10D
Auto Trait Implementations§
impl Freeze for Tensor10D
impl RefUnwindSafe for Tensor10D
impl Send for Tensor10D
impl Sync for Tensor10D
impl Unpin for Tensor10D
impl UnsafeUnpin for Tensor10D
impl UnwindSafe for Tensor10D
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<T> AnyBitPattern for Twhere
T: Pod,
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
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