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

Function expTest

inst/tinytest/cpp/algorithm.cpp:31–35  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

29
30// [[Rcpp::export]]
31Rcpp::NumericVector expTest(Rcpp::NumericVector v) {
32 Rcpp::NumericVector x = Rcpp::clone(v);
33 Rcpp::algorithm::exp(v.begin(), v.end(), x.begin());
34 return x;
35}
36
37// [[Rcpp::export]]
38Rcpp::NumericVector sqrtTest(Rcpp::NumericVector v) {

Callers

nothing calls this directly

Calls 4

cloneFunction · 0.85
expFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected