R/det_omega_mod.R

Defines functions det_omega_mod

# MH Sampling from 'omega' #
det_omega_mod <- function(X,x_new,i,j) {
  X[i,j] <- X[j,i] <- x_new
  return(det(X))
}
christianu7/BNPMIXcluster documentation built on Sept. 10, 2022, 11:40 p.m.