| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.VectorSpace.Fractional
Contents
Description
VectorSpace instances for Num/Fractional types.
This module includes instances for:
InnerProductSpaceandRModuleforNumVectorSpaceforFractionals
Orphan instances
| Num a => InnerProductSpace a # | Inner-product instance for any number. |
Methods dot :: a -> a -> Groundfield a # | |
| Fractional a => VectorSpace a # | Vector-space instance for any fractional, where vectorial division is normal number division. |
Methods (^/) :: a -> Groundfield a -> a # | |
| Num a => RModule a # | R-module instance for any number, where '^+^ is |
Associated Types type Groundring a :: * # Methods zeroVector :: a # (*^) :: Groundring a -> a -> a # (^*) :: a -> Groundring a -> a # negateVector :: a -> a # | |