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

Function setequal

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

Source from the content-addressed store, hash-verified

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 ){
168 return sugar::SetEqual<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T>( lhs.get_ref(), rhs.get_ref() ).get() ;
169}
170
171template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
172inline Vector<RTYPE> intersect( const VectorBase<RTYPE,LHS_NA,LHS_T>& lhs, const VectorBase<RTYPE,RHS_NA,RHS_T>& rhs ){

Callers 2

runit_setequal_integerFunction · 0.85
runit_setequal_characterFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected