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

Method size

inst/include/Rcpp/sugar/matrix/diag.h:62–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 return (i==j) ? object[i] : 0 ;
61 }
62 inline R_xlen_t size() const { return static_cast<R_xlen_t>(n) * n; }
63 inline int ncol() const { return n; }
64 inline int nrow() const { return n; }
65

Callers 1

Diag_MakerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected