VectorSpace

Trait VectorSpace 

Source
pub trait VectorSpace: TwoSidedModule
where <Self as TwoSidedModule>::Ring: Field,
{ }
Expand description

A trait representing a vector space over a field.

A vector space is a module over a field, meaning it has both addition and scalar multiplication operations, with the scalars coming from a field.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl VectorSpace for Boolean

Source§

impl<F: Field + Copy + Mul<Self>> VectorSpace for DynamicVector<F>

Source§

impl<F: Field + Copy + Debug + Mul<Self>, const N: usize> VectorSpace for CliffordAlgebraElement<'_, F, N>
where [(); { _ }]:,

Source§

impl<const M: usize, F: Field + Copy + Mul<Self>> VectorSpace for FixedVector<M, F>