[Yuima-commits] r769 - pkg/yuima/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Dec 15 23:36:01 CET 2021


Author: phoenix844
Date: 2021-12-15 23:36:01 +0100 (Wed, 15 Dec 2021)
New Revision: 769

Modified:
   pkg/yuima/src/RcppExports.cpp
Log:
Update RcppExports.cpp

Modified: pkg/yuima/src/RcppExports.cpp
===================================================================
--- pkg/yuima/src/RcppExports.cpp	2021-12-15 22:28:27 UTC (rev 768)
+++ pkg/yuima/src/RcppExports.cpp	2021-12-15 22:36:01 UTC (rev 769)
@@ -6,9 +6,14 @@
 
 using namespace Rcpp;
 
+#ifdef RCPP_USE_GLOBAL_ROSTREAM
+Rcpp::Rostream<true>&  Rcpp::Rcout = Rcpp::Rcpp_cout_get();
+Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
+#endif
+
 // evalKernelCpp
 NumericVector evalKernelCpp(StringMatrix Integrand2, ExpressionVector Integrand2expr, Environment myenvd1, Environment myenvd2, LogicalVector ExistdN, LogicalVector ExistdX, NumericVector gridTime, IntegerVector dimCol, StringVector NameCol, StringVector JumpTimeName);
-RcppExport SEXP yuima_evalKernelCpp(SEXP Integrand2SEXP, SEXP Integrand2exprSEXP, SEXP myenvd1SEXP, SEXP myenvd2SEXP, SEXP ExistdNSEXP, SEXP ExistdXSEXP, SEXP gridTimeSEXP, SEXP dimColSEXP, SEXP NameColSEXP, SEXP JumpTimeNameSEXP) {
+RcppExport SEXP _yuima_evalKernelCpp(SEXP Integrand2SEXP, SEXP Integrand2exprSEXP, SEXP myenvd1SEXP, SEXP myenvd2SEXP, SEXP ExistdNSEXP, SEXP ExistdXSEXP, SEXP gridTimeSEXP, SEXP dimColSEXP, SEXP NameColSEXP, SEXP JumpTimeNameSEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -28,7 +33,7 @@
 }
 // evalKernelCpp2
 NumericVector evalKernelCpp2(StringMatrix Integrand2, ExpressionVector Integrand2expr, Environment myenvd1, Environment myenvd2, LogicalVector CondIntensity, StringVector NameCountingVar, StringVector Namecovariates, LogicalVector ExistdN, LogicalVector ExistdX, List gridTime, IntegerVector dimCol, StringVector NameCol, StringVector JumpTimeName);
-RcppExport SEXP yuima_evalKernelCpp2(SEXP Integrand2SEXP, SEXP Integrand2exprSEXP, SEXP myenvd1SEXP, SEXP myenvd2SEXP, SEXP CondIntensitySEXP, SEXP NameCountingVarSEXP, SEXP NamecovariatesSEXP, SEXP ExistdNSEXP, SEXP ExistdXSEXP, SEXP gridTimeSEXP, SEXP dimColSEXP, SEXP NameColSEXP, SEXP JumpTimeNameSEXP) {
+RcppExport SEXP _yuima_evalKernelCpp2(SEXP Integrand2SEXP, SEXP Integrand2exprSEXP, SEXP myenvd1SEXP, SEXP myenvd2SEXP, SEXP CondIntensitySEXP, SEXP NameCountingVarSEXP, SEXP NamecovariatesSEXP, SEXP ExistdNSEXP, SEXP ExistdXSEXP, SEXP gridTimeSEXP, SEXP dimColSEXP, SEXP NameColSEXP, SEXP JumpTimeNameSEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -49,9 +54,172 @@
     return rcpp_result_gen;
 END_RCPP
 }
+// sqnorm
+double sqnorm(NumericVector x);
+RcppExport SEXP _yuima_sqnorm(SEXP xSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< NumericVector >::type x(xSEXP);
+    rcpp_result_gen = Rcpp::wrap(sqnorm(x));
+    return rcpp_result_gen;
+END_RCPP
+}
+// makeprop
+NumericVector makeprop(NumericVector mu, NumericVector sample, NumericVector low, NumericVector up);
+RcppExport SEXP _yuima_makeprop(SEXP muSEXP, SEXP sampleSEXP, SEXP lowSEXP, SEXP upSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< NumericVector >::type mu(muSEXP);
+    Rcpp::traits::input_parameter< NumericVector >::type sample(sampleSEXP);
+    Rcpp::traits::input_parameter< NumericVector >::type low(lowSEXP);
+    Rcpp::traits::input_parameter< NumericVector >::type up(upSEXP);
+    rcpp_result_gen = Rcpp::wrap(makeprop(mu, sample, low, up));
+    return rcpp_result_gen;
+END_RCPP
+}
+// is_zero
+bool is_zero(std::string const& x);
+RcppExport SEXP _yuima_is_zero(SEXP xSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::string const& >::type x(xSEXP);
+    rcpp_result_gen = Rcpp::wrap(is_zero(x));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_split
+std::vector< std::vector<std::string> > cpp_split(std::vector<std::string> const& str, std::string const sep);
+RcppExport SEXP _yuima_cpp_split(SEXP strSEXP, SEXP sepSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::vector<std::string> const& >::type str(strSEXP);
+    Rcpp::traits::input_parameter< std::string const >::type sep(sepSEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_split(str, sep));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_paste
+std::vector<std::string> cpp_paste(std::vector<std::string> const& x, std::vector<std::string> const& y, std::string const sep);
+RcppExport SEXP _yuima_cpp_paste(SEXP xSEXP, SEXP ySEXP, SEXP sepSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::vector<std::string> const& >::type x(xSEXP);
+    Rcpp::traits::input_parameter< std::vector<std::string> const& >::type y(ySEXP);
+    Rcpp::traits::input_parameter< std::string const >::type sep(sepSEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_paste(x, y, sep));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_collapse
+std::string cpp_collapse(std::vector<std::string> const& str, std::string const sep);
+RcppExport SEXP _yuima_cpp_collapse(SEXP strSEXP, SEXP sepSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::vector<std::string> const& >::type str(strSEXP);
+    Rcpp::traits::input_parameter< std::string const >::type sep(sepSEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_collapse(str, sep));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_outer
+std::vector<std::string> cpp_outer(std::vector<std::string> const& x, std::vector<std::string> const& y);
+RcppExport SEXP _yuima_cpp_outer(SEXP xSEXP, SEXP ySEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::vector<std::string> const& >::type x(xSEXP);
+    Rcpp::traits::input_parameter< std::vector<std::string> const& >::type y(ySEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_outer(x, y));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_ito_outer
+std::vector<std::string> cpp_ito_outer(std::vector<std::string> const& x, std::vector<std::string> const& y);
+RcppExport SEXP _yuima_cpp_ito_outer(SEXP xSEXP, SEXP ySEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::vector<std::string> const& >::type x(xSEXP);
+    Rcpp::traits::input_parameter< std::vector<std::string> const& >::type y(ySEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_ito_outer(x, y));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_to_str
+std::string cpp_to_str(int const& i);
+RcppExport SEXP _yuima_cpp_to_str(SEXP iSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< int const& >::type i(iSEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_to_str(i));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_label
+std::string cpp_label(std::vector<int> I);
+RcppExport SEXP _yuima_cpp_label(SEXP ISEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::vector<int> >::type I(ISEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_label(I));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_ito_product
+std::vector<std::string> cpp_ito_product(std::vector<int> const& idx, List const& dZ, List const& Z_K, std::vector<int> const& K, int d, int a, int p, int q);
+RcppExport SEXP _yuima_cpp_ito_product(SEXP idxSEXP, SEXP dZSEXP, SEXP Z_KSEXP, SEXP KSEXP, SEXP dSEXP, SEXP aSEXP, SEXP pSEXP, SEXP qSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::vector<int> const& >::type idx(idxSEXP);
+    Rcpp::traits::input_parameter< List const& >::type dZ(dZSEXP);
+    Rcpp::traits::input_parameter< List const& >::type Z_K(Z_KSEXP);
+    Rcpp::traits::input_parameter< std::vector<int> const& >::type K(KSEXP);
+    Rcpp::traits::input_parameter< int >::type d(dSEXP);
+    Rcpp::traits::input_parameter< int >::type a(aSEXP);
+    Rcpp::traits::input_parameter< int >::type p(pSEXP);
+    Rcpp::traits::input_parameter< int >::type q(qSEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_ito_product(idx, dZ, Z_K, K, d, a, p, q));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_E
+std::vector<std::string> cpp_E(std::vector<std::string> str);
+RcppExport SEXP _yuima_cpp_E(SEXP strSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< std::vector<std::string> >::type str(strSEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_E(str));
+    return rcpp_result_gen;
+END_RCPP
+}
+// cpp_ito
+List cpp_ito(List const& K_set, List const& dZ, List const& Z_K, int d, int r);
+RcppExport SEXP _yuima_cpp_ito(SEXP K_setSEXP, SEXP dZSEXP, SEXP Z_KSEXP, SEXP dSEXP, SEXP rSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< List const& >::type K_set(K_setSEXP);
+    Rcpp::traits::input_parameter< List const& >::type dZ(dZSEXP);
+    Rcpp::traits::input_parameter< List const& >::type Z_K(Z_KSEXP);
+    Rcpp::traits::input_parameter< int >::type d(dSEXP);
+    Rcpp::traits::input_parameter< int >::type r(rSEXP);
+    rcpp_result_gen = Rcpp::wrap(cpp_ito(K_set, dZ, Z_K, d, r));
+    return rcpp_result_gen;
+END_RCPP
+}
 // W1
 double W1(NumericMatrix crossdx, NumericMatrix b, NumericMatrix A, double h);
-RcppExport SEXP yuima_W1(SEXP crossdxSEXP, SEXP bSEXP, SEXP ASEXP, SEXP hSEXP) {
+RcppExport SEXP _yuima_W1(SEXP crossdxSEXP, SEXP bSEXP, SEXP ASEXP, SEXP hSEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -65,7 +233,7 @@
 }
 // W2
 double W2(NumericMatrix dx, NumericMatrix b, double h);
-RcppExport SEXP yuima_W2(SEXP dxSEXP, SEXP bSEXP, SEXP hSEXP) {
+RcppExport SEXP _yuima_W2(SEXP dxSEXP, SEXP bSEXP, SEXP hSEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -76,34 +244,9 @@
     return rcpp_result_gen;
 END_RCPP
 }
-// sqnorm
-double sqnorm(NumericVector x);
-RcppExport SEXP yuima_sqnorm(SEXP xSEXP) {
-BEGIN_RCPP
-    Rcpp::RObject rcpp_result_gen;
-    Rcpp::RNGScope rcpp_rngScope_gen;
-    Rcpp::traits::input_parameter< NumericVector >::type x(xSEXP);
-    rcpp_result_gen = Rcpp::wrap(sqnorm(x));
-    return rcpp_result_gen;
-END_RCPP
-}
-// makeprop
-NumericVector makeprop(NumericVector mu, NumericVector sample, NumericVector low, NumericVector up);
-RcppExport SEXP yuima_makeprop(SEXP muSEXP, SEXP sampleSEXP, SEXP lowSEXP, SEXP upSEXP) {
-BEGIN_RCPP
-    Rcpp::RObject rcpp_result_gen;
-    Rcpp::RNGScope rcpp_rngScope_gen;
-    Rcpp::traits::input_parameter< NumericVector >::type mu(muSEXP);
-    Rcpp::traits::input_parameter< NumericVector >::type sample(sampleSEXP);
-    Rcpp::traits::input_parameter< NumericVector >::type low(lowSEXP);
-    Rcpp::traits::input_parameter< NumericVector >::type up(upSEXP);
-    rcpp_result_gen = Rcpp::wrap(makeprop(mu, sample, low, up));
-    return rcpp_result_gen;
-END_RCPP
-}
 // Irregular_PseudoLoglik_COG
 double Irregular_PseudoLoglik_COG(int lengthObs, arma::mat B, arma::mat Btilde, arma::mat InvBtilde, double a0, double bq, double a1, double V, double PseudologLik, arma::rowvec ta, arma::colvec state, arma::colvec stateMean, arma::colvec e, arma::vec DeltaG2, arma::vec Deltat);
-RcppExport SEXP yuima_Irregular_PseudoLoglik_COG(SEXP lengthObsSEXP, SEXP BSEXP, SEXP BtildeSEXP, SEXP InvBtildeSEXP, SEXP a0SEXP, SEXP bqSEXP, SEXP a1SEXP, SEXP VSEXP, SEXP PseudologLikSEXP, SEXP taSEXP, SEXP stateSEXP, SEXP stateMeanSEXP, SEXP eSEXP, SEXP DeltaG2SEXP, SEXP DeltatSEXP) {
+RcppExport SEXP _yuima_Irregular_PseudoLoglik_COG(SEXP lengthObsSEXP, SEXP BSEXP, SEXP BtildeSEXP, SEXP InvBtildeSEXP, SEXP a0SEXP, SEXP bqSEXP, SEXP a1SEXP, SEXP VSEXP, SEXP PseudologLikSEXP, SEXP taSEXP, SEXP stateSEXP, SEXP stateMeanSEXP, SEXP eSEXP, SEXP DeltaG2SEXP, SEXP DeltatSEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -128,7 +271,7 @@
 }
 // detcpp
 double detcpp(NumericMatrix A);
-RcppExport SEXP yuima_detcpp(SEXP ASEXP) {
+RcppExport SEXP _yuima_detcpp(SEXP ASEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -139,7 +282,7 @@
 }
 // Smake
 NumericMatrix Smake(NumericVector b, int d);
-RcppExport SEXP yuima_Smake(SEXP bSEXP, SEXP dSEXP) {
+RcppExport SEXP _yuima_Smake(SEXP bSEXP, SEXP dSEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -151,7 +294,7 @@
 }
 // solvecpp
 NumericMatrix solvecpp(NumericMatrix A);
-RcppExport SEXP yuima_solvecpp(SEXP ASEXP) {
+RcppExport SEXP _yuima_solvecpp(SEXP ASEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -162,7 +305,7 @@
 }
 // sub_f
 double sub_f(NumericMatrix S, NumericVector b);
-RcppExport SEXP yuima_sub_f(SEXP SSEXP, SEXP bSEXP) {
+RcppExport SEXP _yuima_sub_f(SEXP SSEXP, SEXP bSEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -174,7 +317,7 @@
 }
 // likndim
 double likndim(NumericMatrix dx, NumericMatrix b, NumericMatrix A, double h);
-RcppExport SEXP yuima_likndim(SEXP dxSEXP, SEXP bSEXP, SEXP ASEXP, SEXP hSEXP) {
+RcppExport SEXP _yuima_likndim(SEXP dxSEXP, SEXP bSEXP, SEXP ASEXP, SEXP hSEXP) {
 BEGIN_RCPP
     Rcpp::RObject rcpp_result_gen;
     Rcpp::RNGScope rcpp_rngScope_gen;
@@ -186,3 +329,18 @@
     return rcpp_result_gen;
 END_RCPP
 }
+// residualCpp
+NumericVector residualCpp(NumericVector dx, NumericVector a, NumericVector b, double w, double h);
+RcppExport SEXP _yuima_residualCpp(SEXP dxSEXP, SEXP aSEXP, SEXP bSEXP, SEXP wSEXP, SEXP hSEXP) {
+BEGIN_RCPP
+    Rcpp::RObject rcpp_result_gen;
+    Rcpp::RNGScope rcpp_rngScope_gen;
+    Rcpp::traits::input_parameter< NumericVector >::type dx(dxSEXP);
+    Rcpp::traits::input_parameter< NumericVector >::type a(aSEXP);
+    Rcpp::traits::input_parameter< NumericVector >::type b(bSEXP);
+    Rcpp::traits::input_parameter< double >::type w(wSEXP);
+    Rcpp::traits::input_parameter< double >::type h(hSEXP);
+    rcpp_result_gen = Rcpp::wrap(residualCpp(dx, a, b, w, h));
+    return rcpp_result_gen;
+END_RCPP
+}



More information about the Yuima-commits mailing list