diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2021-06-30 15:53:06 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2021-07-01 23:31:12 +0000 |
commit | 9312a5bf5cd72f45558f402077b0c95683ee0fea (patch) | |
tree | 67ebd169339f5f64dcb58a1e4d334c6affdaec65 /Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h | |
parent | 6035da5283f12f7e6a49cda0c21696c8e5a115b7 (diff) |
Implement a generic vectorized version of Smith's algorithms for complex division.
Diffstat (limited to 'Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h')
-rw-r--r-- | Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h b/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h index 177a04e93..730cc7395 100644 --- a/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +++ b/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h @@ -101,6 +101,12 @@ EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet psqrt_complex(const Packet& a); +/** \internal \returns x / y for complex types */ +template<typename Packet> +EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +EIGEN_UNUSED +Packet pdiv_complex(const Packet& x, const Packet& y); + template <typename Packet, int N> struct ppolevl; |