[−][src]Trait norman::special::DistanceEucl
This trait is used to emphasize a special distance function for a type of vectors that is kind of a euclidean distance and can be used as the standard norm for this type.
Associated Types
Loading content...Required methods
fn distance_eucl(&self, other: &Self) -> Self::Output
Calculates the euclidean distance between self
and other
.
Panics
An implementation of distance_eucl
may panic if the operands
do not fit together, e.g. have different sizes etc.