--- a +++ b/src/RcppExports.cpp @@ -0,0 +1,56 @@ +// Generated by using Rcpp::compileAttributes() -> do not edit by hand +// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 + +#include <RcppEigen.h> +#include <Rcpp.h> + +using namespace Rcpp; + +// eigenMapMatMult +SEXP eigenMapMatMult(const Eigen::Map<Eigen::MatrixXd> A, Eigen::Map<Eigen::MatrixXd> B); +RcppExport SEXP _scAI_eigenMapMatMult(SEXP ASEXP, SEXP BSEXP) { +BEGIN_RCPP + Rcpp::RObject rcpp_result_gen; + Rcpp::RNGScope rcpp_rngScope_gen; + Rcpp::traits::input_parameter< const Eigen::Map<Eigen::MatrixXd> >::type A(ASEXP); + Rcpp::traits::input_parameter< Eigen::Map<Eigen::MatrixXd> >::type B(BSEXP); + rcpp_result_gen = Rcpp::wrap(eigenMapMatMult(A, B)); + return rcpp_result_gen; +END_RCPP +} +// eigenMapMatcrossprod +SEXP eigenMapMatcrossprod(const Eigen::Map<Eigen::MatrixXd> A, Eigen::Map<Eigen::MatrixXd> B); +RcppExport SEXP _scAI_eigenMapMatcrossprod(SEXP ASEXP, SEXP BSEXP) { +BEGIN_RCPP + Rcpp::RObject rcpp_result_gen; + Rcpp::RNGScope rcpp_rngScope_gen; + Rcpp::traits::input_parameter< const Eigen::Map<Eigen::MatrixXd> >::type A(ASEXP); + Rcpp::traits::input_parameter< Eigen::Map<Eigen::MatrixXd> >::type B(BSEXP); + rcpp_result_gen = Rcpp::wrap(eigenMapMatcrossprod(A, B)); + return rcpp_result_gen; +END_RCPP +} +// eigenMapMattcrossprod +SEXP eigenMapMattcrossprod(const Eigen::Map<Eigen::MatrixXd> A, Eigen::Map<Eigen::MatrixXd> B); +RcppExport SEXP _scAI_eigenMapMattcrossprod(SEXP ASEXP, SEXP BSEXP) { +BEGIN_RCPP + Rcpp::RObject rcpp_result_gen; + Rcpp::RNGScope rcpp_rngScope_gen; + Rcpp::traits::input_parameter< const Eigen::Map<Eigen::MatrixXd> >::type A(ASEXP); + Rcpp::traits::input_parameter< Eigen::Map<Eigen::MatrixXd> >::type B(BSEXP); + rcpp_result_gen = Rcpp::wrap(eigenMapMattcrossprod(A, B)); + return rcpp_result_gen; +END_RCPP +} + +static const R_CallMethodDef CallEntries[] = { + {"_scAI_eigenMapMatMult", (DL_FUNC) &_scAI_eigenMapMatMult, 2}, + {"_scAI_eigenMapMatcrossprod", (DL_FUNC) &_scAI_eigenMapMatcrossprod, 2}, + {"_scAI_eigenMapMattcrossprod", (DL_FUNC) &_scAI_eigenMapMattcrossprod, 2}, + {NULL, NULL, 0} +}; + +RcppExport void R_init_scAI(DllInfo *dll) { + R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); + R_useDynamicSymbols(dll, FALSE); +}