| 930 | |
| 931 | template <int RTYPE, bool NA, typename T> |
| 932 | inline typename sugar::detail::ColSumsReturn<RTYPE>::type |
| 933 | colSums(const MatrixBase<RTYPE, NA, T>& x, bool na_rm = false) { |
| 934 | if (!na_rm) { |
| 935 | return sugar::ColSumsImpl<RTYPE, NA, T, false>(x); |
| 936 | } |
| 937 | return sugar::ColSumsImpl<RTYPE, NA, T, true>(x); |
| 938 | } |
| 939 | |
| 940 | template <int RTYPE, bool NA, typename T> |
| 941 | inline typename sugar::detail::RowMeansReturn<RTYPE>::type |
no test coverage detected