| 431 domination!(Linfinity, L1); |
431 domination!(Linfinity, L1); |
| 432 domination!(Linfinity, L2); |
432 domination!(Linfinity, L2); |
| 433 domination!(L2, L1); |
433 domination!(L2, L1); |
| 434 |
434 |
| 435 impl<F: Float, const N: usize> Euclidean<F> for Loc<N, F> { |
435 impl<F: Float, const N: usize> Euclidean<F> for Loc<N, F> { |
| 436 type Output = Self; |
|
| 437 |
|
| 438 /// This implementation is not stabilised as it's meant to be used for very small vectors. |
436 /// This implementation is not stabilised as it's meant to be used for very small vectors. |
| 439 /// Use [`nalgebra`] for larger vectors. |
437 /// Use [`nalgebra`] for larger vectors. |
| 440 #[inline] |
438 #[inline] |
| 441 fn dot<I: Instance<Self>>(&self, other: I) -> F { |
439 fn dot<I: Instance<Self>>(&self, other: I) -> F { |
| 442 self.0 |
440 self.0 |