public class Converter
extends java.lang.Object
Constructor and Description |
---|
Converter()
Creates a new histogram converter.
|
Modifier and Type | Method and Description |
---|---|
double[] |
edges(IAxis axis)
Returns all edges of the given axis.
|
protected double[] |
toArrayErrors(IHistogram1D h)
Returns an array[h.xAxis().bins()]; ignoring extra bins.
|
protected double[][] |
toArrayErrors(IHistogram2D h)
Returns an array[h.xAxis().bins()][h.yAxis().bins()]; ignoring extra bins.
|
protected double[] |
toArrayHeights(IHistogram1D h)
Returns an array[h.xAxis().bins()]; ignoring extra bins.
|
protected double[][] |
toArrayHeights(IHistogram2D h)
Returns an array[h.xAxis().bins()][h.yAxis().bins()]; ignoring extra bins.
|
protected double[][][] |
toArrayHeights(IHistogram3D h)
Returns an array[h.xAxis().bins()][h.yAxis().bins()][h.zAxis().bins()]; ignoring extra bins.
|
protected static java.lang.String |
toString(double[] array)
Returns a string representation of the specified array.
|
java.lang.String |
toString(IAxis axis)
Returns a string representation of the given argument.
|
java.lang.String |
toString(IHistogram1D h)
Returns a string representation of the given argument.
|
java.lang.String |
toString(IHistogram2D h)
Returns a string representation of the given argument.
|
java.lang.String |
toString(IHistogram3D h)
Returns a string representation of the given argument.
|
java.lang.String |
toXML(IHistogram1D h)
Returns a XML representation of the given argument.
|
java.lang.String |
toXML(IHistogram2D h)
Returns a XML representation of the given argument.
|
public double[] edges(IAxis axis)
protected double[] toArrayErrors(IHistogram1D h)
protected double[][] toArrayErrors(IHistogram2D h)
protected double[] toArrayHeights(IHistogram1D h)
protected double[][] toArrayHeights(IHistogram2D h)
protected double[][][] toArrayHeights(IHistogram3D h)
protected static java.lang.String toString(double[] array)
public java.lang.String toString(IAxis axis)
public java.lang.String toString(IHistogram1D h)
public java.lang.String toString(IHistogram2D h)
public java.lang.String toString(IHistogram3D h)
public java.lang.String toXML(IHistogram1D h)
public java.lang.String toXML(IHistogram2D h)
Jump to the Colt Homepage