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

Function list_iterator_

inst/tinytest/cpp/Vector.cpp:379–384  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

377
378// [[Rcpp::export]]
379List list_iterator_( List input, Function fun){
380 List output( input.size() ) ;
381 std::transform( input.begin(), input.end(), output.begin(), fun ) ;
382 output.names() = input.names() ;
383 return output ;
384}
385
386// [[Rcpp::export]]
387int list_name_indexing( List df ){

Callers

nothing calls this directly

Calls 4

namesMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected