BinomialDistribution Constructor |
Initializes a new binomial distribution.
Namespace:
Meta.Numerics.Statistics.Distributions
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax 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
- Type: SystemDouble
The probability of the success in a single trial, which must lie between zero and one. - n
- Type: SystemInt32
The number of trials, which must be positive.
See Also