pub trait LinearAlgebra {
    // Required method
    fn add(&self, other: &Self) -> Self;
}
Expand description

a trait for adding two vectors

Required Methods§

source

fn add(&self, other: &Self) -> Self

Implementations on Foreign Types§

source§

impl LinearAlgebra for Vec<f64>

source§

fn add(&self, other: &Self) -> Self

Implementors§