VCCC  2024.05
VisualCamp Common C++ library
norm.hpp File Reference
#include <cmath>
#include "vccc/type_traits.hpp"
#include "vccc/__numeric/sum.hpp"

Go to the source code of this file.

Namespaces

 vccc
 

Functions

template<typename InputIterator , std::enable_if_t< is_iterable< InputIterator >::value, int > = 0>
auto norm (InputIterator first, InputIterator last)
 calculate norm on iterator [first, last) More...
 
template<typename T , std::enable_if_t< std::is_arithmetic< T >::value, int > = 0>
norm (T arg)
 
template<typename Arg , typename ... Args, std::enable_if_t< conjunction< std::is_arithmetic< Arg >, std::is_arithmetic< Args... >>::value, int > = 0>
auto norm (Arg arg, Args... args)
 calculate norm of variadics More...