1 #ifndef VIENNACL_LINALG_REDUCE_HPP_
2 #define VIENNACL_LINALG_REDUCE_HPP_
41 template<
typename NumericT>
56 template<
typename LHS,
typename RHS,
typename OP>
73 template<
typename NumericT>
88 template<
typename LHS,
typename RHS,
typename OP>
105 template<
typename NumericT>
120 template<
typename LHS,
typename RHS,
typename OP>
A tag class representing the summation of all columns of a matrix.
Dispatch facility for distinguishing between ublas, STL and ViennaCL types.
viennacl::scalar_expression< const viennacl::vector_base< NumericT >, const viennacl::vector_base< NumericT >, viennacl::op_sum > sum(viennacl::vector_base< NumericT > const &x)
User interface function for computing the sum of all elements of a vector.
A tag class representing the summation of a vector.
A tag class representing the summation of all rows of a matrix.
viennacl::vector_expression< const viennacl::matrix_base< NumericT >, const viennacl::matrix_base< NumericT >, viennacl::op_row_sum > row_sum(viennacl::matrix_base< NumericT > const &A)
User interface function for computing the sum of all elements of each row of a matrix.
Expression template class for representing a tree of expressions which ultimately result in a matrix...
This file provides the forward declarations for the main types used within ViennaCL.
A proxy for scalar expressions (e.g. from inner vector products)
An expression template class that represents a binary operation that yields a vector.
viennacl::vector_expression< const viennacl::matrix_base< NumericT >, const viennacl::matrix_base< NumericT >, viennacl::op_col_sum > column_sum(viennacl::matrix_base< NumericT > const &A)
User interface function for computing the sum of all elements of each column of a matrix...
A collection of compile time type deductions.
Simple enable-if variant that uses the SFINAE pattern.