histogram-fill-0.6.1.0: Library for histograms creation.

Safe HaskellSafe-Infered

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)

binISource

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

binI0Source

Arguments

:: Int

Number of bins.

-> BinI 

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