[−][src]Trait aljabar::VectorSpace
Vectors that can be added together and multiplied by scalars form a VectorSpace.
If a Vector
implements Add
and Sub
and its scalar implements Mul
and
Div
, then that vector is part of a VectorSpace
.
Associated Types
type Scalar: Add<Self::Scalar, Output = Self::Scalar> + Sub<Self::Scalar, Output = Self::Scalar> + Mul<Self::Scalar, Output = Self::Scalar> + Div<Self::Scalar, Output = Self::Scalar>
Required methods
Loading content...Implementors
impl<T, const N: usize> VectorSpace for Vector<T, { N }> where
T: Clone + Zero,
T: Add<T, Output = T>,
T: Sub<T, Output = T>,
T: Mul<T, Output = T>,
T: Div<T, Output = T>,
[src]
T: Clone + Zero,
T: Add<T, Output = T>,
T: Sub<T, Output = T>,
T: Mul<T, Output = T>,
T: Div<T, Output = T>,