| 160 | |
| 161 | template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T> |
| 162 | inline Vector<RTYPE> setdiff( const VectorBase<RTYPE,LHS_NA,LHS_T>& lhs, const VectorBase<RTYPE,RHS_NA,RHS_T>& rhs ){ |
| 163 | return sugar::SetDiff<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T>( lhs.get_ref(), rhs.get_ref() ).get() ; |
| 164 | } |
| 165 | |
| 166 | template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T> |
| 167 | inline bool setequal( const VectorBase<RTYPE,LHS_NA,LHS_T>& lhs, const VectorBase<RTYPE,RHS_NA,RHS_T>& rhs ){ |