Add vector subtraction bound to EuclideanSpace

This commit is contained in:
Osspial 2017-08-10 18:50:11 -04:00
parent 4580cb3aca
commit b2b715c020

View file

@ -310,6 +310,7 @@ pub trait EuclideanSpace: Copy + Clone where
Self: Array<Element = <Self as EuclideanSpace>::Scalar>,
Self: Add<<Self as EuclideanSpace>::Diff, Output = Self>,
Self: Sub<<Self as EuclideanSpace>::Diff, Output = Self>,
Self: Sub<Self, Output = <Self as EuclideanSpace>::Diff>,
Self: Mul<<Self as EuclideanSpace>::Scalar, Output = Self>,