@@ -232,6 +232,107 @@ BEGIN_RCPP
232
232
return rcpp_result_gen;
233
233
END_RCPP
234
234
}
235
+ // c_rmatrix
236
+ Rcpp::NumericMatrix c_rmatrix (uint32_t nrow, uint32_t ncol, uint32_t rng);
237
+ RcppExport SEXP _RcppML_c_rmatrix (SEXP nrowSEXP, SEXP ncolSEXP, SEXP rngSEXP) {
238
+ BEGIN_RCPP
239
+ Rcpp::RObject rcpp_result_gen;
240
+ Rcpp::RNGScope rcpp_rngScope_gen;
241
+ Rcpp::traits::input_parameter< uint32_t >::type nrow (nrowSEXP);
242
+ Rcpp::traits::input_parameter< uint32_t >::type ncol (ncolSEXP);
243
+ Rcpp::traits::input_parameter< uint32_t >::type rng (rngSEXP);
244
+ rcpp_result_gen = Rcpp::wrap (c_rmatrix (nrow, ncol, rng));
245
+ return rcpp_result_gen;
246
+ END_RCPP
247
+ }
248
+ // c_rtimatrix
249
+ Rcpp::NumericMatrix c_rtimatrix (uint32_t nrow, uint32_t ncol, uint32_t rng);
250
+ RcppExport SEXP _RcppML_c_rtimatrix (SEXP nrowSEXP, SEXP ncolSEXP, SEXP rngSEXP) {
251
+ BEGIN_RCPP
252
+ Rcpp::RObject rcpp_result_gen;
253
+ Rcpp::RNGScope rcpp_rngScope_gen;
254
+ Rcpp::traits::input_parameter< uint32_t >::type nrow (nrowSEXP);
255
+ Rcpp::traits::input_parameter< uint32_t >::type ncol (ncolSEXP);
256
+ Rcpp::traits::input_parameter< uint32_t >::type rng (rngSEXP);
257
+ rcpp_result_gen = Rcpp::wrap (c_rtimatrix (nrow, ncol, rng));
258
+ return rcpp_result_gen;
259
+ END_RCPP
260
+ }
261
+ // c_runif
262
+ Rcpp::NumericVector c_runif (const uint32_t n, const float min, const float max, const uint32_t rng, const uint32_t rng2);
263
+ RcppExport SEXP _RcppML_c_runif (SEXP nSEXP, SEXP minSEXP, SEXP maxSEXP, SEXP rngSEXP, SEXP rng2SEXP) {
264
+ BEGIN_RCPP
265
+ Rcpp::RObject rcpp_result_gen;
266
+ Rcpp::RNGScope rcpp_rngScope_gen;
267
+ Rcpp::traits::input_parameter< const uint32_t >::type n (nSEXP);
268
+ Rcpp::traits::input_parameter< const float >::type min (minSEXP);
269
+ Rcpp::traits::input_parameter< const float >::type max (maxSEXP);
270
+ Rcpp::traits::input_parameter< const uint32_t >::type rng (rngSEXP);
271
+ Rcpp::traits::input_parameter< const uint32_t >::type rng2 (rng2SEXP);
272
+ rcpp_result_gen = Rcpp::wrap (c_runif (n, min, max, rng, rng2));
273
+ return rcpp_result_gen;
274
+ END_RCPP
275
+ }
276
+ // c_rbinom
277
+ Rcpp::IntegerVector c_rbinom (const uint32_t n, uint32_t size, const uint32_t inv_probability, const uint32_t rng, const uint32_t rng2);
278
+ RcppExport SEXP _RcppML_c_rbinom (SEXP nSEXP, SEXP sizeSEXP, SEXP inv_probabilitySEXP, SEXP rngSEXP, SEXP rng2SEXP) {
279
+ BEGIN_RCPP
280
+ Rcpp::RObject rcpp_result_gen;
281
+ Rcpp::RNGScope rcpp_rngScope_gen;
282
+ Rcpp::traits::input_parameter< const uint32_t >::type n (nSEXP);
283
+ Rcpp::traits::input_parameter< uint32_t >::type size (sizeSEXP);
284
+ Rcpp::traits::input_parameter< const uint32_t >::type inv_probability (inv_probabilitySEXP);
285
+ Rcpp::traits::input_parameter< const uint32_t >::type rng (rngSEXP);
286
+ Rcpp::traits::input_parameter< const uint32_t >::type rng2 (rng2SEXP);
287
+ rcpp_result_gen = Rcpp::wrap (c_rbinom (n, size, inv_probability, rng, rng2));
288
+ return rcpp_result_gen;
289
+ END_RCPP
290
+ }
291
+ // c_sample
292
+ std::vector<uint32_t > c_sample (const uint32_t n, const uint32_t size, const bool replace, const uint32_t rng, const uint32_t rng2);
293
+ RcppExport SEXP _RcppML_c_sample (SEXP nSEXP, SEXP sizeSEXP, SEXP replaceSEXP, SEXP rngSEXP, SEXP rng2SEXP) {
294
+ BEGIN_RCPP
295
+ Rcpp::RObject rcpp_result_gen;
296
+ Rcpp::RNGScope rcpp_rngScope_gen;
297
+ Rcpp::traits::input_parameter< const uint32_t >::type n (nSEXP);
298
+ Rcpp::traits::input_parameter< const uint32_t >::type size (sizeSEXP);
299
+ Rcpp::traits::input_parameter< const bool >::type replace (replaceSEXP);
300
+ Rcpp::traits::input_parameter< const uint32_t >::type rng (rngSEXP);
301
+ Rcpp::traits::input_parameter< const uint32_t >::type rng2 (rng2SEXP);
302
+ rcpp_result_gen = Rcpp::wrap (c_sample (n, size, replace, rng, rng2));
303
+ return rcpp_result_gen;
304
+ END_RCPP
305
+ }
306
+ // c_rtisparsematrix
307
+ Rcpp::S4 c_rtisparsematrix (const uint32_t nrow, const uint32_t ncol, const uint32_t inv_probability, const bool pattern_only, uint32_t rng);
308
+ RcppExport SEXP _RcppML_c_rtisparsematrix (SEXP nrowSEXP, SEXP ncolSEXP, SEXP inv_probabilitySEXP, SEXP pattern_onlySEXP, SEXP rngSEXP) {
309
+ BEGIN_RCPP
310
+ Rcpp::RObject rcpp_result_gen;
311
+ Rcpp::RNGScope rcpp_rngScope_gen;
312
+ Rcpp::traits::input_parameter< const uint32_t >::type nrow (nrowSEXP);
313
+ Rcpp::traits::input_parameter< const uint32_t >::type ncol (ncolSEXP);
314
+ Rcpp::traits::input_parameter< const uint32_t >::type inv_probability (inv_probabilitySEXP);
315
+ Rcpp::traits::input_parameter< const bool >::type pattern_only (pattern_onlySEXP);
316
+ Rcpp::traits::input_parameter< uint32_t >::type rng (rngSEXP);
317
+ rcpp_result_gen = Rcpp::wrap (c_rtisparsematrix (nrow, ncol, inv_probability, pattern_only, rng));
318
+ return rcpp_result_gen;
319
+ END_RCPP
320
+ }
321
+ // c_rsparsematrix
322
+ Rcpp::S4 c_rsparsematrix (const uint32_t nrow, const uint32_t ncol, const uint32_t inv_probability, const bool pattern_only, uint32_t rng);
323
+ RcppExport SEXP _RcppML_c_rsparsematrix (SEXP nrowSEXP, SEXP ncolSEXP, SEXP inv_probabilitySEXP, SEXP pattern_onlySEXP, SEXP rngSEXP) {
324
+ BEGIN_RCPP
325
+ Rcpp::RObject rcpp_result_gen;
326
+ Rcpp::RNGScope rcpp_rngScope_gen;
327
+ Rcpp::traits::input_parameter< const uint32_t >::type nrow (nrowSEXP);
328
+ Rcpp::traits::input_parameter< const uint32_t >::type ncol (ncolSEXP);
329
+ Rcpp::traits::input_parameter< const uint32_t >::type inv_probability (inv_probabilitySEXP);
330
+ Rcpp::traits::input_parameter< const bool >::type pattern_only (pattern_onlySEXP);
331
+ Rcpp::traits::input_parameter< uint32_t >::type rng (rngSEXP);
332
+ rcpp_result_gen = Rcpp::wrap (c_rsparsematrix (nrow, ncol, inv_probability, pattern_only, rng));
333
+ return rcpp_result_gen;
334
+ END_RCPP
335
+ }
235
336
// Rcpp_bipartite_match
236
337
Rcpp::List Rcpp_bipartite_match (Rcpp::NumericMatrix x);
237
338
RcppExport SEXP _RcppML_Rcpp_bipartite_match (SEXP xSEXP) {
@@ -257,6 +358,13 @@ static const R_CallMethodDef CallEntries[] = {
257
358
{" _RcppML_Rcpp_bipartition_dense" , (DL_FUNC) &_RcppML_Rcpp_bipartition_dense, 9 },
258
359
{" _RcppML_Rcpp_dclust_sparse" , (DL_FUNC) &_RcppML_Rcpp_dclust_sparse, 9 },
259
360
{" _RcppML_nnls" , (DL_FUNC) &_RcppML_nnls, 8 },
361
+ {" _RcppML_c_rmatrix" , (DL_FUNC) &_RcppML_c_rmatrix, 3 },
362
+ {" _RcppML_c_rtimatrix" , (DL_FUNC) &_RcppML_c_rtimatrix, 3 },
363
+ {" _RcppML_c_runif" , (DL_FUNC) &_RcppML_c_runif, 5 },
364
+ {" _RcppML_c_rbinom" , (DL_FUNC) &_RcppML_c_rbinom, 5 },
365
+ {" _RcppML_c_sample" , (DL_FUNC) &_RcppML_c_sample, 5 },
366
+ {" _RcppML_c_rtisparsematrix" , (DL_FUNC) &_RcppML_c_rtisparsematrix, 5 },
367
+ {" _RcppML_c_rsparsematrix" , (DL_FUNC) &_RcppML_c_rsparsematrix, 5 },
260
368
{" _RcppML_Rcpp_bipartite_match" , (DL_FUNC) &_RcppML_Rcpp_bipartite_match, 1 },
261
369
{NULL , NULL , 0 }
262
370
};
0 commit comments