Class BinomialLongRVRV

All Implemented Interfaces:
Cloneable, RandomVariableOps<BinomialLongRV>, RandomVariableRVNOps<Long,BinomialLongRV>, RandomVariableRVOps<Long,BinomialLongRV>

public class BinomialLongRVRV extends LongRandomVariableRV<BinomialLongRV>
Class to generate a sequence of Long-valued binomial random variables.
  • Constructor Details

    • BinomialLongRVRV

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

      public BinomialLongRVRV(DoubleRandomVariable prob, LongRandomVariable 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