Expand description
This crate contains traits for working with vector spaces.
You can also define some library in terms of these traits instead of using a specific vector math implementation, so the user can choose, which one to use, or simply add multiple vector math libraries which implement these traits yourself by using this library.
Traits§
- Affine
Space - Marker trait for affine spaces, types whose differences are vectors.
- Vector
Space - This trait specifies some type to be a vector type. It specifies the scalar type and is required for other vector types.
- Vector
Space Assign - This trait is automatically implemented for vector spaces, which also implement assignment operations.
Functions§
- interpolate
- Linear interpolation of two points.