Stub routines for the summation of elements in a vector, or all elements in either a row or column of a dense matrix. More...
#include "viennacl/forwards.h"
#include "viennacl/tools/tools.hpp"
#include "viennacl/meta/enable_if.hpp"
#include "viennacl/meta/tag_of.hpp"
#include "viennacl/meta/result_of.hpp"
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_sum > | viennacl::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_sum > | viennacl::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_sum > | viennacl::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_sum > | viennacl::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_sum > | viennacl::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_sum > | viennacl::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... | |
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.