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

Method ncol

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

Source from the content-addressed store, hash-verified

43 inline R_xlen_t size() const { return static_cast<R_xlen_t>(nr) * nc ; }
44 inline int nrow() const { return nr; }
45 inline int ncol() const { return nc; }
46
47private:
48 int nr, nc ;

Callers 2

ColMethod · 0.45
as_vector__implFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected