#[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.
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: f32Temporal State / Provenance Ledger
alpha: f32Spectral Amplitude / Dynamic Range / Confidence Weight
mu: f32Spectral Modulation / Phase / Metadata Carrier
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.
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§
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 Copy for Tensor10D
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>,
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<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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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