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

Method nrow

inst/include/Rcpp/vector/SubMatrix.h:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 inline R_xlen_t size() const { return ((R_xlen_t)ncol()) * nrow() ; }
42 inline R_xlen_t ncol() const { return nc ; }
43 inline R_xlen_t nrow() const { return nr ; }
44
45 inline Proxy operator()(int i, int j) const {
46 return iter[ i + j*m_nr ] ;

Callers 3

SubMatrixMethod · 0.45
MatrixMethod · 0.45
SubMatrix.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected