public override double Next() { double val = 0; for (int i = 0; i < _n; i++) { val += _exponentialGenerator.Next(); } return(val); }
public override double Next() { return(_exponentialGenerator.Next()); }