1 // Generated by using Rcpp::compileAttributes() -> do not edit by hand
2 // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
3
4 #include "../inst/include/RcppArmadillo.h"
5 #include <Rcpp.h>
6
7 using namespace Rcpp;
8
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
14 // armadillo_version
15 Rcpp::IntegerVector armadillo_version(bool single);
_RcppArmadillo_armadillo_version(SEXP singleSEXP)16 RcppExport SEXP _RcppArmadillo_armadillo_version(SEXP singleSEXP) {
17 BEGIN_RCPP
18 Rcpp::RObject rcpp_result_gen;
19 Rcpp::RNGScope rcpp_rngScope_gen;
20 Rcpp::traits::input_parameter< bool >::type single(singleSEXP);
21 rcpp_result_gen = Rcpp::wrap(armadillo_version(single));
22 return rcpp_result_gen;
23 END_RCPP
24 }
25 // armadillo_set_seed_random
26 void armadillo_set_seed_random();
_RcppArmadillo_armadillo_set_seed_random()27 RcppExport SEXP _RcppArmadillo_armadillo_set_seed_random() {
28 BEGIN_RCPP
29 Rcpp::RNGScope rcpp_rngScope_gen;
30 armadillo_set_seed_random();
31 return R_NilValue;
32 END_RCPP
33 }
34 // armadillo_set_seed
35 void armadillo_set_seed(unsigned int val);
_RcppArmadillo_armadillo_set_seed(SEXP valSEXP)36 RcppExport SEXP _RcppArmadillo_armadillo_set_seed(SEXP valSEXP) {
37 BEGIN_RCPP
38 Rcpp::RNGScope rcpp_rngScope_gen;
39 Rcpp::traits::input_parameter< unsigned int >::type val(valSEXP);
40 armadillo_set_seed(val);
41 return R_NilValue;
42 END_RCPP
43 }
44 // fastLm_impl
45 List fastLm_impl(const arma::mat& X, const arma::colvec& y);
_RcppArmadillo_fastLm_impl(SEXP XSEXP,SEXP ySEXP)46 RcppExport SEXP _RcppArmadillo_fastLm_impl(SEXP XSEXP, SEXP ySEXP) {
47 BEGIN_RCPP
48 Rcpp::RObject rcpp_result_gen;
49 Rcpp::RNGScope rcpp_rngScope_gen;
50 Rcpp::traits::input_parameter< const arma::mat& >::type X(XSEXP);
51 Rcpp::traits::input_parameter< const arma::colvec& >::type y(ySEXP);
52 rcpp_result_gen = Rcpp::wrap(fastLm_impl(X, y));
53 return rcpp_result_gen;
54 END_RCPP
55 }
56
57 static const R_CallMethodDef CallEntries[] = {
58 {"_RcppArmadillo_armadillo_version", (DL_FUNC) &_RcppArmadillo_armadillo_version, 1},
59 {"_RcppArmadillo_armadillo_set_seed_random", (DL_FUNC) &_RcppArmadillo_armadillo_set_seed_random, 0},
60 {"_RcppArmadillo_armadillo_set_seed", (DL_FUNC) &_RcppArmadillo_armadillo_set_seed, 1},
61 {"_RcppArmadillo_fastLm_impl", (DL_FUNC) &_RcppArmadillo_fastLm_impl, 2},
62 {NULL, NULL, 0}
63 };
64
R_init_RcppArmadillo(DllInfo * dll)65 RcppExport void R_init_RcppArmadillo(DllInfo *dll) {
66 R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
67 R_useDynamicSymbols(dll, FALSE);
68 }
69