update_multivariate_gaussian_gaussian

function update_multivariate_gaussian_gaussian(x:Real[_], μ:Real[_], Σ:Real[_,_], S:Real[_,_]) -> (Real[_], Real[_,_])

Update the parameters of a multivariate Gaussian distribution with a multivariate Gaussian likelihood.

  • x: The variate.
  • μ: Prior mean.
  • Σ: Prior covariance.
  • S: Likelihood covariance.

Returns: the posterior hyperparameters μ' and Σ'.