Compute log normalizing constant for the edge-sharing MRF prior
calc_mrf_logC_cpp.RdComputes \(\log C(\Theta, \nu)\) where $$C(\Theta,\nu)=\sum_{g\in\{0,1\}^K} \exp\{\nu \mathbf{1}^\top g + g^\top \Theta g\}.$$
calc_mrf_logC_cpp.RdComputes \(\log C(\Theta, \nu)\) where $$C(\Theta,\nu)=\sum_{g\in\{0,1\}^K} \exp\{\nu \mathbf{1}^\top g + g^\top \Theta g\}.$$