public GompertzDistribution ( [ eta, [ b ) : System | ||
eta | [ | The shape parameter |
b | [ | The scale parameter |
return | System |
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;
}