Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_ncol
Function · 0.45
matrix_scalar_plus3
Function · 0.45
matrix_scalar_plus4
Function · 0.45
matrix_scalar_divide3
Function · 0.45
matrix_scalar_divide4
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected