dpnp.random.Generator.noncentral_chisquare¶
method
- Generator.noncentral_chisquare(df, nonc, size=None, dtype=None, *, usm_type=None)[source]¶
Draw samples from a noncentral chi-square distribution.
For full documentation refer to
numpy.random.Generator.noncentral_chisquare.- Parameters:
- df{float, array_like of floats, dpnp.ndarray, usm_ndarray}
Degrees of freedom, positive.
- nonc{float, array_like of floats, dpnp.ndarray, usm_ndarray}
Non-centrality, non-negative.
- size{None, int, tuple of ints}, optional
Output shape. With
None, the broadcast shape of df and nonc.Default:
None.- dtype{None, dtype}, optional
The data type of the output,
dpnp.float32ordpnp.float64.Default:
None, which means the default floating-point type of the device.- usm_type{None, "device", "shared", "host"}, optional
The type of SYCL USM allocation for the output array.
Default:
None, which means the USM type of the array parameters, or"device"when there are none.
- Returns:
- outdpnp.ndarray
The samples.
Limitations
dtype and usm_type are not in NumPy's signature.