pangolin.interface.multi_normal#
- pangolin.interface.multi_normal(mean, cov)#
Create a multivariate normal RV.
The mean must have shape
(n,)and the covariance must have shape(n, n). The result has shape(n,). Positive-definiteness of the covariance is value-dependent and therefore remains a backend-level constraint.Examples
>>> import pangolin.interface as pi >>> pi.multi_normal([0, 0], [[1, 0], [0, 1]]).shape (2,)