Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module Goal.Core.Plot
- module Data.Function
- module Data.Ord
- module Data.Monoid
- module Data.List
- module Data.Maybe
- module Data.Either
- module Data.Default.Class
- module Control.Applicative
- module Control.Monad
- module Control.Monad.ST
- module Control.Arrow
- module Control.Lens.Type
- module Control.Lens.Getter
- module Control.Lens.Setter
- module Control.Lens.TH
- module Control.Concurrent
- module Numeric
- module Debug.Trace
- takeEvery :: Int -> [x] -> [x]
- breakEvery :: Int -> [x] -> [[x]]
- traceGiven :: Show a => a -> a
- roundSD :: (Floating x, RealFrac x) => Int -> x -> x
- toPi :: (Floating x, RealFrac x) => x -> x
- logistic :: Floating x => x -> x
- logit :: Floating x => x -> x
- mean :: Fractional x => [x] -> x
- range :: Double -> Double -> Int -> [Double]
- discretizeFunction :: Double -> Double -> Int -> (Double -> Double) -> [(Double, Double)]
Module Exports
module Goal.Core.Plot
module Data.Function
module Data.Ord
module Data.Monoid
module Data.List
module Data.Maybe
module Data.Either
module Data.Default.Class
module Control.Applicative
module Control.Monad
module Control.Monad.ST
module Control.Arrow
module Control.Lens.Type
module Control.Lens.Getter
module Control.Lens.Setter
module Control.Lens.TH
module Control.Concurrent
module Numeric
module Debug.Trace
Lists
breakEvery :: Int -> [x] -> [[x]] Source
Break the list up into lists of length n.
Low-Level
traceGiven :: Show a => a -> a Source
Runs traceShow on the given element.
Numeric
roundSD :: (Floating x, RealFrac x) => Int -> x -> x Source
Roundest the number to the specified significant digit.
Functions
Lists
mean :: Fractional x => [x] -> x Source
Average value of a list of numbers.