Class DiscreteDistribution

java.lang.Object
jline.lang.processes.Distribution
jline.lang.processes.DiscreteDistribution
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Bernoulli, Binomial, DiscreteSampler, DiscreteUniform, Geometric, Poisson, Zipf

public abstract class DiscreteDistribution extends Distribution implements Serializable
An abstract class for discrete distributions.
See Also:
  • Constructor Details

    • DiscreteDistribution

      public DiscreteDistribution(String name, int numParam, Pair<Double,Double> support)
  • Method Details

    • evalPMF

      public double evalPMF(double k)
    • evalPMF

      public double[] evalPMF(double[] k)
    • evalPMF

      public Matrix evalPMF(List<Double> t)