- java.lang.Object
-
- org.mal_lang.lib.Distributions.TruncatedNormal
-
- All Implemented Interfaces:
Distributions.Distribution
- Enclosing class:
- Distributions
public static class Distributions.TruncatedNormal extends Object implements Distributions.Distribution
-
-
Field Summary
Fields Modifier and Type Field Description double
mean
double
standardDeviation
-
Constructor Summary
Constructors Constructor Description TruncatedNormal(double mean, double standardDeviation)
TruncatedNormal(List<Double> params)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getMean()
String
toString()
static void
validate(List<Double> params)
-
-
-
Method Detail
-
validate
public static void validate(List<Double> params) throws CompilerException
- Throws:
CompilerException
-
getMean
public double getMean()
- Specified by:
getMean
in interfaceDistributions.Distribution
-
-