histogram-fill-0.5: Library for histograms creation.

Data.Histogram.Bin.BinI

Synopsis

Documentation

data BinI Source

Simple binning algorithm which map continous range of bins onto indices. Each number correcsponds to different bin

  1. Lower bound (inclusive)
  2. Upper bound (inclusive)

Constructors

BinI !Int !Int 

binI :: Int -> Int -> BinISource

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

binI0 :: Int -> BinISource

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