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

Function runit_diff_int

inst/tinytest/cpp/sugar.cpp:148–151  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

146
147// [[Rcpp::export]]
148IntegerVector runit_diff_int(IntegerVector xx) {
149 IntegerVector res = diff(xx);
150 return res;
151}
152
153// [[Rcpp::export]]
154NumericVector runit_diff_ifelse( LogicalVector pred, NumericVector xx, NumericVector yy){

Callers

nothing calls this directly

Calls 1

diffFunction · 0.85

Tested by

no test coverage detected