update_lazy_linear_multivariate_gaussian_gaussian


function update_lazy_linear_multivariate_gaussian_gaussian(x:Expression<Real>, a:Expression<Real[_]>, μ:Expression<Real[_]>, Σ:Expression<LLT>, c:Expression<Real>, s2:Expression<Real>) -> (Expression<Real[_]>, Expression<LLT>)

Update the parameters of a multivariate Gaussian distribution with a linear transformation involving a dot product, and a multivariate Gaussian likelihood.

  • x: The variate.
  • a: Scale.
  • μ: Prior mean.
  • Σ: Prior covariance.
  • c: Offset.
  • s2: Likelihood covariance.

Returns: the posterior hyperparameters μ' and Σ'.