MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / setdiff

Function setdiff

inst/include/Rcpp/sugar/functions/setdiff.h:162–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
162inline 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
166template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
167inline bool setequal( const VectorBase<RTYPE,LHS_NA,LHS_T>& lhs, const VectorBase<RTYPE,RHS_NA,RHS_T>& rhs ){

Callers 1

runit_setdiffFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected