fHconfig_sum_update_ptr_parallel: Computation of the sum sum_c(w_c*psi_c) parallelized version

View source: R/RcppExports.R

fHconfig_sum_update_ptr_parallelR Documentation

Computation of the sum sum_c(w_c*psi_c) parallelized version

Description

Computation of the sum sum_c(w_c*psi_c) parallelized version

Usage

fHconfig_sum_update_ptr_parallel(
  Hconfig,
  NewPrior,
  Logf0Mat,
  Logf1Mat,
  threads_nb = 0L
)

Arguments

Hconfig

list of vector of 0 and 1, corresponding to the configurations

NewPrior

a double vector containing the prior w_c

Logf0Mat

a double matrix containing the log(f0(xi_q))

Logf1Mat

a double matrix containing the log(f1(xi_q))

threads_nb

an int the number of threads

Value

a double vector containing sum_c(w_c*psi_c)


qch documentation built on May 29, 2024, 8:11 a.m.