Trait wee_matrix::VectorNorm
[−]
[src]
pub trait VectorNorm { fn norm(&self, norm_type: Norm) -> f64; }
Trait providing vector norms
Required Methods
fn norm(&self, norm_type: Norm) -> f64
Compute the specified norm type on the vector.
Panics
Panics if implementing type is not actually a vector.
Implementors
impl VectorNorm for Matrix