Update multivariate linear gaussian gaussian

function update_multivariate_linear_gaussian_gaussian(x:Real[_], A:Real[_,_], μ:Real[_], Σ:Real[_,_], c:Real[_], S:Real[_,_]) -> (Real[_], Real[_,_])

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

  • x: The variate.
  • A: Scale.
  • μ: Prior mean.
  • Σ: Prior covariance.
  • c: Offset.
  • S: Likelihood covariance.

Returns: the posterior hyperparameters μ' and Σ'.