def from_moments_full(mu, Sigma, Z=0.): return Distribution(mu, psd_matrices.FullMatrix(Sigma), Z)
def from_moments_diag(mu, sigma_sq, Z=0.): return Distribution(mu, psd_matrices.FullMatrix(np.diag(sigma_sq)), Z)
def from_moments_full(mu, Sigma): return Distribution(mu, psd_matrices.FullMatrix(Sigma)).to_potential()