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

Function rowMeans

inst/include/Rcpp/sugar/functions/rowSums.h:941–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939
940template <int RTYPE, bool NA, typename T>
941inline typename sugar::detail::RowMeansReturn<RTYPE>::type
942rowMeans(const MatrixBase<RTYPE, NA, T>& x, bool na_rm = false) {
943 if (!na_rm) {
944 return sugar::RowMeansImpl<RTYPE, NA, T, false>(x);
945 }
946 return sugar::RowMeansImpl<RTYPE, NA, T, true>(x);
947}
948
949template <int RTYPE, bool NA, typename T>
950inline typename sugar::detail::ColMeansReturn<RTYPE>::type

Callers 4

dbl_row_meansFunction · 0.85
int_row_meansFunction · 0.85
lgl_row_meansFunction · 0.85
cx_row_meansFunction · 0.85

Tested by

no test coverage detected