pub trait NormL2 {
type Output;
fn norm_l2_sqr(self) -> Self::Output;
fn norm_l2(self) -> Self::Output;
}
Expand description
L2 Norm trait.
Required Associated Types
Required Methods
fn norm_l2_sqr(self) -> Self::Output
fn norm_l2_sqr(self) -> Self::Output
Square norm of the element.