| 26 | |
| 27 | template <int RTYPE, bool NA, typename T, bool RHS_NA, typename RHS_T> |
| 28 | inline IntegerVector match( const VectorBase<RTYPE,NA,T>& x, const VectorBase<RTYPE,RHS_NA,RHS_T>& table_ ){ |
| 29 | Vector<RTYPE> table = table_ ; |
| 30 | return sugar::IndexHash<RTYPE>( table ).fill().lookup( x.get_ref() ) ; |
| 31 | } |
| 32 | |
| 33 | } // Rcpp |
| 34 | #endif |