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() |
clone
public 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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object