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

Method cols

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

Source from the content-addressed store, hash-verified

98 return nrows ;
99 }
100 inline int cols() const {
101 return VECTOR::dims()[1];
102 }
103 inline int rows() const {
104 return nrows ;
105 }

Callers 5

DataFrame_ncolFunction · 0.45
matrix_scalar_plus3Function · 0.45
matrix_scalar_plus4Function · 0.45
matrix_scalar_divide3Function · 0.45
matrix_scalar_divide4Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected