| 170 | |
| 171 | template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T> |
| 172 | inline Vector<RTYPE> intersect( const VectorBase<RTYPE,LHS_NA,LHS_T>& lhs, const VectorBase<RTYPE,RHS_NA,RHS_T>& rhs ){ |
| 173 | return sugar::Intersect<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T>( lhs.get_ref(), rhs.get_ref() ).get() ; |
| 174 | } |
| 175 | |
| 176 | // we cannot use "union" because it is a keyword |
| 177 | template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T> |