Trait Norm
hcomplex
pub trait Norm: Sized { type Output; pub fn norm(self) -> Self::Output; pub fn abs(self) -> Self::Output { ... } }
L2 (Euclidean) Norm.
type Output
pub fn norm(self) -> Self::Output
Get the norm of the self.
self
pub fn abs(self) -> Self::Output
Alias to norm.
norm
impl Norm for i8
type Output = Self
pub fn norm(self) -> Self
impl Norm for i16
impl Norm for i32
impl Norm for i64
impl Norm for f32
impl Norm for f64
impl<T, U> Norm for Construct<T, U> where T: Float, Self: NormSqr<Output = T>,
type Output = T
pub fn norm(self) -> T