|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.aida.tdouble.ref.DoubleFixedAxis
public class DoubleFixedAxis
Fixed-width axis; A reference implementation of hep.aida.IAxis.
Constructor Summary | |
---|---|
DoubleFixedAxis(int bins,
double min,
double max)
Create an Axis |
Method Summary | |
---|---|
double |
binCentre(int index)
Centre of the bin specified. |
double |
binLowerEdge(int index)
Lower edge of the specified bin. |
int |
bins()
The number of bins (excluding underflow and overflow) on the axis. |
double |
binUpperEdge(int index)
Upper edge of the specified bin. |
double |
binWidth(int index)
Width of the bin specified. |
int |
coordToIndex(double coord)
Converts a coordinate on the axis to a bin number. |
double |
lowerEdge()
Lower axis edge. |
double |
upperEdge()
Upper axis edge. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoubleFixedAxis(int bins, double min, double max)
bins
- Number of binsmin
- Minimum for axismax
- Maximum for axisMethod Detail |
---|
public double binCentre(int index)
DoubleIAxis
binCentre
in interface DoubleIAxis
index
- Bin number (0...bins()-1) or OVERFLOW or UNDERFLOW.public double binLowerEdge(int index)
DoubleIAxis
binLowerEdge
in interface DoubleIAxis
index
- Bin number (0...bins()-1) or OVERFLOW or UNDERFLOW.
public int bins()
DoubleIAxis
bins
in interface DoubleIAxis
public double binUpperEdge(int index)
DoubleIAxis
binUpperEdge
in interface DoubleIAxis
index
- Bin number (0...bins()-1) or OVERFLOW or UNDERFLOW.
public double binWidth(int index)
DoubleIAxis
binWidth
in interface DoubleIAxis
index
- Bin number (0...bins()-1) or OVERFLOW or UNDERFLOW.public int coordToIndex(double coord)
DoubleIAxis
coordToIndex
in interface DoubleIAxis
public double lowerEdge()
DoubleIAxis
lowerEdge
in interface DoubleIAxis
public double upperEdge()
DoubleIAxis
upperEdge
in interface DoubleIAxis
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |