1-dimensional vectors with vector arithmetic.
This isn't especially useful. Usually if you want to calculate with scalars, you can just use the
Scalar type directly. However, this module provides a
Vector1 newtype over
Scalar that allows a scalar to be treated as a sort of vector, which is very occasionally useful.
The type of 1D vectors.
Owing to its particularly simple structure, this type has more class instances than 'propper' vectors have. Still, for the most part you'll probably want to just use
Scalar itself directly.