Add vectorized implementation of tanh<double>

This commit is contained in:
Rasmus Munk Larsen
2024-08-21 02:29:45 +00:00
parent cc240eea2f
commit 32d95bb097
8 changed files with 109 additions and 14 deletions

View File

@@ -214,6 +214,7 @@ struct packet_traits<double> : default_packet_traits {
HasDiv = 1,
HasSin = EIGEN_FAST_MATH,
HasCos = EIGEN_FAST_MATH,
HasTanh = EIGEN_FAST_MATH,
HasLog = 1,
HasExp = 1,
HasSqrt = 1,