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

Method offset

inst/include/Rcpp/vector/Matrix.h:174–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173private:
174 inline R_xlen_t offset(const int i, const int j) const { return i + static_cast<R_xlen_t>(nrows) * j ; }
175
176 template <typename U>
177 void fill_diag__dispatch( traits::false_type, const U& u) {

Callers 6

setMethod · 0.45
getMethod · 0.45
setMethod · 0.45
getMethod · 0.45
setMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected