3#ifndef pRC_CORE_COMPLEX_FUNCTIONS_DELTA_H
4#define pRC_CORE_COMPLEX_FUNCTIONS_DELTA_H
10 template<IsComplex TA, IsComplex TB>
11 static inline constexpr auto delta(TA
const &a, TB
const &b)
13 auto const real =
delta(a.real(), b.real());
14 auto const imag =
delta(a.imag(), b.imag());
19 template<IsComplex TA, IsValue TB>
20 static inline constexpr auto delta(TA
const &a, TB
const &b)
22 auto const real =
delta(a.real(), b.real());
23 auto const imag = a.imag();
28 template<IsValue TA, IsComplex TB>
29 static inline constexpr auto delta(TA
const &a, TB
const &b)
31 auto const real =
delta(a.real(), b.real());
32 auto const imag = b.imag();
Definition cholesky.hpp:10
Complex(T const &) -> Complex< T >
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
static constexpr decltype(auto) real(X &&a)
Definition real.hpp:12
static constexpr decltype(auto) imag(X &&a)
Definition imag.hpp:12