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

Function matrix_scalar_divide3

inst/tinytest/cpp/Matrix.cpp:365–369  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

363
364// [[Rcpp::export]]
365NumericMatrix matrix_scalar_divide3(const NumericMatrix & x, double y) {
366 NumericMatrix z(x.rows(), x.cols());
367 z = x / y;
368 return x;
369}
370
371// [[Rcpp::export]]
372NumericMatrix matrix_scalar_divide4(const NumericMatrix & x, double y) {

Callers

nothing calls this directly

Calls 2

rowsMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected