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

Method apply

inst/include/Rcpp/sugar/operators/not.h:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 public:
31 typedef typename traits::storage_type<RTYPE>::type STORAGE ;
32 inline int apply( STORAGE x ) const {
33 return Rcpp::traits::is_na<RTYPE>(x) ? NA_LOGICAL : (x ? FALSE : TRUE) ;
34 }
35 } ;
36 template <int RTYPE>
37 class not_<RTYPE,false> {

Callers 1

operator[]Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected