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

Function get_column

inst/include/Rcpp/sugar/matrix/tools.h:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 }
31
32 inline int get_column( int index, int nr ){
33 int i = get_line( index, nr );
34 return (index-i) / nr ;
35 }
36
37 inline int get_column( int index, int nr, int i ){
38 return (index-i) / nr ;

Callers 1

update_indexMethod · 0.85

Calls 1

get_lineFunction · 0.85

Tested by

no test coverage detected