dpnp.random.multivariate_normal

dpnp.random.multivariate_normal(mean, cov, size=None, check_valid='warn', tol=1e-08)[source]

Draw random samples from a multivariate normal distribution.

For full documentation refer to numpy.random.multivariate_normal.

Limitations

Parameters check_valid and tol are not supported. Otherwise, numpy.random.multivariate_normal(mean, cov, size, check_valid, tol) samples are drawn.

Examples

>>> mean = (1, 2)
>>> cov = [[1, 0], [0, 1]]
>>> x = dpnp.random.multivariate_normal(mean, cov, (3, 3))
>>> x.shape
(3, 3, 2)