| 67 | |
| 68 | template <int RTYPE, bool NA, typename T> |
| 69 | inline sugar::Rep<RTYPE,NA,T> rep( const VectorBase<RTYPE,NA,T>& t, R_xlen_t n ){ |
| 70 | return sugar::Rep<RTYPE,NA,T>( t, n ) ; |
| 71 | } |
| 72 | |
| 73 | inline sugar::Rep_Single<double> rep( const double& x, R_xlen_t n ){ |
| 74 | return sugar::Rep_Single<double>( x, n ) ; |