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

Function union_

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

Source from the content-addressed store, hash-verified

176// we cannot use "union" because it is a keyword
177template <int RTYPE, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
178inline Vector<RTYPE> union_( const VectorBase<RTYPE,LHS_NA,LHS_T>& lhs, const VectorBase<RTYPE,RHS_NA,RHS_T>& rhs ){
179 return sugar::Union<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T>( lhs.get_ref(), rhs.get_ref() ).get() ;
180}
181
182
183

Callers 1

runit_unionFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected