Class BinomialIntegerRVRV

All Implemented Interfaces:
Cloneable, RandomVariableOps<BinomialIntegerRV>, RandomVariableRVNOps<Integer,BinomialIntegerRV>, RandomVariableRVOps<Integer,BinomialIntegerRV>

public class BinomialIntegerRVRV extends IntegerRandomVariableRV<BinomialIntegerRV>
Class to generate a sequence of Integer-valued binomial random variables.
  • Constructor Details

    • BinomialIntegerRVRV

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

      public BinomialIntegerRVRV(DoubleRandomVariable prob, IntegerRandomVariable 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