cupynumeric.random.noncentral_chisquare#
- cupynumeric.random.noncentral_chisquare(df, nonc, size=None)#
Draw samples from a noncentral chi-square distribution.
The noncentral \(\chi^2\) distribution is a generalization of the \(\chi^2\) distribution.
- Parameters:
df (float) – Degrees of freedom, must be > 0.
nonc (float) – Non-centrality, must be non-negative.
size (int or tuple of ints, optional) – Output shape. If the given shape is, e.g.,
(m, n, k), thenm * n * ksamples are drawn. If size isNone(default), a single value is returned.
- Returns:
out – Drawn samples from the parameterized noncentral chi-square distribution.
- Return type:
ndarray or scalar
See also
numpy.random.noncentral_chisquare- Availability:
Multiple GPUs, Multiple CPUs