[][src]Trait hcomplex::NormSqr

pub trait NormSqr: Sized {
    type Output;
    pub fn norm_sqr(self) -> Self::Output;

    pub fn abs_sqr(self) -> Self::Output { ... }
}

Square of L2 norm.

Associated Types

Loading content...

Required methods

pub fn norm_sqr(self) -> Self::Output[src]

Get square of the norm of the self.

Loading content...

Provided methods

pub fn abs_sqr(self) -> Self::Output[src]

Alias to norm_sqr.

Loading content...

Implementations on Foreign Types

impl NormSqr for i8[src]

type Output = Self

impl NormSqr for i16[src]

type Output = Self

impl NormSqr for i32[src]

type Output = Self

impl NormSqr for i64[src]

type Output = Self

impl NormSqr for f32[src]

type Output = Self

impl NormSqr for f64[src]

type Output = Self

Loading content...

Implementors

impl<T, U> NormSqr for Construct<T, U> where
    T: Add<Output = T>,
    U: NormSqr<Output = T>, 
[src]

type Output = T

Loading content...