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

Type of the norm.

Required Methods

Square norm of the element.

Norm of the element.

Implementations on Foreign Types

Implementors