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

Function runit_const_Matrix_column

inst/tinytest/cpp/Matrix.cpp:302–307  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

300
301// [[Rcpp::export]]
302NumericVector runit_const_Matrix_column( const NumericMatrix& m ){
303 NumericMatrix::Column col1( m, 0 ) ;
304 NumericMatrix::Column col2( m, 1 ) ;
305 runit_const_Matrix_column_set(col1, col2) ;
306 return col1 ;
307}
308
309// [[Rcpp::export]]
310int mat_access_with_bounds_checking(const IntegerMatrix m, int i, int j) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected