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

Function CharacterVectorEqualityOperator

inst/tinytest/cpp/Vector.cpp:676–684  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

674
675// [[Rcpp::export]]
676List CharacterVectorEqualityOperator( CharacterVector x, CharacterVector y){
677 int n = x.size() ;
678 LogicalVector eq(n), neq(n);
679 for( int i=0; i<n; i++){
680 eq[i] = x[i] == y[i] ;
681 neq[i] = x[i] != y[i] ;
682 }
683 return List::create(eq, neq) ;
684}
685
686// [[Rcpp::export]]
687List List_rep_ctor(IntegerVector x){

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected