Trait peroxide::prelude::simpler::SimpleNorm[][src]

pub trait SimpleNorm: Normed {
    fn norm(&self) -> Self::Scalar;
fn normalize(&self) -> Self; }
Expand description

Simple Norm

Required methods

fn norm(&self) -> Self::Scalar[src]

fn normalize(&self) -> Self[src]

Implementations on Foreign Types

impl SimpleNorm for Vec<f64>[src]

Simple L2 norm

fn norm(&self) -> Self::Scalar[src]

fn normalize(&self) -> Self[src]

Implementors

impl SimpleNorm for Matrix[src]

Simple Frobenius norm

fn norm(&self) -> Self::Scalar[src]

fn normalize(&self) -> Self[src]