chiSquare

fun RandomKey.chiSquare(shape: Shape, dof: DTensor): DTensor

Samples from a chi square distribution The chi square distribution X is a special case of the gamma distribution X ~ Gamma(dof / 2, 1 / 2) https://en.wikipedia.org/wiki/Chi-squared_distribution