Namespaces | Functions

/data/development/ViennaCL/dev/viennacl/linalg/norm_1.hpp File Reference

Generic interface for the l^1-norm. See viennacl/linalg/vector_operations.hpp for implementations. More...

#include <math.h>
#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 VectorT >
VectorT::value_type norm_1 (VectorT const &v1, typename viennacl::enable_if< viennacl::is_stl< typename viennacl::traits::tag_of< VectorT >::type >::value >::type *dummy=0)
template<typename ScalarType , unsigned int alignment>
viennacl::scalar_expression
< const viennacl::vector
< ScalarType, alignment >
, const viennacl::vector
< ScalarType, alignment >
, viennacl::op_norm_1 > 
norm_1 (viennacl::vector< ScalarType, alignment > const &vector, typename viennacl::enable_if< viennacl::is_viennacl< typename viennacl::traits::tag_of< viennacl::vector< ScalarType, alignment > >::type >::value >::type *dummy=0)

Detailed Description

Generic interface for the l^1-norm. See viennacl/linalg/vector_operations.hpp for implementations.