Class BinomialDoubleRVRV

All Implemented Interfaces:
Cloneable, RandomVariableOps<BinomialDoubleRV>, RandomVariableRVNOps<Double,BinomialDoubleRV>, RandomVariableRVOps<Double,BinomialDoubleRV>

public class BinomialDoubleRVRV extends DoubleRandomVariableRV<BinomialDoubleRV>
Class to generate a sequence of Double-valued binomial random variables.
  • Constructor Details

    • BinomialDoubleRVRV

      public BinomialDoubleRVRV(DoubleRandomVariable prob, double n)
      Constructor. For n < 61, n is rounded to the nearest integer.
      Parameters:
      prob - a random variable that determines the probability of a success for a single try.
      n - the number of tries.
    • BinomialDoubleRVRV

      public BinomialDoubleRVRV(DoubleRandomVariable prob, DoubleRandomVariable n)
      Constructor.
      Parameters:
      prob - a random variable that determines the probability of a success for a single try.
      n - a random variable that determines the number of tries.
  • Method Details