public class ScalarSampleStatistics
extends java.lang.Object
| Constructor and Description |
|---|
ScalarSampleStatistics()
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ScalarSampleStatistics()
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()
Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.