pub trait Norm {
type Output;
// Required methods
fn l1_norm(&self) -> Self::Output;
fn l2_norm(&self) -> Self::Output;
}
Expand description
The Norm trait serves as a unified interface for various normalization routnines. At the moment, the trait provides L1 and L2 techniques.