public class MeanAndStandardDeviation extends Object implements Serializable
DefaultStatisticalCategoryDataset
class.Constructor and Description |
---|
MeanAndStandardDeviation(double mean,
double standardDeviation)
Creates a new mean and standard deviation record.
|
MeanAndStandardDeviation(Number mean,
Number standardDeviation)
Creates a new mean and standard deviation record.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests this instance for equality with an arbitrary object.
|
Number |
getMean()
Returns the mean.
|
double |
getMeanValue()
Returns the mean as a double primitive.
|
Number |
getStandardDeviation()
Returns the standard deviation.
|
double |
getStandardDeviationValue()
Returns the standard deviation as a double primitive.
|
String |
toString()
Returns a string representing this instance.
|
public MeanAndStandardDeviation(double mean, double standardDeviation)
mean
- the mean.standardDeviation
- the standard deviation.public Number getMean()
public double getMeanValue()
null
, this method will return Double.NaN
.getMean()
public Number getStandardDeviation()
public double getStandardDeviationValue()
null
, this method will return
Double.NaN
.public boolean equals(Object obj)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics