31 #ifndef REMORA_KERNELS_SUM_ROWS_HPP 32 #define REMORA_KERNELS_SUM_ROWS_HPP 39 namespace remora {
namespace bindings{
40 template<
class M,
class V,
class Device,
class Tag1,
class Tag2>
42 matrix_expression<M, Device>
const & A,
43 vector_expression<V, Device>& b,
44 typename V::value_type alpha,
48 sum_rows(A,b,alpha,row_major(), Tag1(), Tag2());
56 template <
class M,
class V,
class Device>
58 matrix_expression<M, Device>
const & A,
59 vector_expression<V, Device>& b,
60 typename V::value_type alpha
62 REMORA_SIZE_CHECK(A().size2() == b().size());
64 bindings::sum_rows(A,b,alpha,
typename M::orientation(),
65 typename M::evaluation_category::tag(),
typename V::evaluation_category::tag());