cunumeric.random.noncentral_chisquare#

cunumeric.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), then m * n * k samples are drawn. If size is None (default), a single value is returned.

Returns:

out – Drawn samples from the parameterized noncentral chi-square distribution.

Return type:

ndarray or scalar

Availability:

Multiple GPUs, Multiple CPUs