ViennaCL - The Vienna Computing Library: viennacl/linalg/inner_prod.hpp File Reference

ViennaCL - The Vienna Computing Library 1.7.1 Free open-source GPU-accelerated linear algebra and solver library. |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
inner_prod.hpp File Reference

Generic interface for the computation of inner products. See viennacl/linalg/vector_operations.hpp for implementations. 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 VectorT1 , typename VectorT2 >
viennacl::enable_if < viennacl::is_stl< typename viennacl::traits::tag_of < VectorT1 >::type >::value, typename VectorT1::value_type > ::type | viennacl::linalg::inner_prod (VectorT1 const &v1, VectorT2 const &v2)
template<typename NumericT >
viennacl::scalar_expression < const vector_base< NumericT > , const vector_base< NumericT > , viennacl::op_inner_prod > | viennacl::linalg::inner_prod (vector_base< NumericT > const &vector1, vector_base< NumericT > const &vector2)
template<typename LHS , typename RHS , typename OP , typename NumericT >
viennacl::scalar_expression < const viennacl::vector_expression < LHS, RHS, OP >, const vector_base< NumericT > , viennacl::op_inner_prod > | viennacl::linalg::inner_prod (viennacl::vector_expression< LHS, RHS, OP > const &vector1, vector_base< NumericT > const &vector2)
template<typename NumericT , typename LHS , typename RHS , typename OP >
viennacl::scalar_expression < const vector_base< NumericT > , const viennacl::vector_expression < LHS, RHS, OP > , viennacl::op_inner_prod > | viennacl::linalg::inner_prod (vector_base< NumericT > const &vector1, viennacl::vector_expression< LHS, RHS, OP > const &vector2)
template<typename LHS1 , typename RHS1 , typename OP1 , typename LHS2 , typename RHS2 , typename OP2 >
viennacl::scalar_expression < const viennacl::vector_expression < LHS1, RHS1, OP1 >, const viennacl::vector_expression < LHS2, RHS2, OP2 > , viennacl::op_inner_prod > | viennacl::linalg::inner_prod (viennacl::vector_expression< LHS1, RHS1, OP1 > const &vector1, viennacl::vector_expression< LHS2, RHS2, OP2 > const &vector2)
template<typename NumericT >
viennacl::vector_expression < const vector_base< NumericT > , const vector_tuple< NumericT > , viennacl::op_inner_prod > | viennacl::linalg::inner_prod (vector_base< NumericT > const &x, vector_tuple< NumericT > const &y_tuple)

## Detailed Description

Generic interface for the computation of inner products. See viennacl/linalg/vector_operations.hpp for implementations.

Definition in file inner_prod.hpp.