|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.spaceroots.mantissa.random.ScalarSampleStatistics
This class compute basic statistics on a scalar sample.
| Constructor Summary | |
ScalarSampleStatistics()
Simple constructor. |
|
| Method Summary | |
void |
add(double x)
Add one point to the instance. |
void |
add(double[] points)
Add all points of an array to the instance. |
void |
add(ScalarSampleStatistics s)
Add all the points of another sample to the instance. |
double |
getMax()
Get the maximal value in the sample. |
double |
getMean()
Get the mean value of the sample. |
double |
getMin()
Get the minimal value in the sample. |
double |
getStandardDeviation()
Get the standard deviation of the underlying probability law. |
int |
size()
Get the number of points in the sample. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScalarSampleStatistics()
| Method Detail |
public void add(double x)
x - value of the sample pointpublic void add(double[] points)
points - array of pointspublic void add(ScalarSampleStatistics s)
s - sample to addpublic int size()
public double getMin()
public double getMax()
public double getMean()
public double getStandardDeviation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||