3#ifndef pRC_CORE_COMPLEX_FUNCTIONS_EQUAL_H
4#define pRC_CORE_COMPLEX_FUNCTIONS_EQUAL_H
10 template<IsComplex TA, IsComplex TB>
11 static inline constexpr auto operator==(TA
const &a, TB
const &b)
13 return (a.real() == b.real()) && (a.imag() == b.imag());
16 template<IsComplex TA, IsValue TB>
17 static inline constexpr auto operator==(TA
const &a, TB
const &b)
19 return (a.real() == b) && (a.imag() ==
zero());
22 template<IsValue TA, IsComplex TB>
23 static inline constexpr auto operator==(TA
const &a, TB
const &b)
25 return (a == b.real()) && (
zero() == b.imag());
Definition cholesky.hpp:10
static constexpr auto operator==(JacobiRotation< TA > const &a, JacobiRotation< TB > const &b)
Definition jacobi_rotation.hpp:284
static constexpr auto zero()
Definition zero.hpp:12