public class Cell1DDatasets extends Object
Constructor and Description |
---|
Cell1DDatasets() |
Modifier and Type | Method and Description |
---|---|
static Cell1DDataset |
createHistogram(Point1DDataset dataset) |
static Cell1DDataset |
datasetFrom(ListNumber values,
ListNumber xBoundaries)
Wraps
ListNumber s for values and boundaries into a Point1DDataset . |
static Cell1DDataset |
datasetFrom(ListNumber values,
ListNumber xBoundaries,
Range displayRange) |
static Cell1DDataset |
linearRange(ListNumber values,
double minValue,
double maxValue)
Wraps a
ListNumber into a Point1DDataset . |
public static Cell1DDataset linearRange(ListNumber values, double minValue, double maxValue)
ListNumber
into a Point1DDataset
.
It assumes the argument is either immutable or mutable but will not be changed in the future.
values
- the values for the datasetminValue
- the minimum valuemaxValue
- the maximum valuepublic static Cell1DDataset datasetFrom(ListNumber values, ListNumber xBoundaries)
ListNumber
s for values and boundaries into a Point1DDataset
.
It assumes the argument is either immutable or mutable but will not be changed in the future.
values
- the values for the datasetxBoundaries
- the cell boundariespublic static Cell1DDataset datasetFrom(ListNumber values, ListNumber xBoundaries, Range displayRange)
public static Cell1DDataset createHistogram(Point1DDataset dataset)
Copyright © 2015. All rights reserved.