All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class hep.analysis.SimpleIntPartition

java.lang.Object
   |
   +----java.util.Observable
           |
           +----hep.analysis.Partition
                   |
                   +----hep.analysis.Abstract1DPartition
                           |
                           +----hep.analysis.SimplePartition
                                   |
                                   +----hep.analysis.SimpleIntPartition

public class SimpleIntPartition
extends SimplePartition

Constructor Index

 o SimpleIntPartition()
 o SimpleIntPartition(int, int)

Method Index

 o fill(double)
Invokes the fill(double, double) method with a weighting value of 1.
 o fill(double, double)
Fills the associated histogram with a numerical value.
 o fill(int)
Invokes the fill(int, double) method with a weighting value of 1.
 o fill(int, double)
Converts the given int parameter to type double and calls fill(double, double).
 o getBinAt(double)
Returns the bin index corresponding to the given numerical value.
 o getBinAt(int)
Converts the given int parameter to type double and invokes the method getBinAt(double).
 o getMax()
Return the maximum in the distribution.
 o getMin()
Return the minimum in the distribution.
 o getNumberOfBins()
Return the number of bins.

Constructors

 o SimpleIntPartition
 public SimpleIntPartition()
 o SimpleIntPartition
 public SimpleIntPartition(int min,
                           int max)

Methods

 o fill
 public void fill(int x)
Invokes the fill(int, double) method with a weighting value of 1.

Overrides:
fill in class Abstract1DPartition
 o fill
 public void fill(int x,
                  double v)
Converts the given int parameter to type double and calls fill(double, double).

Overrides:
fill in class Abstract1DPartition
 o fill
 public void fill(double x)
Invokes the fill(double, double) method with a weighting value of 1.

Overrides:
fill in class SimplePartition
 o fill
 public void fill(double x,
                  double v)
Fills the associated histogram with a numerical value.

Overrides:
fill in class SimplePartition
 o getBinAt
 public int getBinAt(int x) throws NoSuchBinException
Converts the given int parameter to type double and invokes the method getBinAt(double).

Overrides:
getBinAt in class Abstract1DPartition
 o getBinAt
 public int getBinAt(double x) throws NoSuchBinException
Returns the bin index corresponding to the given numerical value.

Overrides:
getBinAt in class SimplePartition
 o getMin
 public double getMin()
Return the minimum in the distribution.

Overrides:
getMin in class SimplePartition
 o getMax
 public double getMax()
Return the maximum in the distribution.

Overrides:
getMax in class SimplePartition
 o getNumberOfBins
 public int getNumberOfBins()
Return the number of bins.

Overrides:
getNumberOfBins in class SimplePartition

All Packages  Class Hierarchy  This Package  Previous  Next  Index