ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
sum.hpp File Reference

Stub routines for the summation of elements in a vector, or all elements in either a row or column of a dense matrix. More...

Go to the source code of this file.

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 
 viennacl::linalg
 Provides all linear algebra operations which are not covered by operator overloads.
 

Functions

template<typename NumericT >
viennacl::scalar_expression< const viennacl::vector_base< NumericT >, const viennacl::vector_base< NumericT >, viennacl::op_sumviennacl::linalg::sum (viennacl::vector_base< NumericT > const &x)
 User interface function for computing the sum of all elements of a vector. More...
 
template<typename LHS , typename RHS , typename OP >
viennacl::scalar_expression< const viennacl::vector_expression< const LHS, const RHS, OP >, const viennacl::vector_expression< const LHS, const RHS, OP >, viennacl::op_sumviennacl::linalg::sum (viennacl::vector_expression< const LHS, const RHS, OP > const &x)
 User interface function for computing the sum of all elements of a vector specified by a vector operation. More...
 
template<typename NumericT >
viennacl::vector_expression< const viennacl::matrix_base< NumericT >, const viennacl::matrix_base< NumericT >, viennacl::op_row_sumviennacl::linalg::row_sum (viennacl::matrix_base< NumericT > const &A)
 User interface function for computing the sum of all elements of each row of a matrix. More...
 
template<typename LHS , typename RHS , typename OP >
viennacl::vector_expression< const viennacl::matrix_expression< const LHS, const RHS, OP >, const viennacl::matrix_expression< const LHS, const RHS, OP >, viennacl::op_row_sumviennacl::linalg::row_sum (viennacl::matrix_expression< const LHS, const RHS, OP > const &A)
 User interface function for computing the sum of all elements of each row of a matrix specified by a matrix operation. More...
 
template<typename NumericT >
viennacl::vector_expression< const viennacl::matrix_base< NumericT >, const viennacl::matrix_base< NumericT >, viennacl::op_col_sumviennacl::linalg::column_sum (viennacl::matrix_base< NumericT > const &A)
 User interface function for computing the sum of all elements of each column of a matrix. More...
 
template<typename LHS , typename RHS , typename OP >
viennacl::vector_expression< const viennacl::matrix_expression< const LHS, const RHS, OP >, const viennacl::matrix_expression< const LHS, const RHS, OP >, viennacl::op_col_sumviennacl::linalg::column_sum (viennacl::matrix_expression< const LHS, const RHS, OP > const &A)
 User interface function for computing the sum of all elements of each column of a matrix specified by a matrix operation. More...
 

Detailed Description

Stub routines for the summation of elements in a vector, or all elements in either a row or column of a dense matrix.

Definition in file sum.hpp.