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

Method Row

inst/include/Rcpp/sugar/matrix/row.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 Row( const LHS_TYPE& lhs) : nr( lhs.nrow() ), nc( lhs.ncol() ) {}
38
39 inline int operator()( int i, int j ) const {
40 return i + 1 ;

Callers

nothing calls this directly

Calls 2

nrowMethod · 0.45
ncolMethod · 0.45

Tested by

no test coverage detected