BinomialDistribution Constructor
Initializes a new binomial distribution.
Namespace: Meta.Numerics.Statistics.DistributionsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
public BinomialDistribution(
double p,
int n
)
Public Sub New (
p As Double,
n As Integer
)
public:
BinomialDistribution(
double p,
int n
)
new :
p : float *
n : int -> BinomialDistribution
Parameters
- p Double
- The probability of the success in a single trial, which must lie between zero and one.
- n Int32
- The number of trials, which must be positive.