Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ runit_sapply_square
Function
runit_sapply_square
inst/tinytest/cpp/sugar.cpp:384–386 ·
view source on GitHub ↗
[[Rcpp::export]]
Source
from the content-addressed store, hash-verified
382
383
// [[Rcpp::export]]
384
LogicalVector runit_sapply_square( NumericVector xx){
385
return all( sapply( xx * xx , square<double>() ) < 10.0 );
386
}
387
388
// [[Rcpp::export]]
389
List runit_sapply_list( IntegerVector xx){
Callers
nothing calls this directly
Calls
2
all
Function · 0.85
sapply
Function · 0.50
Tested by
no test coverage detected