Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

- data AM a
- amWeight :: AM a -> Int
- amSum :: AM a -> a
- am :: Num a => a -> AM a
- am' :: Num a => Int -> a -> AM a
- getAM :: Fractional a => AM a -> a
- data GM a
- gmWeight :: GM a -> Int
- gmProduct :: GM a -> a
- gm :: Num a => a -> GM a
- getGM :: Floating a => GM a -> a
- data HM a
- hmWeight :: HM a -> Int
- hmSum :: HM a -> a
- hm :: Fractional a => a -> HM a
- getHM :: Fractional a => HM a -> a
- data QM a
- qmWeight :: QM a -> Int
- qmSum :: QM a -> a
- qm :: Fractional a => a -> QM a
- getQM :: Floating a => QM a -> a
- data CM a
- cmWeight :: CM a -> Int
- cmSum :: CM a -> a
- cm :: Fractional a => a -> CM a
- getCM :: Floating a => CM a -> a
- data MM a
- mmMin :: MM a -> a
- mmMax :: MM a -> a
- mm :: a -> MM a
- getMM :: Fractional a => MM a -> a

# Arithmetic mean

semigroup for accumalting *Arithmetic mean*

getAM :: Fractional a => AM a -> a Source #

# Geometric mean

semigroup for accumalting *Geometric mean*

# Harmonic mean

semigroup for accumalting *Harmonic mean*

hm :: Fractional a => a -> HM a Source #

getHM :: Fractional a => HM a -> a Source #

# Quadratic mean

semigroup for accumalting *Quadratic mean*

qm :: Fractional a => a -> QM a Source #

# Cubic mean

semigroup for accumalting *Cubic mean*

cm :: Fractional a => a -> CM a Source #

# Midrange mean

semigroup for accumalting *Midrange mean*

getMM :: Fractional a => MM a -> a Source #