public static void Main(string[] args) { double p = 0.5; int n = 10; var coefs = new BinomialCoefficients(); var dist = new Distribution(coefs, p, n); foreach (var el in dist) { Console.Write(el + " "); } }
public Distribution(BinomialCoefficients _coef, double p, int n) { this._coefficients = _coef; this._p = p; this._n = n; }