histogram-fill-0.8.4.1: Library for histograms creation.

Safe HaskellNone
LanguageHaskell98

Data.Histogram.Bin.BinI

Synopsis

Documentation

data BinI Source

Very simple binning algorithm. Each indices. Each number correcsponds to different bin.

For rountripping use lowerLimit and upperLimit

b = binI (lowerLimit b) (upperLimit b)

binI Source

Arguments

:: Int

Lower bound (inclusive)

-> Int

Upper bound (inclusive)

-> BinI 

Safe constructor for BinI. It checks that upper bound is greater or equal than lower bound

binI0 Source

Arguments

:: Int

Number of bins.

-> BinI 

Construct BinI with n bins. Indexing starts from 0. n must be positive