@@ -11,6 +11,38 @@ Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
1111Rcpp::Rostream<false >& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
1212#endif
1313
14+ // get_explog_switch
15+ Rcpp::String get_explog_switch ();
16+ RcppExport SEXP _bgms_get_explog_switch () {
17+ BEGIN_RCPP
18+ Rcpp::RObject rcpp_result_gen;
19+ Rcpp::RNGScope rcpp_rngScope_gen;
20+ rcpp_result_gen = Rcpp::wrap (get_explog_switch ());
21+ return rcpp_result_gen;
22+ END_RCPP
23+ }
24+ // rcpp_ieee754_exp
25+ Rcpp::NumericVector rcpp_ieee754_exp (Rcpp::NumericVector x);
26+ RcppExport SEXP _bgms_rcpp_ieee754_exp (SEXP xSEXP) {
27+ BEGIN_RCPP
28+ Rcpp::RObject rcpp_result_gen;
29+ Rcpp::RNGScope rcpp_rngScope_gen;
30+ Rcpp::traits::input_parameter< Rcpp::NumericVector >::type x (xSEXP);
31+ rcpp_result_gen = Rcpp::wrap (rcpp_ieee754_exp (x));
32+ return rcpp_result_gen;
33+ END_RCPP
34+ }
35+ // rcpp_ieee754_log
36+ Rcpp::NumericVector rcpp_ieee754_log (Rcpp::NumericVector x);
37+ RcppExport SEXP _bgms_rcpp_ieee754_log (SEXP xSEXP) {
38+ BEGIN_RCPP
39+ Rcpp::RObject rcpp_result_gen;
40+ Rcpp::RNGScope rcpp_rngScope_gen;
41+ Rcpp::traits::input_parameter< Rcpp::NumericVector >::type x (xSEXP);
42+ rcpp_result_gen = Rcpp::wrap (rcpp_ieee754_log (x));
43+ return rcpp_result_gen;
44+ END_RCPP
45+ }
1446// sample_omrf_gibbs
1547IntegerMatrix sample_omrf_gibbs (int no_states, int no_variables, IntegerVector no_categories, NumericMatrix interactions, NumericMatrix thresholds, int iter);
1648RcppExport SEXP _bgms_sample_omrf_gibbs (SEXP no_statesSEXP, SEXP no_variablesSEXP, SEXP no_categoriesSEXP, SEXP interactionsSEXP, SEXP thresholdsSEXP, SEXP iterSEXP) {
@@ -143,6 +175,9 @@ END_RCPP
143175}
144176
145177static const R_CallMethodDef CallEntries[] = {
178+ {" _bgms_get_explog_switch" , (DL_FUNC) &_bgms_get_explog_switch, 0 },
179+ {" _bgms_rcpp_ieee754_exp" , (DL_FUNC) &_bgms_rcpp_ieee754_exp, 1 },
180+ {" _bgms_rcpp_ieee754_log" , (DL_FUNC) &_bgms_rcpp_ieee754_log, 1 },
146181 {" _bgms_sample_omrf_gibbs" , (DL_FUNC) &_bgms_sample_omrf_gibbs, 6 },
147182 {" _bgms_sample_bcomrf_gibbs" , (DL_FUNC) &_bgms_sample_bcomrf_gibbs, 8 },
148183 {" _bgms_gibbs_sampler" , (DL_FUNC) &_bgms_gibbs_sampler, 28 },
0 commit comments