| 939 | |
| 940 | template <int RTYPE, bool NA, typename T> |
| 941 | inline typename sugar::detail::RowMeansReturn<RTYPE>::type |
| 942 | rowMeans(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 | |
| 949 | template <int RTYPE, bool NA, typename T> |
| 950 | inline typename sugar::detail::ColMeansReturn<RTYPE>::type |
no test coverage detected