| Copyright | (c) 2014 by Nate Pisarski |
|---|---|
| License | BSD3 |
| Maintainer | nathanpisarski@gmail.com |
| Stability | Stable |
| Portability | Portable (Standalone - ghc) |
| Safe Haskell | Safe |
| Language | Haskell98 |
Cookbook.Recipes.Math
Description
Library for working with numbers more easily. It includes somewhat lazy functions for when a lambda will clutter code up too much, as well as more involved mathematical formulae.
Documentation
avg :: Fractional a => [a] -> a Source #
Find the average of a group of Fractionals.
stdev :: (Fractional a, Floating a) => [a] -> a Source #
Find the standard deviation of a list of data.