-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRcppExports.cpp
More file actions
54 lines (48 loc) · 2.04 KB
/
RcppExports.cpp
File metadata and controls
54 lines (48 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
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
// NR
arma::vec NR(arma::mat& matr1, arma::vec& matr2);
RcppExport SEXP _springer_NR(SEXP matr1SEXP, SEXP matr2SEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< arma::mat& >::type matr1(matr1SEXP);
Rcpp::traits::input_parameter< arma::vec& >::type matr2(matr2SEXP);
rcpp_result_gen = Rcpp::wrap(NR(matr1, matr2));
return rcpp_result_gen;
END_RCPP
}
// ScoreU
Rcpp::List ScoreU(int n, arma::vec& k, arma::vec& y, arma::mat& x, int p, arma::vec& beta, char func, char corr);
RcppExport SEXP _springer_ScoreU(SEXP nSEXP, SEXP kSEXP, SEXP ySEXP, SEXP xSEXP, SEXP pSEXP, SEXP betaSEXP, SEXP funcSEXP, SEXP corrSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< int >::type n(nSEXP);
Rcpp::traits::input_parameter< arma::vec& >::type k(kSEXP);
Rcpp::traits::input_parameter< arma::vec& >::type y(ySEXP);
Rcpp::traits::input_parameter< arma::mat& >::type x(xSEXP);
Rcpp::traits::input_parameter< int >::type p(pSEXP);
Rcpp::traits::input_parameter< arma::vec& >::type beta(betaSEXP);
Rcpp::traits::input_parameter< char >::type func(funcSEXP);
Rcpp::traits::input_parameter< char >::type corr(corrSEXP);
rcpp_result_gen = Rcpp::wrap(ScoreU(n, k, y, x, p, beta, func, corr));
return rcpp_result_gen;
END_RCPP
}
static const R_CallMethodDef CallEntries[] = {
{"_springer_NR", (DL_FUNC) &_springer_NR, 2},
{"_springer_ScoreU", (DL_FUNC) &_springer_ScoreU, 8},
{NULL, NULL, 0}
};
RcppExport void R_init_springer(DllInfo *dll) {
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);
}