edu.stanford.math.mapper
public class HistogramCreator extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
bins |
protected int |
numBins |
protected java.lang.String |
string |
protected double[] |
values |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
generateString(int maxHistogramStars) |
double[] |
getBinEndingPoints() |
protected double[] |
getBinLattice(double offset) |
double |
getBinLatticePoint(int binIndex,
double offset) |
double[] |
getBinMidPoints() |
double[] |
getBinStartingPoints() |
double |
getBinStartPoint(int binIndex) |
int[] |
getCounts() |
int |
getLastZeroBinIndex() |
protected double |
getMax() |
protected double |
getMin() |
protected int[] |
performBinning() |
protected static java.lang.String |
repeatString(java.lang.String s,
int n) |
java.lang.String |
toString() |
protected final double[] values
protected final int numBins
protected final int[] bins
protected final java.lang.String string
protected int[] performBinning()
protected double getMin()
protected double getMax()
public int[] getCounts()
protected double[] getBinLattice(double offset)
public double[] getBinStartingPoints()
public double[] getBinEndingPoints()
public double[] getBinMidPoints()
public double getBinStartPoint(int binIndex)
public double getBinLatticePoint(int binIndex, double offset)
public int getLastZeroBinIndex()
protected java.lang.String generateString(int maxHistogramStars)
protected static java.lang.String repeatString(java.lang.String s, int n)
public java.lang.String toString()
toString
in class java.lang.Object