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

Function matrix_scalar_divide4

inst/tinytest/cpp/Matrix.cpp:372–376  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

370
371// [[Rcpp::export]]
372NumericMatrix matrix_scalar_divide4(const NumericMatrix & x, double y) {
373 NumericMatrix z(x.rows(), x.cols());
374 z = y / x;
375 return x;
376}
377
378// 24 October 2016
379// eye, ones, and zeros static member functions

Callers

nothing calls this directly

Calls 2

rowsMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected