| RandGenBinomial(Int32, Double) Constructor |
Constructs a random number generator for binomial distributions using the RandGenMTwist
class as the underlying uniform random number generator.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public RandGenBinomial(
int trials,
double probability
)
Public Sub New (
trials As Integer,
probability As Double
)
public:
RandGenBinomial(
int trials,
double probability
)
new :
trials : int *
probability : float -> RandGenBinomial
Parameters
- trials Int32
- The total number of trials.
- probability Double
- The probability of success on each trial.
See Also