public class Moments extends Object
Constructor and Description |
---|
Moments(int order)
Initialization of the moments.
|
Modifier and Type | Method and Description |
---|---|
void |
doc()
Show online documentation.
|
double[] |
getErrors()
Get errors on the moment calculations
|
P1D |
getResults()
Get results in form of P1D.
|
double[] |
getValues()
Get values of the moments
|
void |
process(double n)
Process current event for a double random variable
|
void |
process(int n)
Process current event for an integer random variable
|
public Moments(int order)
order
- Max oder of the momentpublic void process(int n)
n
- input variable for the moment calculationspublic void process(double n)
x
- input variable for the moment calculationspublic double[] getValues()
public double[] getErrors()
public P1D getResults()
public void doc()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics