Generic interface for the l^infty-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_inf (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_inf > | norm_inf (viennacl::vector< ScalarType, alignment > const &v1, typename viennacl::enable_if< viennacl::is_viennacl< typename viennacl::traits::tag_of< viennacl::vector< ScalarType, alignment > >::type >::value >::type *dummy=0) |
Generic interface for the l^infty-norm. See viennacl/linalg/vector_operations.hpp for implementations.