dpnp.random.Generator.multivariate_hypergeometric¶
method
- Generator.multivariate_hypergeometric(colors, nsample, size=None, method='marginals', *, usm_type='device')[source]¶
Generate variates from a multivariate hypergeometric distribution.
For full documentation refer to
numpy.random.Generator.multivariate_hypergeometric.Limitations
usm_type is not in NumPy's signature. Both methods draw by the marginals algorithm, launching one kernel for every color but the last, so
sum(colors)must be less than 1000000000 for the"count"method as well.