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

Function noprotect_matrix

inst/tinytest/cpp/Vector.cpp:817–819  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

815
816// [[Rcpp::export]]
817int noprotect_matrix( Matrix<REALSXP, NoProtectStorage> x){
818 return x.nrow() ;
819}
820
821// [[Rcpp::export]]
822int vec_access_with_bounds_checking(const IntegerVector x, int index) {

Callers

nothing calls this directly

Calls 1

nrowMethod · 0.45

Tested by

no test coverage detected