Skip to main content

Crate vector_space

Crate vector_space 

Source
Expand description

Minimal VectorSpace trait for generic vector math.

Defines Scalar type and core operation bounds. Use as compatibility layer across vector libraries (math, physics, rendering).

Implement once, use everywhere.

Traits§

AffineSpace
Marker trait for affine spaces, types whose differences are vectors.
Transform
A transformation that maps vectors to vectors.
VectorSpace
This trait specifies some type to be a vector type. It specifies the scalar type and is required for other vector types.
VectorSpaceAssign
This trait is automatically implemented for vector spaces, which also implement assignment operations.

Functions§

interpolate
Linear interpolation of two points.