|
1 |
| -// This file was generated by Rcpp::compileAttributes |
| 1 | +// Generated by using Rcpp::compileAttributes() -> do not edit by hand |
2 | 2 | // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
|
3 | 3 |
|
4 | 4 | #include "../inst/include/RcppEigen.h"
|
5 | 5 | #include <Rcpp.h>
|
6 | 6 |
|
7 | 7 | using namespace Rcpp;
|
8 | 8 |
|
9 |
| -// fastLm_Impl |
10 |
| -Rcpp::List fastLm_Impl(Rcpp::NumericMatrix X, Rcpp::NumericVector y, int type); |
11 |
| -RcppExport SEXP RcppEigen_fastLm_Impl(SEXP XSEXP, SEXP ySEXP, SEXP typeSEXP) { |
12 |
| -BEGIN_RCPP |
13 |
| - Rcpp::RObject __result; |
14 |
| - Rcpp::RNGScope __rngScope; |
15 |
| - Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type X(XSEXP); |
16 |
| - Rcpp::traits::input_parameter< Rcpp::NumericVector >::type y(ySEXP); |
17 |
| - Rcpp::traits::input_parameter< int >::type type(typeSEXP); |
18 |
| - __result = Rcpp::wrap(fastLm_Impl(X, y, type)); |
19 |
| - return __result; |
20 |
| -END_RCPP |
21 |
| -} |
| 9 | +#ifdef RCPP_USE_GLOBAL_ROSTREAM |
| 10 | +Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get(); |
| 11 | +Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get(); |
| 12 | +#endif |
| 13 | + |
22 | 14 | // eigen_version
|
23 | 15 | Rcpp::IntegerVector eigen_version(bool single);
|
24 |
| -RcppExport SEXP RcppEigen_eigen_version(SEXP singleSEXP) { |
| 16 | +RcppExport SEXP _RcppEigen_eigen_version(SEXP singleSEXP) { |
25 | 17 | BEGIN_RCPP
|
26 |
| - Rcpp::RObject __result; |
27 |
| - Rcpp::RNGScope __rngScope; |
| 18 | + Rcpp::RObject rcpp_result_gen; |
| 19 | + Rcpp::RNGScope rcpp_rngScope_gen; |
28 | 20 | Rcpp::traits::input_parameter< bool >::type single(singleSEXP);
|
29 |
| - __result = Rcpp::wrap(eigen_version(single)); |
30 |
| - return __result; |
| 21 | + rcpp_result_gen = Rcpp::wrap(eigen_version(single)); |
| 22 | + return rcpp_result_gen; |
31 | 23 | END_RCPP
|
32 | 24 | }
|
33 | 25 | // Eigen_SSE
|
34 | 26 | bool Eigen_SSE();
|
35 |
| -RcppExport SEXP RcppEigen_Eigen_SSE() { |
| 27 | +RcppExport SEXP _RcppEigen_Eigen_SSE() { |
| 28 | +BEGIN_RCPP |
| 29 | + Rcpp::RObject rcpp_result_gen; |
| 30 | + Rcpp::RNGScope rcpp_rngScope_gen; |
| 31 | + rcpp_result_gen = Rcpp::wrap(Eigen_SSE()); |
| 32 | + return rcpp_result_gen; |
| 33 | +END_RCPP |
| 34 | +} |
| 35 | +// EigenNbThreads |
| 36 | +int EigenNbThreads(); |
| 37 | +RcppExport SEXP _RcppEigen_EigenNbThreads() { |
36 | 38 | BEGIN_RCPP
|
37 |
| - Rcpp::RObject __result; |
38 |
| - Rcpp::RNGScope __rngScope; |
39 |
| - __result = Rcpp::wrap(Eigen_SSE()); |
40 |
| - return __result; |
| 39 | + Rcpp::RObject rcpp_result_gen; |
| 40 | + Rcpp::RNGScope rcpp_rngScope_gen; |
| 41 | + rcpp_result_gen = Rcpp::wrap(EigenNbThreads()); |
| 42 | + return rcpp_result_gen; |
41 | 43 | END_RCPP
|
42 | 44 | }
|
| 45 | +// fastLm_Impl |
| 46 | +Rcpp::List fastLm_Impl(Rcpp::NumericMatrix X, Rcpp::NumericVector y, int type); |
| 47 | +RcppExport SEXP _RcppEigen_fastLm_Impl(SEXP XSEXP, SEXP ySEXP, SEXP typeSEXP) { |
| 48 | +BEGIN_RCPP |
| 49 | + Rcpp::RObject rcpp_result_gen; |
| 50 | + Rcpp::RNGScope rcpp_rngScope_gen; |
| 51 | + Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type X(XSEXP); |
| 52 | + Rcpp::traits::input_parameter< Rcpp::NumericVector >::type y(ySEXP); |
| 53 | + Rcpp::traits::input_parameter< int >::type type(typeSEXP); |
| 54 | + rcpp_result_gen = Rcpp::wrap(fastLm_Impl(X, y, type)); |
| 55 | + return rcpp_result_gen; |
| 56 | +END_RCPP |
| 57 | +} |
| 58 | + |
| 59 | +static const R_CallMethodDef CallEntries[] = { |
| 60 | + {"_RcppEigen_eigen_version", (DL_FUNC) &_RcppEigen_eigen_version, 1}, |
| 61 | + {"_RcppEigen_Eigen_SSE", (DL_FUNC) &_RcppEigen_Eigen_SSE, 0}, |
| 62 | + {"_RcppEigen_EigenNbThreads", (DL_FUNC) &_RcppEigen_EigenNbThreads, 0}, |
| 63 | + {"_RcppEigen_fastLm_Impl", (DL_FUNC) &_RcppEigen_fastLm_Impl, 3}, |
| 64 | + {NULL, NULL, 0} |
| 65 | +}; |
| 66 | + |
| 67 | +RcppExport void R_init_RcppEigen(DllInfo *dll) { |
| 68 | + R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); |
| 69 | + R_useDynamicSymbols(dll, FALSE); |
| 70 | +} |
0 commit comments