code: def _E(dof, scale):
      r"""
      $L(a, B) = \int \mathcal{Wishart}(\Gamma; a, B) \log |\Gamma| d\Gamma$
      """
      return (
          -_utils.logdet(scale / 2)
          + digamma((dof - np.arange(scale.shape[0])) / 2).sum()
      )
  
file_path: hmmlearn/lib/hmmlearn/_kl_divergence.py
imports: import numpy
  from scipy.special import gammaln, digamma
  from .None import _utils
label_desc: Use image node_id 6 for calling a global function with example usage: _E(dof, scale) and returns: unknown