public class NormalDistribution extends Distribution
| Constructor and Description |
|---|
NormalDistribution(double mean,
double std)
Create a normal distribution
with the given mean and std
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
double |
getMean() |
double |
getStd() |
int |
hashCode() |
void |
setMean(double mean) |
void |
setStd(double std) |
java.lang.String |
toString() |
clonepublic NormalDistribution(double mean,
double std)
mean - the meanstd - the standard deviationpublic double getMean()
public void setMean(double mean)
public double getStd()
public void setStd(double std)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object