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

Method Col

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

Source from the content-addressed store, hash-verified

35 typedef Rcpp::MatrixBase<RTYPE,LHS_NA,LHS_T> LHS_TYPE ;
36
37 Col( const LHS_TYPE& lhs) : nr( lhs.ncol() ), nc( lhs.ncol() ) {}
38
39 inline int operator()( int i, int j ) const {
40 return j + 1 ;

Callers

nothing calls this directly

Calls 1

ncolMethod · 0.45

Tested by

no test coverage detected