Struct acap::chebyshev::Chebyshev [−][src]
pub struct Chebyshev<T>(pub T);
Expand description
A point in Chebyshev space.
This wrapper equips any coordinate space with the Chebyshev distance metric.
Tuple Fields
0: T
Implementations
Trait Implementations
The Chebyshev distance function.
Chebyshev distance is a metric.
Chebyshev distance is a Minkowski distance.
Auto Trait Implementations
impl<T> RefUnwindSafe for Chebyshev<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Chebyshev<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Proximity<PrenormCosine<T>> for T where
T: Coordinates,
<T as Coordinates>::Value: Real,
impl<T> Proximity<PrenormCosine<T>> for T where
T: Coordinates,
<T as Coordinates>::Value: Real,
type Distance = <T as Coordinates>::Value
type Distance = <T as Coordinates>::Value
The type that represents distances.
Calculate the distance between this point and another one.