@@ -71,7 +71,7 @@ BEGIN_RCPP
7171END_RCPP
7272}
7373// bootstrap_cpp
74- arma::cube bootstrap_cpp (const int & B, const arma::mat& u, const arma::mat& e, const int & boot, const int & l, const arma::mat& s, const double & ar, const arma::mat& ar_est, const arma::mat& y0, const int & pmin, const int & pmax, const int & ic, const arma::vec& dc, const arma::vec& detr, const bool & ic_scale, const double & h_rs, const arma::umat& range, const bool & joint, const bool & do_parallel, const bool & show_progress);
74+ arma::mat bootstrap_cpp (const int & B, const arma::mat& u, const arma::mat& e, const int & boot, const int & l, const arma::mat& s, const double & ar, const arma::mat& ar_est, const arma::mat& y0, const int & pmin, const int & pmax, const int & ic, const arma::vec& dc, const arma::vec& detr, const bool & ic_scale, const double & h_rs, const arma::umat& range, const bool & joint, const bool & do_parallel, const bool & show_progress);
7575RcppExport SEXP _bootUR_bootstrap_cpp (SEXP BSEXP, SEXP uSEXP, SEXP eSEXP, SEXP bootSEXP, SEXP lSEXP, SEXP sSEXP , SEXP arSEXP, SEXP ar_estSEXP, SEXP y0SEXP, SEXP pminSEXP, SEXP pmaxSEXP, SEXP icSEXP, SEXP dcSEXP, SEXP detrSEXP, SEXP ic_scaleSEXP, SEXP h_rsSEXP, SEXP rangeSEXP, SEXP jointSEXP, SEXP do_parallelSEXP, SEXP show_progressSEXP) {
7676BEGIN_RCPP
7777 Rcpp::RObject rcpp_result_gen;
@@ -101,26 +101,28 @@ BEGIN_RCPP
101101END_RCPP
102102}
103103// scaling_factors_cpp
104- arma::mat scaling_factors_cpp (const arma::cube & u, const double & prob);
105- RcppExport SEXP _bootUR_scaling_factors_cpp (SEXP uSEXP, SEXP probSEXP) {
104+ arma::mat scaling_factors_cpp (const arma::mat & u, const int & D , const double & prob);
105+ RcppExport SEXP _bootUR_scaling_factors_cpp (SEXP uSEXP, SEXP DSEXP, SEXP probSEXP) {
106106BEGIN_RCPP
107107 Rcpp::RObject rcpp_result_gen;
108108 Rcpp::RNGScope rcpp_rngScope_gen;
109- Rcpp::traits::input_parameter< const arma::cube& >::type u (uSEXP);
109+ Rcpp::traits::input_parameter< const arma::mat& >::type u (uSEXP);
110+ Rcpp::traits::input_parameter< const int & >::type D (DSEXP);
110111 Rcpp::traits::input_parameter< const double & >::type prob (probSEXP);
111- rcpp_result_gen = Rcpp::wrap (scaling_factors_cpp (u, prob));
112+ rcpp_result_gen = Rcpp::wrap (scaling_factors_cpp (u, D, prob));
112113 return rcpp_result_gen;
113114END_RCPP
114115}
115116// union_tests_cpp
116- arma::mat union_tests_cpp (const arma::cube & t, arma::mat& s);
117- RcppExport SEXP _bootUR_union_tests_cpp (SEXP tSEXP, SEXP sSEXP ) {
117+ arma::mat union_tests_cpp (const arma::mat & t, const int & D , arma::mat& s);
118+ RcppExport SEXP _bootUR_union_tests_cpp (SEXP tSEXP, SEXP DSEXP, SEXP sSEXP ) {
118119BEGIN_RCPP
119120 Rcpp::RObject rcpp_result_gen;
120121 Rcpp::RNGScope rcpp_rngScope_gen;
121- Rcpp::traits::input_parameter< const arma::cube& >::type t (tSEXP);
122+ Rcpp::traits::input_parameter< const arma::mat& >::type t (tSEXP);
123+ Rcpp::traits::input_parameter< const int & >::type D (DSEXP);
122124 Rcpp::traits::input_parameter< arma::mat& >::type s (sSEXP );
123- rcpp_result_gen = Rcpp::wrap (union_tests_cpp (t, s));
125+ rcpp_result_gen = Rcpp::wrap (union_tests_cpp (t, D, s));
124126 return rcpp_result_gen;
125127END_RCPP
126128}
@@ -199,8 +201,8 @@ static const R_CallMethodDef CallEntries[] = {
199201 {" _bootUR_adf_tests_panel_cpp" , (DL_FUNC) &_bootUR_adf_tests_panel_cpp, 9 },
200202 {" _bootUR_adf_panel_bootstrap_dgp_cpp" , (DL_FUNC) &_bootUR_adf_panel_bootstrap_dgp_cpp, 10 },
201203 {" _bootUR_bootstrap_cpp" , (DL_FUNC) &_bootUR_bootstrap_cpp, 20 },
202- {" _bootUR_scaling_factors_cpp" , (DL_FUNC) &_bootUR_scaling_factors_cpp, 2 },
203- {" _bootUR_union_tests_cpp" , (DL_FUNC) &_bootUR_union_tests_cpp, 2 },
204+ {" _bootUR_scaling_factors_cpp" , (DL_FUNC) &_bootUR_scaling_factors_cpp, 3 },
205+ {" _bootUR_union_tests_cpp" , (DL_FUNC) &_bootUR_union_tests_cpp, 3 },
204206 {" _bootUR_union_test_cpp" , (DL_FUNC) &_bootUR_union_test_cpp, 2 },
205207 {" _bootUR_BSQT_cpp" , (DL_FUNC) &_bootUR_BSQT_cpp, 4 },
206208 {" _bootUR_iADF_cpp" , (DL_FUNC) &_bootUR_iADF_cpp, 2 },
0 commit comments