3#ifndef pRC_CORE_VALUE_FUNCTIONS_DELTA_H
4#define pRC_CORE_VALUE_FUNCTIONS_DELTA_H
13 template<IsValue TA, IsValue TB>
14 static inline constexpr auto delta(TA
const &a, TB
const &b)
19 template<IsValue TA, IsValue TB>
20 requires IsUnsignedInteger<TA> || IsUnsignedInteger<TB>
21 static inline constexpr auto delta(TA
const &a, TB
const &b)
23 return a >= b ? (a - b) : (b - a);
Definition cholesky.hpp:10
static constexpr auto abs(T const &a)
Definition abs.hpp:11
static constexpr auto delta(TA const &a, TB const &b)
Definition delta.hpp:11