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

Function bar

inst/tinytest/testRcppModule/src/rcpp_module.cpp:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include <Rcpp.h> // need to include the main Rcpp header file only
24
25int bar(int x) { // simple free function returning an int
26 return x*2;
27}
28
29double foo(int x, double y) { // simple free function returning a double
30 return x * y;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected