Vectorize erf(x) for double.

This commit is contained in:
Rasmus Munk Larsen
2024-11-16 19:05:16 +00:00
parent d6e3b528b2
commit 5133c836c0
6 changed files with 134 additions and 93 deletions

View File

@@ -217,6 +217,7 @@ struct packet_traits<double> : default_packet_traits {
HasCos = EIGEN_FAST_MATH,
HasTanh = EIGEN_FAST_MATH,
HasLog = 1,
HasErf = EIGEN_FAST_MATH,
HasErfc = EIGEN_FAST_MATH,
HasExp = 1,
HasSqrt = 1,