MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / sample_cx

Function sample_cx

inst/tinytest/cpp/sugar.cpp:1240–1243  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

1238
1239// [[Rcpp::export]]
1240ComplexVector sample_cx(ComplexVector x, int sz, bool rep = false, sugar::probs_t p = R_NilValue)
1241{
1242 return sample(x, sz, rep, p);
1243}
1244
1245// [[Rcpp::export]]
1246LogicalVector sample_lgl(LogicalVector x, int sz, bool rep = false, sugar::probs_t p = R_NilValue)

Callers

nothing calls this directly

Calls 1

sampleFunction · 0.85

Tested by

no test coverage detected