Gamma

constructor(parameters: DoubleArray)

Constructs a gamma distribution with shape = parameters0 and scale = parameters1

Parameters

parameters

An array with the shape and scale


constructor(shape: Double = 1.0, scale: Double = 1.0, name: String? = null)

Parameters

shape

The shape parameter of the distribution, must be greater than 0

scale

The scale parameter of the distribution, must be greater than 0

name

an optional name/label