forked from dkaschek/dMod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRcppExports.cpp
More file actions
83 lines (77 loc) · 3.18 KB
/
RcppExports.cpp
File metadata and controls
83 lines (77 loc) · 3.18 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#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
// has_batch_gemm
bool has_batch_gemm();
RcppExport SEXP _dMod_has_batch_gemm() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
rcpp_result_gen = Rcpp::wrap(has_batch_gemm());
return rcpp_result_gen;
END_RCPP
}
// bmm_lb
NumericVector bmm_lb(NumericVector A, NumericVector B, int Bn, int M, int K, int N);
RcppExport SEXP _dMod_bmm_lb(SEXP ASEXP, SEXP BSEXP, SEXP BnSEXP, SEXP MSEXP, SEXP KSEXP, SEXP NSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< NumericVector >::type A(ASEXP);
Rcpp::traits::input_parameter< NumericVector >::type B(BSEXP);
Rcpp::traits::input_parameter< int >::type Bn(BnSEXP);
Rcpp::traits::input_parameter< int >::type M(MSEXP);
Rcpp::traits::input_parameter< int >::type K(KSEXP);
Rcpp::traits::input_parameter< int >::type N(NSEXP);
rcpp_result_gen = Rcpp::wrap(bmm_lb(A, B, Bn, M, K, N));
return rcpp_result_gen;
END_RCPP
}
// bmm_rb
NumericVector bmm_rb(NumericVector A, NumericVector B, int Bn, int M, int K, int N);
RcppExport SEXP _dMod_bmm_rb(SEXP ASEXP, SEXP BSEXP, SEXP BnSEXP, SEXP MSEXP, SEXP KSEXP, SEXP NSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< NumericVector >::type A(ASEXP);
Rcpp::traits::input_parameter< NumericVector >::type B(BSEXP);
Rcpp::traits::input_parameter< int >::type Bn(BnSEXP);
Rcpp::traits::input_parameter< int >::type M(MSEXP);
Rcpp::traits::input_parameter< int >::type K(KSEXP);
Rcpp::traits::input_parameter< int >::type N(NSEXP);
rcpp_result_gen = Rcpp::wrap(bmm_rb(A, B, Bn, M, K, N));
return rcpp_result_gen;
END_RCPP
}
// bmm_bb
NumericVector bmm_bb(NumericVector A, NumericVector B, int Bn, int M, int K, int N);
RcppExport SEXP _dMod_bmm_bb(SEXP ASEXP, SEXP BSEXP, SEXP BnSEXP, SEXP MSEXP, SEXP KSEXP, SEXP NSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< NumericVector >::type A(ASEXP);
Rcpp::traits::input_parameter< NumericVector >::type B(BSEXP);
Rcpp::traits::input_parameter< int >::type Bn(BnSEXP);
Rcpp::traits::input_parameter< int >::type M(MSEXP);
Rcpp::traits::input_parameter< int >::type K(KSEXP);
Rcpp::traits::input_parameter< int >::type N(NSEXP);
rcpp_result_gen = Rcpp::wrap(bmm_bb(A, B, Bn, M, K, N));
return rcpp_result_gen;
END_RCPP
}
static const R_CallMethodDef CallEntries[] = {
{"_dMod_has_batch_gemm", (DL_FUNC) &_dMod_has_batch_gemm, 0},
{"_dMod_bmm_lb", (DL_FUNC) &_dMod_bmm_lb, 6},
{"_dMod_bmm_rb", (DL_FUNC) &_dMod_bmm_rb, 6},
{"_dMod_bmm_bb", (DL_FUNC) &_dMod_bmm_bb, 6},
{NULL, NULL, 0}
};
RcppExport void R_init_dMod(DllInfo *dll) {
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);
}