Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ runit_pow
Function
runit_pow
inst/tinytest/cpp/sugar.cpp:175–177 ·
view source on GitHub ↗
[[Rcpp::export]]
Source
from the content-addressed store, hash-verified
173
174
// [[Rcpp::export]]
175
List runit_pow( NumericVector xx, IntegerVector yy){
176
return List::create( pow(xx, 3), pow(yy, 2.3) ) ;
177
}
178
179
// [[Rcpp::export]]
180
List runit_ifelse( NumericVector xx, NumericVector yy){
Callers
nothing calls this directly
Calls
1
pow
Function · 0.85
Tested by
no test coverage detected