| 446 domination!(Linfinity, L1); |
446 domination!(Linfinity, L1); |
| 447 domination!(Linfinity, L2); |
447 domination!(Linfinity, L2); |
| 448 domination!(L2, L1); |
448 domination!(L2, L1); |
| 449 |
449 |
| 450 impl<F: Float, const N: usize> Euclidean<F> for Loc<N, F> { |
450 impl<F: Float, const N: usize> Euclidean<F> for Loc<N, F> { |
| |
451 type OwnedEuclidean = Self; |
| |
452 |
| 451 /// This implementation is not stabilised as it's meant to be used for very small vectors. |
453 /// This implementation is not stabilised as it's meant to be used for very small vectors. |
| 452 /// Use [`nalgebra`] for larger vectors. |
454 /// Use [`nalgebra`] for larger vectors. |
| 453 #[inline] |
455 #[inline] |
| 454 fn dot<I: Instance<Self>>(&self, other: I) -> F { |
456 fn dot<I: Instance<Self>>(&self, other: I) -> F { |
| 455 other.eval_ref_decompose(|r| { |
457 other.eval_ref_decompose(|r| { |