The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.03 - 2011-06-01

  • The rand() method, when called on a cumulative distribution, returns random numbers sampled from the source distribution.
  • Includes a Mersenne-twister random number generator as Math::SimpleHisto::XS::RNG.
  • multiply_constant($k) will scale the histogram contents with $k.
  • The cumulative() method now takes an optional argument that is used to normalize the cumulative distribution's last bin.
  • The methods new_from_bin_range($i, $j) and new_alike_from_bin_range($i, $j) return clones of the histogram that include only the bins $i to $j.
  • Several new examples in examples/ and xt/ including an example of fitting and plotting histograms.

Modules

Simple histogramming, but kinda fast

Provides

in lib/Math/SimpleHisto/XS/RNG.pm