Skip to content

chiSquaredDistribution(parameters): ChiSquaredDistribution

Defined in: packages/distribution/src/chi-squared-distribution.ts:26

Create a chi-squared distribution, equivalent to a gamma with half the degrees of freedom as shape and rate one half. Each rejection draw consumes a variable number of 32-bit words.

ChiSquaredDistributionParameters

ChiSquaredDistribution

With INVALID_PARAMETER for unsupported degrees of freedom.