Trait rusty_machine::linalg::Metric []

pub trait Metric<T> {
    fn norm(&self) -> T;
}

Trait for linear algebra metrics.

Currently only implements basic euclidean norm.

Required Methods

Computes the euclidean norm.

Implementors