mars.tensor.special.
multigammaln
Returns the log of multivariate gamma, also sometimes called the generalized gamma.
a (ndarray) – The multivariate gamma is computed for each item of a.
d (int) – The dimension of the space of integration.
res – The values of the log multivariate gamma at the given points a.
ndarray
提示
The formal definition of the multivariate gamma of dimension d for a real a is
with the condition \(a > (d-1)/2\), and \(A > 0\) being the set of all the positive definite matrices of dimension d. Note that a is a scalar: the integrand only is multivariate, the argument is not (the function is defined over a subset of the real set).
This can be proven to be equal to the much friendlier equation
引用
R. J. Muirhead, Aspects of multivariate statistical theory (Wiley Series in probability and mathematical statistics).