cupy.random.chisquare#
- cupy.random.chisquare(df, size=None, dtype=<class 'float'>)[source]#
Chi-square distribution.
Returns an array of samples drawn from the chi-square distribution. Its probability density function is defined as
\[f(x) = \frac{(1/2)^{k/2}}{\Gamma(k/2)}x^{k/2-1}e^{-x/2}.\]- Parameters:
- Returns:
Samples drawn from the chi-square distribution.
- Return type:
See also