Crate vector_space[−][src]
This crate contains new traits useful for working with vector spaces. It contains a bunch of default implementations, so you just implement a few methods to get a lot of common tools you need. But you can also implement the methods yourself.
These traits are inteded to work with different kinds of vector implementations, like dynamically sized, dimension specific implementations or generic ones.
You can also define your library in terms of these traits instead of using a specific vector math implementation, so the user can choose, which to use, or even use multiple depending on the use case.
Modules
basis | Implements traits to create and get basis vectors. |
Traits
DotProduct | This trait defines the dot product. |
InnerSpace | This trait defines the dot product and adds commom vector operations. |
OuterProduct | This trait defines the outer product. |
VectorSpace | This trait specifies some type to be a vector type. It specifies the scalar type and is required for other vector types. |