Safe Haskell | None |
---|---|
Language | Haskell98 |
Point and vector arithmetic
Vectors aren't numbers according to Haskell, because they don't support all numeric operations sensibly. We define component-wise addition, subtraction, and negation along with scalar multiplication in this module, which is intended to be imported qualified.