7 #ifndef _MGCPP_OPERATIONS_SUM_HPP_ 8 #define _MGCPP_OPERATIONS_SUM_HPP_ 19 template <
typename DeviceVec,
typename Type>
20 inline decltype(
auto)
sum(dense_vector<DeviceVec, Type> const& vec);
22 template <typename DenseMat, typename Type>
23 inline decltype(auto)
sum(dense_matrix<DenseMat, Type> const& mat);
27 #include <mgcpp/operations/sum.tpp> Definition: adapter_base.hpp:12
decltype(auto) sum(dense_vector< DeviceVec, Type > const &vec)