|
Colt 1.2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.aida.ref.Converter
public class 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 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. |
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 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)
|
Colt 1.2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |