3#ifndef pRC_CORE_VALUE_FUNCTIONS_DELTA_H
4#define pRC_CORE_VALUE_FUNCTIONS_DELTA_H
24 template<
class TA,
class TB, If<IsValue<TA>> = 0, If<IsValue<TB>> = 0,
25 If<None<IsUn
signedInteger<TA>, IsUn
signedInteger<TB>>> = 0>
26 static inline constexpr auto delta(
TA const &a,
TB const &b)
43 template<
class TA,
class TB, If<IsValue<TA>> = 0, If<IsValue<TB>> = 0,
44 If<Any<IsUn
signedInteger<TA>, IsUn
signedInteger<TB>>> = 0>
45 static inline constexpr auto delta(
TA const &a,
TB const &b)
47 return a >= b ? (a - b) : (b - a);
Definition cholesky.hpp:18
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
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13