A function for generating a uniformly binned histogram from the elements of a field.
A function for generating a uniformly binned histogram from the elements of a field. Bins are dynamically positioned according to the input x.
the field to count
number of bins to use
a 0D vector field of length bins with the number of counts per bin