public GompertzDistribution([Positive] double eta, [Positive] double b) { if (eta <= 0) throw new ArgumentOutOfRangeException("eta", "The shape eta must be positive."); if (b <= 0) throw new ArgumentOutOfRangeException("b", "The scale b must be positive."); this.eta = eta; this.b = b; }