1 #ifndef VIENNACL_LINALG_REDUCE_HPP_
2 #define VIENNACL_LINALG_REDUCE_HPP_
37 template<
typename OP,
typename NumericT>
42 const vector_base<NumericT>,
46 template<
typename ROP,
typename LHS,
typename RHS,
typename OP>
53 const viennacl::vector_expression<LHS, RHS, OP>,
58 template<
typename ROP,
typename NumericT>
66 template<
typename ROP,
typename NumericT>
Dispatch facility for distinguishing between ublas, STL and ViennaCL types.
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 matrix_base< NumericT >, const matrix_base< NumericT >, viennacl::op_reduce_columns< ROP > > reduce_columns(matrix_base< NumericT > const &mat)
viennacl::vector_expression< const matrix_base< NumericT >, const matrix_base< NumericT >, viennacl::op_reduce_rows< ROP > > reduce_rows(matrix_base< NumericT > const &mat)
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
viennacl::scalar_expression< const vector_base< NumericT >, const vector_base< NumericT >, viennacl::op_reduce_vector< OP > > reduce(vector_base< NumericT > const &vector)
A collection of compile time type deductions.
Simple enable-if variant that uses the SFINAE pattern.