src/loc.rs

branch
dev
changeset 164
fd9dba51afd3
parent 162
bea0c3841ced
child 166
20fa28637737
--- a/src/loc.rs	Wed Sep 03 09:52:30 2025 -0500
+++ b/src/loc.rs	Wed Sep 03 10:08:28 2025 -0500
@@ -456,7 +456,7 @@
 domination!(L2, L1);
 
 impl<F: Float, const N: usize> Euclidean<F> for Loc<N, F> {
-    type OwnedEuclidean = Self;
+    type PrincipalE = Self;
 
     /// This implementation is not stabilised as it's meant to be used for very small vectors.
     /// Use [`nalgebra`] for larger vectors.
@@ -739,7 +739,7 @@
 }
 
 impl<F: Num, const N: usize> Space for Loc<N, F> {
-    type OwnedSpace = Self;
+    type Principal = Self;
     type Decomp = BasicDecomposition;
 }
 
@@ -755,7 +755,7 @@
 
 impl<F: Float, const N: usize> VectorSpace for Loc<N, F> {
     type Field = F;
-    type Owned = Self;
+    type PrincipalV = Self;
 
     // #[inline]
     // fn make_origin_generator(&self) -> StaticEuclideanOriginGenerator {
@@ -763,12 +763,12 @@
     // }
 
     #[inline]
-    fn similar_origin(&self) -> Self::Owned {
+    fn similar_origin(&self) -> Self::PrincipalV {
         Self::ORIGIN
     }
 
     #[inline]
-    fn similar_origin_inst<I: Instance<Self>>(_: I) -> Self::Owned {
+    fn similar_origin_inst<I: Instance<Self>>(_: I) -> Self::PrincipalV {
         Self::ORIGIN
     }
 

mercurial