Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ Rep_Single
Method
Rep_Single
inst/include/Rcpp/sugar/functions/rep.h:54–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
> {
53
public:
54
Rep_Single( const T& x_, R_xlen_t n_) : x(x_), n(n_){}
55
56
inline T operator[]( R_xlen_t ) const {
57
return x;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected