Package hep.aida.ref
Class Converter
java.lang.Object
hep.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Returns all edges of the given axis.(package private) String
protected double[]
Returns an array[h.xAxis().bins()]; ignoring extra bins.protected double[][]
Returns an array[h.xAxis().bins()][h.yAxis().bins()]; ignoring extra bins.protected double[]
Returns an array[h.xAxis().bins()]; ignoring extra bins.protected double[][]
Returns an array[h.xAxis().bins()][h.yAxis().bins()]; ignoring extra bins.protected double[][][]
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.Returns a string representation of the given argument.Returns a string representation of the given argument.Returns a string representation of the given argument.Returns a string representation of the given argument.Returns a XML representation of the given argument.Returns a XML representation of the given argument.
-
Constructor Details
-
Converter
public Converter()Creates a new histogram converter.
-
-
Method Details
-
edges
Returns all edges of the given axis. -
form
-
toArrayErrors
Returns an array[h.xAxis().bins()]; ignoring extra bins. -
toArrayErrors
Returns an array[h.xAxis().bins()][h.yAxis().bins()]; ignoring extra bins. -
toArrayHeights
Returns an array[h.xAxis().bins()]; ignoring extra bins. -
toArrayHeights
Returns an array[h.xAxis().bins()][h.yAxis().bins()]; ignoring extra bins. -
toArrayHeights
Returns an array[h.xAxis().bins()][h.yAxis().bins()][h.zAxis().bins()]; ignoring extra bins. -
toString
Returns a string representation of the specified array. The string representation consists of a list of the arrays's elements, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (comma and space).- Returns:
- a string representation of the specified array.
-
toString
Returns a string representation of the given argument. -
toString
Returns a string representation of the given argument. -
toString
Returns a string representation of the given argument. -
toString
Returns a string representation of the given argument. -
toXML
Returns a XML representation of the given argument. -
toXML
Returns a XML representation of the given argument.
-