3#ifndef pRC_CORE_COMPLEX_FUNCTIONS_SQRT_H
4#define pRC_CORE_COMPLEX_FUNCTIONS_SQRT_H
11 static inline constexpr auto sqrt(
T const &a)
13 using R =
typename T::Type;
15 if(a.real() ==
zero())
31 auto const at = a.imag() / t;
Definition cholesky.hpp:10
static constexpr auto sqrt(T const &a)
Definition sqrt.hpp:11
Complex(T const &) -> Complex< T >
static constexpr auto abs(T const &a)
Definition abs.hpp:11
static constexpr decltype(auto) real(X &&a)
Definition real.hpp:12
static constexpr auto identity()
Definition identity.hpp:13
static constexpr auto zero()
Definition zero.hpp:12