Trait alga::linear::VectorSpace

source ·
pub trait VectorSpace: Module<Ring = Self::Field> {
    type Field: Field;
}
Expand description

A vector space has a module structure over a field instead of a ring.

Required Associated Types§

source

type Field: Field

The underlying scalar field.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl VectorSpace for f32

§

type Field = f32

source§

impl VectorSpace for f64

§

type Field = f64

source§

impl<N: Field + NumAssign> VectorSpace for Complex<N>

§

type Field = N

Implementors§