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

Function logTest

inst/tinytest/cpp/algorithm.cpp:24–28  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

22
23// [[Rcpp::export]]
24Rcpp::NumericVector logTest(Rcpp::NumericVector v) {
25 Rcpp::NumericVector x = Rcpp::clone(v);
26 Rcpp::algorithm::log(v.begin(), v.end(), x.begin());
27 return x;
28}
29
30// [[Rcpp::export]]
31Rcpp::NumericVector expTest(Rcpp::NumericVector v) {

Callers

nothing calls this directly

Calls 4

cloneFunction · 0.85
logFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected