Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ size
Method
size
inst/include/Rcpp/Dimension.h:56–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
operator SEXP() const ;
55
56
inline int size() const {
57
return (int) dims.size() ;
58
}
59
inline R_xlen_t prod() const {
60
return std::accumulate( dims.begin(), dims.end(), static_cast<R_xlen_t>(1), std::multiplies<R_xlen_t>() );
61
}
Callers
1
operator[]
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected