Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
VectorSpace instances for Num/Fractional types.
This module includes instances for:
InnerProductSpace
andRModule
forNum
VectorSpace
forFractional
s
Documentation
Orphan instances
Num a => InnerProductSpace a Source # | Inner-product instance for any number. |
Fractional a => VectorSpace a Source # | Vector-space instance for any fractional, where vectorial division is normal number division. |
Num a => RModule a Source # | R-module instance for any number, where '^+^ is |