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

Function runit_diff_REALSXP_NA

inst/tinytest/cpp/sugar.cpp:626–629  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

624
625// [[Rcpp::export]]
626NumericVector runit_diff_REALSXP_NA( NumericVector x ){
627 NumericVector res= diff(x) ;
628 return res ;
629}
630
631// [[Rcpp::export]]
632List runit_trunc( NumericVector xx, IntegerVector yy){

Callers

nothing calls this directly

Calls 1

diffFunction · 0.85

Tested by

no test coverage detected