Trait vector_space::VectorSpace[][src]

pub trait VectorSpace: Copy + Zero + PartialEq where
    Self: Add<Output = Self>,
    Self: Sub<Output = Self>,
    Self: Mul<Self::Scalar, Output = Self>,
    Self: Div<Self::Scalar, Output = Self>,
    Self: Neg<Output = Self>, 
{ type Scalar: Real + PartialOrd; }
Expand description

This trait specifies some type to be a vector type. It specifies the scalar type and is required for other vector types.

Associated Types

The scalar type of the vector space.

Implementations on Foreign Types

Implementors