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

Method Pow

inst/include/Rcpp/sugar/functions/pow.h:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 typedef typename Rcpp::traits::storage_type<RTYPE>::type STORAGE ;
32
33 Pow( const T& object_, EXPONENT_TYPE exponent ) : object(object_), op(exponent) {}
34
35 inline double operator[]( R_xlen_t i ) const {
36 return ::pow( object[i], op );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected