in reply to How does Math::GSL accept data?

gsl_histogram is currently not part of the PDL GSL bindings. I would have expected either PDL::Basic's hist or PDL::NDBin to accommodate user-provided ranges, in line with your requirement, but it seems neither of them do. Pull requests to rectify any or all of those would be most welcome!