Trait lowdim::VectorOps[][src]

pub trait VectorOps<S, RHS = Self, Output = Self> where
    Self: Sized,
    Self: Add<RHS, Output = Output>,
    Self: Sub<RHS, Output = Output>,
    Self: Neg<Output = Output>,
    Self: Mul<RHS, Output = S>, 
{ }
Expand description

Required arithmetic operations for vectors.

Must be in a separate trait to allow Self to be a reference type and the output the base type.

Implementors