parametersFromMeanAndVariance

Computes the parameters (shape and scale) by matching to mean and variance element0 = shape element1 = scale

Return

the parameter array

Parameters

mean

must be > 0

variance

must be > 0