histogram-fill-0.9.1.0: Library for histograms creation.

Safe HaskellNone
LanguageHaskell98

Data.Histogram.Bin.BinInt

Synopsis

Documentation

data BinInt Source #

Integer bins of equal size. For roundtripping use:

b = binIntStep (lowerLimit b) (binSize b) (nBins b)

Constructors

BinInt !Int !Int !Int 
Instances
Eq BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

Methods

(==) :: BinInt -> BinInt -> Bool #

(/=) :: BinInt -> BinInt -> Bool #

Data BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BinInt -> c BinInt #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BinInt #

toConstr :: BinInt -> Constr #

dataTypeOf :: BinInt -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BinInt) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BinInt) #

gmapT :: (forall b. Data b => b -> b) -> BinInt -> BinInt #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BinInt -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BinInt -> r #

gmapQ :: (forall d. Data d => d -> u) -> BinInt -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BinInt -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BinInt -> m BinInt #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BinInt -> m BinInt #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BinInt -> m BinInt #

Read BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

Show BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

NFData BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

Methods

rnf :: BinInt -> () #

UniformBin BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

VariableBin BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

MergeableBin BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

SliceableBin BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

Bin1D BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

IntervalBin BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

BinEq BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

Methods

binEq :: BinInt -> BinInt -> Bool Source #

Bin BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

Associated Types

type BinValue BinInt :: * Source #

ConvertBin BinInt BinD Source # 
Instance details

Defined in Data.Histogram.Bin

ConvertBin BinI BinInt Source # 
Instance details

Defined in Data.Histogram.Bin

RealFrac f => ConvertBin BinInt (BinF f) Source # 
Instance details

Defined in Data.Histogram.Bin

Methods

convertBin :: BinInt -> BinF f Source #

type BinValue BinInt Source # 
Instance details

Defined in Data.Histogram.Bin.BinInt

binInt Source #

Arguments

:: Int

Lower bound

-> Int

Bin size

-> Int

Upper bound

-> BinInt 

Construct BinInt.

binIntN Source #

Arguments

:: Int

Lower bound

-> Int

Bin size

-> Int

Upper bound

-> BinInt 

Construct BinInt.

binIntStep Source #

Arguments

:: Int

Lower bound

-> Int

Bin size

-> Int

Number of bins

-> BinInt