Namespaces | Functions

/data/development/ViennaCL/dev/viennacl/linalg/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"

Go to the source code of this file.

Namespaces

namespace  viennacl
namespace  viennacl::linalg

Functions

template<typename VectorT1 , typename VectorT2 >
VectorT1::value_type inner_prod (VectorT1 const &v1, VectorT2 const &v2, typename viennacl::enable_if< viennacl::is_stl< typename viennacl::traits::tag_of< VectorT1 >::type >::value >::type *dummy=0)
template<typename ScalarType , unsigned int alignment1, unsigned int alignment2>
viennacl::scalar_expression
< const viennacl::vector
< ScalarType, alignment1 >
, const viennacl::vector
< ScalarType, alignment2 >
, viennacl::op_inner_prod > 
inner_prod (viennacl::vector< ScalarType, alignment1 > const &vector1, viennacl::vector< ScalarType, alignment2 > const &vector2, typename viennacl::enable_if< viennacl::is_viennacl< typename viennacl::traits::tag_of< viennacl::vector< ScalarType, alignment1 > >::type >::value >::type *dummy=0)

Detailed Description

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