Methods in bb.science that return Bins.Intervals |
Bins.Intervals |
Bins.getIntervals()
Accessor for Bins.intervals . |
private static Bins.Intervals |
Bins.Intervals.make(double[] values,
double offset,
double width)
Specifies that minimal set of intervals which satisifes these conditions:
every element of values is inside one of the intervals
every interval in the set has the same size, equal to the width param
every interval's boundary points are separated from offset by an integral multiple of width. |
private static Bins.Intervals |
Bins.Intervals.make(double[] values,
int number)
Specifies that set of intervals which satisifes these conditions:
every element of values is inside one of the intervals
the number of intervals in the set equals the number param
the left (starting) boundary of the leftmost (smallest) interval equals the minimum element of values
the right (ending) boundary of the rightmost (largest) interval equals the maximum element of values
This method finds the min and max elements of values,
which it uses for begin and end . |