3#ifndef pRC_CORE_VALUE_FUNCTIONS_DELTA_H
4#define pRC_CORE_VALUE_FUNCTIONS_DELTA_H
13 template<
class TA,
class TB, If<IsValue<TA>> = 0, If<IsValue<TB>> = 0,
14 If<None<IsUn
signedInteger<TA>, IsUn
signedInteger<TB>>> = 0>
15 static inline constexpr auto delta(
TA const &a,
TB const &b)
20 template<
class TA,
class TB, If<IsValue<TA>> = 0, If<IsValue<TB>> = 0,
21 If<Any<IsUn
signedInteger<TA>, IsUn
signedInteger<TB>>> = 0>
22 static inline constexpr auto delta(
TA const &a,
TB const &b)
24 return a >= b ? (a - b) : (b - a);
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr auto delta(Complex< TA > const &a, Complex< TB > const &b)
Definition delta.hpp:12
static constexpr auto abs(Complex< T > const &a)
Definition abs.hpp:12