|
Colt 1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.aida.ref.Converter
Histogram conversions, for example to String and XML format; This class requires the Colt distribution, whereas the rest of the package is entirelly stand-alone.
Constructor Summary | |
Converter()
Creates a new histogram converter. |
Method Summary | |
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 String |
toString(double[] array)
Returns a string representation of the specified array. |
String |
toString(IAxis axis)
Returns a string representation of the given argument. |
String |
toString(IHistogram1D h)
Returns a string representation of the given argument. |
String |
toString(IHistogram2D h)
Returns a string representation of the given argument. |
String |
toString(IHistogram3D h)
Returns a string representation of the given argument. |
String |
toXML(IHistogram1D h)
Returns a XML representation of the given argument. |
String |
toXML(IHistogram2D h)
Returns a XML representation of the given argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Converter()
Method Detail |
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 String toString(double[] array)
public String toString(IAxis axis)
public String toString(IHistogram1D h)
public String toString(IHistogram2D h)
public String toString(IHistogram3D h)
public String toXML(IHistogram1D h)
public String toXML(IHistogram2D h)
|
Colt 1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |