3#ifndef pRC_CORE_VALUE_FUNCTIONS_NORM_H
4#define pRC_CORE_VALUE_FUNCTIONS_NORM_H
12 template<Index P = 2, Index Q = P,
class T, If<IsValue<T>> = 0>
13 static inline constexpr auto norm(
T const &a)
19 else if constexpr(
P == 2 &&
Q == 1)
23 else if constexpr(
Q == 0)
29 static_assert(
P !=
P,
"Unsupported p-norm.");
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr auto square(Complex< T > const &a)
Definition square.hpp:14
static constexpr auto abs(Complex< T > const &a)
Definition abs.hpp:12
static constexpr auto norm(Complex< T > const &a)
Definition norm.hpp:11