# Documentation

2D bins. binX is binning along X axis and binY is one along Y axis. Data is stored in row-major order

Typeable2 Bin2D | |

(Eq binX, Eq binY) => Eq (Bin2D binX binY) | |

(Data binX, Data binY) => Data (Bin2D binX binY) | |

(Read b1, Read b2) => Read (Bin2D b1 b2) | |

(Show b1, Show b2) => Show (Bin2D b1 b2) | |

(Bin binX, Bin binY) => Bin (Bin2D binX binY) | |

(ConvertBin bx bx', ConvertBin by by') => ConvertBin (Bin2D bx by) (Bin2D bx' by') | |

(ConvertBin by by', Bin bx) => ConvertBin (Bin2D bx by) (Bin2D bx by') | |

(ConvertBin bx bx', Bin by) => ConvertBin (Bin2D bx by) (Bin2D bx' by) |

nBins2D :: (Bin bx, Bin by) => Bin2D bx by -> (Int, Int)Source

2-dimensional size of binning algorithm