This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / matrix_normal_gen / entropy

function

scipy.stats._multivariate:matrix_normal_gen.entropy

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multivariate.py:1437

Signature

def entropy(self, rowcov = 1, colcov = 1)

Summary

Log of the matrix normal probability density function.

Parameters

rowcov : array_like, optional

Among-row covariance matrix of the distribution (default: 1)

colcov : array_like, optional

Among-column covariance matrix of the distribution (default: 1)

Returns

entropy : float

Entropy of the distribution

Notes

If mean is set to None then a matrix of zeros is used for the mean. The dimensions of this matrix are inferred from the shape of rowcov and colcov, if these are provided, or set to 1 if ambiguous.

rowcov and colcov can be two-dimensional array_likes specifying the covariance matrices directly. Alternatively, a one-dimensional array will be be interpreted as the entries of a diagonal matrix, and a scalar or zero-dimensional array will be interpreted as this value times the identity matrix.

Aliases

  • scipy.stats._multivariate.matrix_normal_gen.entropy