GammaDistribution constructor

const GammaDistribution(
  1. double shape,
  2. double scale
)

A gamma distribution with parameters shape k and scale θ.

Implementation

const GammaDistribution(this.shape, this.scale)
    : assert(shape > 0, 'shape > 0'),
      assert(scale > 0, 'scale > 0');