Trait peroxide::prelude::simpler::SimpleNorm
source · pub trait SimpleNorm: Normed {
// Required methods
fn norm(&self) -> Self::Scalar;
fn normalize(&self) -> Self;
}
Expand description
Simple Norm
Required Methods§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl SimpleNorm for Vec<f64>
impl SimpleNorm for Vec<f64>
Simple L2 norm
Implementors§
impl SimpleNorm for Matrix
Simple Frobenius norm