xtgeo 4.10.0__cp310-cp310-macosx_11_0_arm64.whl → 4.11.0__cp310-cp310-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of xtgeo might be problematic. Click here for more details.

Files changed (566) hide show
  1. xtgeo/_cxtgeo.cpython-310-darwin.so +0 -0
  2. xtgeo/_internal.cpython-310-darwin.so +0 -0
  3. xtgeo/common/version.py +16 -3
  4. xtgeo/cube/_cube_window_attributes.py +13 -4
  5. xtgeo/grid3d/_grid_etc1.py +10 -5
  6. xtgeo/grid3d/grid.py +22 -6
  7. xtgeo/include/fmt/args.h +220 -0
  8. xtgeo/include/fmt/base.h +2989 -0
  9. xtgeo/include/fmt/chrono.h +2330 -0
  10. xtgeo/include/fmt/color.h +637 -0
  11. xtgeo/include/fmt/compile.h +539 -0
  12. xtgeo/include/fmt/core.h +5 -0
  13. xtgeo/include/fmt/format-inl.h +1948 -0
  14. xtgeo/include/fmt/format.h +4244 -0
  15. xtgeo/include/fmt/os.h +427 -0
  16. xtgeo/include/fmt/ostream.h +167 -0
  17. xtgeo/include/fmt/printf.h +633 -0
  18. xtgeo/include/fmt/ranges.h +850 -0
  19. xtgeo/include/fmt/std.h +728 -0
  20. xtgeo/include/fmt/xchar.h +369 -0
  21. xtgeo/lib/cmake/fmt/fmt-config-version.cmake +43 -0
  22. xtgeo/lib/cmake/fmt/fmt-config.cmake +31 -0
  23. xtgeo/lib/cmake/fmt/fmt-targets-release.cmake +19 -0
  24. xtgeo/{share/eigen3/cmake/Eigen3Targets.cmake → lib/cmake/fmt/fmt-targets.cmake} +16 -6
  25. xtgeo/lib/libfmt.a +0 -0
  26. xtgeo/lib/pkgconfig/fmt.pc +11 -0
  27. xtgeo/metadata/metadata.py +20 -13
  28. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/METADATA +1 -1
  29. xtgeo-4.11.0.dist-info/RECORD +137 -0
  30. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/WHEEL +1 -1
  31. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  32. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  33. xtgeo/include/eigen3/Eigen/Core +0 -384
  34. xtgeo/include/eigen3/Eigen/Dense +0 -7
  35. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  36. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  37. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  38. xtgeo/include/eigen3/Eigen/Householder +0 -29
  39. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  40. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  41. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  42. xtgeo/include/eigen3/Eigen/LU +0 -47
  43. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  44. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  45. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  46. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  47. xtgeo/include/eigen3/Eigen/QR +0 -50
  48. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  49. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  50. xtgeo/include/eigen3/Eigen/SVD +0 -50
  51. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  52. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  53. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  54. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  55. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  56. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  57. xtgeo/include/eigen3/Eigen/StdList +0 -26
  58. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  59. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  60. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  61. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  62. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  63. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  64. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  65. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  66. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  67. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  68. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  69. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  70. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  71. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  72. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  73. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  74. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  75. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  76. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  77. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  78. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  79. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  80. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  81. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  82. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  83. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  84. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  85. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  86. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  87. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  88. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  89. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  90. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  91. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  92. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  93. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  94. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  95. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  96. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  97. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  98. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  99. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  100. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  101. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  102. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  103. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  104. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  105. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  106. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  107. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  108. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  109. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  110. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  111. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  112. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  113. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  114. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  115. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  116. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  117. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  118. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  119. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  120. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  121. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  122. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  123. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  124. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  125. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  126. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  127. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  128. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  129. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  130. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  131. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  132. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  133. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  134. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  135. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  136. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  166. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  167. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  168. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  169. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  170. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  171. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  172. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  173. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  174. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  175. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  176. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  177. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  178. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  179. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  180. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  181. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  182. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  183. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  184. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  185. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  186. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  187. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  188. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  189. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  190. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  191. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  192. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  193. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  194. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  195. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  196. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  197. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  198. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  199. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  200. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  201. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  202. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  203. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  204. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  205. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  206. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  207. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  208. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  209. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  210. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  211. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  212. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  213. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  214. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  215. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  216. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  217. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  218. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  219. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  220. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  221. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  222. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  223. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  224. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  225. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  226. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  227. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  228. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  229. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  230. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  231. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  232. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  233. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  234. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  235. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  236. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  237. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  238. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  239. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  240. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  241. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  242. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  243. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  244. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  245. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  246. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  247. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  248. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  249. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  250. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  251. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  252. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  253. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  254. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  255. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  256. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  257. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  258. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  259. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  260. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  261. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  262. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  263. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  264. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  265. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  266. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  267. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  268. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  269. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  270. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  271. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  272. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  273. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  274. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  275. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  276. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  277. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  278. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  279. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  280. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  281. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  282. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  283. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  284. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  285. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  286. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  287. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  288. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  289. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  290. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  291. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  292. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  293. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  294. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  295. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  296. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  297. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  308. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  309. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  310. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  311. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  312. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  313. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  314. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  315. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  316. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  317. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  318. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  319. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  320. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  321. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  322. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  323. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  324. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  325. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  326. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  327. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  328. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  329. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  330. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  331. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  332. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  333. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  334. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  335. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  336. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  337. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  338. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  339. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  340. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  341. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  342. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  343. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  344. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  345. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  346. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  347. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  348. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  349. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  350. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  351. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  352. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  353. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  354. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  355. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  356. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  357. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  358. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  359. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  360. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  361. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  362. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  363. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  364. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  365. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  366. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  367. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  368. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  369. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  370. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  371. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  372. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  373. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  444. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  445. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  446. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  447. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  448. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  449. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  450. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  451. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  452. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  453. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  454. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  455. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  456. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  457. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  458. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  459. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  460. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  461. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  462. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  463. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  464. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  465. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  466. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  467. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  468. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  469. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  470. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  471. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  472. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  473. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  474. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  475. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  476. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  477. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  478. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  479. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  480. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  481. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  482. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  483. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  484. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  485. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  486. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  487. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  488. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  489. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  490. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  491. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  492. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  493. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  494. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  495. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  496. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  497. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  498. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  499. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  500. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  501. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  502. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  503. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  504. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  505. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  506. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  507. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  508. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  509. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  510. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  511. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  512. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  513. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  514. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  515. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  516. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  517. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  518. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  519. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  520. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  521. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  522. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  523. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  524. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  525. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  526. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  527. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  528. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  529. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  530. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  531. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  538. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  539. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  540. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  541. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  542. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  543. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  544. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  545. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  546. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  547. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  548. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  549. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  550. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  551. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  552. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  553. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  554. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  555. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  556. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  557. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  558. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  559. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  560. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  561. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  562. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  563. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  564. xtgeo/share/pkgconfig/eigen3.pc +0 -9
  565. xtgeo-4.10.0.dist-info/RECORD +0 -652
  566. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,1040 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
5
- // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
6
- //
7
- // This Source Code Form is subject to the terms of the Mozilla
8
- // Public License v. 2.0. If a copy of the MPL was not distributed
9
- // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
-
11
- #ifndef EIGEN_GENERIC_PACKET_MATH_H
12
- #define EIGEN_GENERIC_PACKET_MATH_H
13
-
14
- namespace Eigen {
15
-
16
- namespace internal {
17
-
18
- /** \internal
19
- * \file GenericPacketMath.h
20
- *
21
- * Default implementation for types not supported by the vectorization.
22
- * In practice these functions are provided to make easier the writing
23
- * of generic vectorized code.
24
- */
25
-
26
- #ifndef EIGEN_DEBUG_ALIGNED_LOAD
27
- #define EIGEN_DEBUG_ALIGNED_LOAD
28
- #endif
29
-
30
- #ifndef EIGEN_DEBUG_UNALIGNED_LOAD
31
- #define EIGEN_DEBUG_UNALIGNED_LOAD
32
- #endif
33
-
34
- #ifndef EIGEN_DEBUG_ALIGNED_STORE
35
- #define EIGEN_DEBUG_ALIGNED_STORE
36
- #endif
37
-
38
- #ifndef EIGEN_DEBUG_UNALIGNED_STORE
39
- #define EIGEN_DEBUG_UNALIGNED_STORE
40
- #endif
41
-
42
- struct default_packet_traits
43
- {
44
- enum {
45
- HasHalfPacket = 0,
46
-
47
- HasAdd = 1,
48
- HasSub = 1,
49
- HasShift = 1,
50
- HasMul = 1,
51
- HasNegate = 1,
52
- HasAbs = 1,
53
- HasArg = 0,
54
- HasAbs2 = 1,
55
- HasAbsDiff = 0,
56
- HasMin = 1,
57
- HasMax = 1,
58
- HasConj = 1,
59
- HasSetLinear = 1,
60
- HasBlend = 0,
61
- // This flag is used to indicate whether packet comparison is supported.
62
- // pcmp_eq, pcmp_lt and pcmp_le should be defined for it to be true.
63
- HasCmp = 0,
64
-
65
- HasDiv = 0,
66
- HasSqrt = 0,
67
- HasRsqrt = 0,
68
- HasExp = 0,
69
- HasExpm1 = 0,
70
- HasLog = 0,
71
- HasLog1p = 0,
72
- HasLog10 = 0,
73
- HasPow = 0,
74
-
75
- HasSin = 0,
76
- HasCos = 0,
77
- HasTan = 0,
78
- HasASin = 0,
79
- HasACos = 0,
80
- HasATan = 0,
81
- HasSinh = 0,
82
- HasCosh = 0,
83
- HasTanh = 0,
84
- HasLGamma = 0,
85
- HasDiGamma = 0,
86
- HasZeta = 0,
87
- HasPolygamma = 0,
88
- HasErf = 0,
89
- HasErfc = 0,
90
- HasNdtri = 0,
91
- HasBessel = 0,
92
- HasIGamma = 0,
93
- HasIGammaDerA = 0,
94
- HasGammaSampleDerAlpha = 0,
95
- HasIGammac = 0,
96
- HasBetaInc = 0,
97
-
98
- HasRound = 0,
99
- HasRint = 0,
100
- HasFloor = 0,
101
- HasCeil = 0,
102
- HasSign = 0
103
- };
104
- };
105
-
106
- template<typename T> struct packet_traits : default_packet_traits
107
- {
108
- typedef T type;
109
- typedef T half;
110
- enum {
111
- Vectorizable = 0,
112
- size = 1,
113
- AlignedOnScalar = 0,
114
- HasHalfPacket = 0
115
- };
116
- enum {
117
- HasAdd = 0,
118
- HasSub = 0,
119
- HasMul = 0,
120
- HasNegate = 0,
121
- HasAbs = 0,
122
- HasAbs2 = 0,
123
- HasMin = 0,
124
- HasMax = 0,
125
- HasConj = 0,
126
- HasSetLinear = 0
127
- };
128
- };
129
-
130
- template<typename T> struct packet_traits<const T> : packet_traits<T> { };
131
-
132
- template<typename T> struct unpacket_traits
133
- {
134
- typedef T type;
135
- typedef T half;
136
- enum
137
- {
138
- size = 1,
139
- alignment = 1,
140
- vectorizable = false,
141
- masked_load_available=false,
142
- masked_store_available=false
143
- };
144
- };
145
-
146
- template<typename T> struct unpacket_traits<const T> : unpacket_traits<T> { };
147
-
148
- template <typename Src, typename Tgt> struct type_casting_traits {
149
- enum {
150
- VectorizedCast = 0,
151
- SrcCoeffRatio = 1,
152
- TgtCoeffRatio = 1
153
- };
154
- };
155
-
156
- /** \internal Wrapper to ensure that multiple packet types can map to the same
157
- same underlying vector type. */
158
- template<typename T, int unique_id = 0>
159
- struct eigen_packet_wrapper
160
- {
161
- EIGEN_ALWAYS_INLINE operator T&() { return m_val; }
162
- EIGEN_ALWAYS_INLINE operator const T&() const { return m_val; }
163
- EIGEN_ALWAYS_INLINE eigen_packet_wrapper() {}
164
- EIGEN_ALWAYS_INLINE eigen_packet_wrapper(const T &v) : m_val(v) {}
165
- EIGEN_ALWAYS_INLINE eigen_packet_wrapper& operator=(const T &v) {
166
- m_val = v;
167
- return *this;
168
- }
169
-
170
- T m_val;
171
- };
172
-
173
-
174
- /** \internal A convenience utility for determining if the type is a scalar.
175
- * This is used to enable some generic packet implementations.
176
- */
177
- template<typename Packet>
178
- struct is_scalar {
179
- typedef typename unpacket_traits<Packet>::type Scalar;
180
- enum {
181
- value = internal::is_same<Packet, Scalar>::value
182
- };
183
- };
184
-
185
- /** \internal \returns static_cast<TgtType>(a) (coeff-wise) */
186
- template <typename SrcPacket, typename TgtPacket>
187
- EIGEN_DEVICE_FUNC inline TgtPacket
188
- pcast(const SrcPacket& a) {
189
- return static_cast<TgtPacket>(a);
190
- }
191
- template <typename SrcPacket, typename TgtPacket>
192
- EIGEN_DEVICE_FUNC inline TgtPacket
193
- pcast(const SrcPacket& a, const SrcPacket& /*b*/) {
194
- return static_cast<TgtPacket>(a);
195
- }
196
- template <typename SrcPacket, typename TgtPacket>
197
- EIGEN_DEVICE_FUNC inline TgtPacket
198
- pcast(const SrcPacket& a, const SrcPacket& /*b*/, const SrcPacket& /*c*/, const SrcPacket& /*d*/) {
199
- return static_cast<TgtPacket>(a);
200
- }
201
- template <typename SrcPacket, typename TgtPacket>
202
- EIGEN_DEVICE_FUNC inline TgtPacket
203
- pcast(const SrcPacket& a, const SrcPacket& /*b*/, const SrcPacket& /*c*/, const SrcPacket& /*d*/,
204
- const SrcPacket& /*e*/, const SrcPacket& /*f*/, const SrcPacket& /*g*/, const SrcPacket& /*h*/) {
205
- return static_cast<TgtPacket>(a);
206
- }
207
-
208
- /** \internal \returns reinterpret_cast<Target>(a) */
209
- template <typename Target, typename Packet>
210
- EIGEN_DEVICE_FUNC inline Target
211
- preinterpret(const Packet& a); /* { return reinterpret_cast<const Target&>(a); } */
212
-
213
- /** \internal \returns a + b (coeff-wise) */
214
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
215
- padd(const Packet& a, const Packet& b) { return a+b; }
216
- // Avoid compiler warning for boolean algebra.
217
- template<> EIGEN_DEVICE_FUNC inline bool
218
- padd(const bool& a, const bool& b) { return a || b; }
219
-
220
- /** \internal \returns a - b (coeff-wise) */
221
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
222
- psub(const Packet& a, const Packet& b) { return a-b; }
223
-
224
- /** \internal \returns -a (coeff-wise) */
225
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
226
- pnegate(const Packet& a) { return -a; }
227
-
228
- template<> EIGEN_DEVICE_FUNC inline bool
229
- pnegate(const bool& a) { return !a; }
230
-
231
- /** \internal \returns conj(a) (coeff-wise) */
232
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
233
- pconj(const Packet& a) { return numext::conj(a); }
234
-
235
- /** \internal \returns a * b (coeff-wise) */
236
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
237
- pmul(const Packet& a, const Packet& b) { return a*b; }
238
- // Avoid compiler warning for boolean algebra.
239
- template<> EIGEN_DEVICE_FUNC inline bool
240
- pmul(const bool& a, const bool& b) { return a && b; }
241
-
242
- /** \internal \returns a / b (coeff-wise) */
243
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
244
- pdiv(const Packet& a, const Packet& b) { return a/b; }
245
-
246
- // In the generic case, memset to all one bits.
247
- template<typename Packet, typename EnableIf = void>
248
- struct ptrue_impl {
249
- static EIGEN_DEVICE_FUNC inline Packet run(const Packet& /*a*/){
250
- Packet b;
251
- memset(static_cast<void*>(&b), 0xff, sizeof(Packet));
252
- return b;
253
- }
254
- };
255
-
256
- // For non-trivial scalars, set to Scalar(1) (i.e. a non-zero value).
257
- // Although this is technically not a valid bitmask, the scalar path for pselect
258
- // uses a comparison to zero, so this should still work in most cases. We don't
259
- // have another option, since the scalar type requires initialization.
260
- template<typename T>
261
- struct ptrue_impl<T,
262
- typename internal::enable_if<is_scalar<T>::value && NumTraits<T>::RequireInitialization>::type > {
263
- static EIGEN_DEVICE_FUNC inline T run(const T& /*a*/){
264
- return T(1);
265
- }
266
- };
267
-
268
- /** \internal \returns one bits. */
269
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
270
- ptrue(const Packet& a) {
271
- return ptrue_impl<Packet>::run(a);
272
- }
273
-
274
- // In the general case, memset to zero.
275
- template<typename Packet, typename EnableIf = void>
276
- struct pzero_impl {
277
- static EIGEN_DEVICE_FUNC inline Packet run(const Packet& /*a*/) {
278
- Packet b;
279
- memset(static_cast<void*>(&b), 0x00, sizeof(Packet));
280
- return b;
281
- }
282
- };
283
-
284
- // For scalars, explicitly set to Scalar(0), since the underlying representation
285
- // for zero may not consist of all-zero bits.
286
- template<typename T>
287
- struct pzero_impl<T,
288
- typename internal::enable_if<is_scalar<T>::value>::type> {
289
- static EIGEN_DEVICE_FUNC inline T run(const T& /*a*/) {
290
- return T(0);
291
- }
292
- };
293
-
294
- /** \internal \returns packet of zeros */
295
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
296
- pzero(const Packet& a) {
297
- return pzero_impl<Packet>::run(a);
298
- }
299
-
300
- /** \internal \returns a <= b as a bit mask */
301
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
302
- pcmp_le(const Packet& a, const Packet& b) { return a<=b ? ptrue(a) : pzero(a); }
303
-
304
- /** \internal \returns a < b as a bit mask */
305
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
306
- pcmp_lt(const Packet& a, const Packet& b) { return a<b ? ptrue(a) : pzero(a); }
307
-
308
- /** \internal \returns a == b as a bit mask */
309
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
310
- pcmp_eq(const Packet& a, const Packet& b) { return a==b ? ptrue(a) : pzero(a); }
311
-
312
- /** \internal \returns a < b or a==NaN or b==NaN as a bit mask */
313
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
314
- pcmp_lt_or_nan(const Packet& a, const Packet& b) { return a>=b ? pzero(a) : ptrue(a); }
315
-
316
- template<typename T>
317
- struct bit_and {
318
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE T operator()(const T& a, const T& b) const {
319
- return a & b;
320
- }
321
- };
322
-
323
- template<typename T>
324
- struct bit_or {
325
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE T operator()(const T& a, const T& b) const {
326
- return a | b;
327
- }
328
- };
329
-
330
- template<typename T>
331
- struct bit_xor {
332
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE T operator()(const T& a, const T& b) const {
333
- return a ^ b;
334
- }
335
- };
336
-
337
- template<typename T>
338
- struct bit_not {
339
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE T operator()(const T& a) const {
340
- return ~a;
341
- }
342
- };
343
-
344
- // Use operators &, |, ^, ~.
345
- template<typename T>
346
- struct operator_bitwise_helper {
347
- EIGEN_DEVICE_FUNC static inline T bitwise_and(const T& a, const T& b) { return bit_and<T>()(a, b); }
348
- EIGEN_DEVICE_FUNC static inline T bitwise_or(const T& a, const T& b) { return bit_or<T>()(a, b); }
349
- EIGEN_DEVICE_FUNC static inline T bitwise_xor(const T& a, const T& b) { return bit_xor<T>()(a, b); }
350
- EIGEN_DEVICE_FUNC static inline T bitwise_not(const T& a) { return bit_not<T>()(a); }
351
- };
352
-
353
- // Apply binary operations byte-by-byte
354
- template<typename T>
355
- struct bytewise_bitwise_helper {
356
- EIGEN_DEVICE_FUNC static inline T bitwise_and(const T& a, const T& b) {
357
- return binary(a, b, bit_and<unsigned char>());
358
- }
359
- EIGEN_DEVICE_FUNC static inline T bitwise_or(const T& a, const T& b) {
360
- return binary(a, b, bit_or<unsigned char>());
361
- }
362
- EIGEN_DEVICE_FUNC static inline T bitwise_xor(const T& a, const T& b) {
363
- return binary(a, b, bit_xor<unsigned char>());
364
- }
365
- EIGEN_DEVICE_FUNC static inline T bitwise_not(const T& a) {
366
- return unary(a,bit_not<unsigned char>());
367
- }
368
-
369
- private:
370
- template<typename Op>
371
- EIGEN_DEVICE_FUNC static inline T unary(const T& a, Op op) {
372
- const unsigned char* a_ptr = reinterpret_cast<const unsigned char*>(&a);
373
- T c;
374
- unsigned char* c_ptr = reinterpret_cast<unsigned char*>(&c);
375
- for (size_t i = 0; i < sizeof(T); ++i) {
376
- *c_ptr++ = op(*a_ptr++);
377
- }
378
- return c;
379
- }
380
-
381
- template<typename Op>
382
- EIGEN_DEVICE_FUNC static inline T binary(const T& a, const T& b, Op op) {
383
- const unsigned char* a_ptr = reinterpret_cast<const unsigned char*>(&a);
384
- const unsigned char* b_ptr = reinterpret_cast<const unsigned char*>(&b);
385
- T c;
386
- unsigned char* c_ptr = reinterpret_cast<unsigned char*>(&c);
387
- for (size_t i = 0; i < sizeof(T); ++i) {
388
- *c_ptr++ = op(*a_ptr++, *b_ptr++);
389
- }
390
- return c;
391
- }
392
- };
393
-
394
- // In the general case, use byte-by-byte manipulation.
395
- template<typename T, typename EnableIf = void>
396
- struct bitwise_helper : public bytewise_bitwise_helper<T> {};
397
-
398
- // For integers or non-trivial scalars, use binary operators.
399
- template<typename T>
400
- struct bitwise_helper<T,
401
- typename internal::enable_if<
402
- is_scalar<T>::value && (NumTraits<T>::IsInteger || NumTraits<T>::RequireInitialization)>::type
403
- > : public operator_bitwise_helper<T> {};
404
-
405
- /** \internal \returns the bitwise and of \a a and \a b */
406
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
407
- pand(const Packet& a, const Packet& b) {
408
- return bitwise_helper<Packet>::bitwise_and(a, b);
409
- }
410
-
411
- /** \internal \returns the bitwise or of \a a and \a b */
412
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
413
- por(const Packet& a, const Packet& b) {
414
- return bitwise_helper<Packet>::bitwise_or(a, b);
415
- }
416
-
417
- /** \internal \returns the bitwise xor of \a a and \a b */
418
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
419
- pxor(const Packet& a, const Packet& b) {
420
- return bitwise_helper<Packet>::bitwise_xor(a, b);
421
- }
422
-
423
- /** \internal \returns the bitwise not of \a a */
424
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
425
- pnot(const Packet& a) {
426
- return bitwise_helper<Packet>::bitwise_not(a);
427
- }
428
-
429
- /** \internal \returns the bitwise and of \a a and not \a b */
430
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
431
- pandnot(const Packet& a, const Packet& b) { return pand(a, pnot(b)); }
432
-
433
- // In the general case, use bitwise select.
434
- template<typename Packet, typename EnableIf = void>
435
- struct pselect_impl {
436
- static EIGEN_DEVICE_FUNC inline Packet run(const Packet& mask, const Packet& a, const Packet& b) {
437
- return por(pand(a,mask),pandnot(b,mask));
438
- }
439
- };
440
-
441
- // For scalars, use ternary select.
442
- template<typename Packet>
443
- struct pselect_impl<Packet,
444
- typename internal::enable_if<is_scalar<Packet>::value>::type > {
445
- static EIGEN_DEVICE_FUNC inline Packet run(const Packet& mask, const Packet& a, const Packet& b) {
446
- return numext::equal_strict(mask, Packet(0)) ? b : a;
447
- }
448
- };
449
-
450
- /** \internal \returns \a or \b for each field in packet according to \mask */
451
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
452
- pselect(const Packet& mask, const Packet& a, const Packet& b) {
453
- return pselect_impl<Packet>::run(mask, a, b);
454
- }
455
-
456
- template<> EIGEN_DEVICE_FUNC inline bool pselect<bool>(
457
- const bool& cond, const bool& a, const bool& b) {
458
- return cond ? a : b;
459
- }
460
-
461
- /** \internal \returns the min or of \a a and \a b (coeff-wise)
462
- If either \a a or \a b are NaN, the result is implementation defined. */
463
- template<int NaNPropagation>
464
- struct pminmax_impl {
465
- template <typename Packet, typename Op>
466
- static EIGEN_DEVICE_FUNC inline Packet run(const Packet& a, const Packet& b, Op op) {
467
- return op(a,b);
468
- }
469
- };
470
-
471
- /** \internal \returns the min or max of \a a and \a b (coeff-wise)
472
- If either \a a or \a b are NaN, NaN is returned. */
473
- template<>
474
- struct pminmax_impl<PropagateNaN> {
475
- template <typename Packet, typename Op>
476
- static EIGEN_DEVICE_FUNC inline Packet run(const Packet& a, const Packet& b, Op op) {
477
- Packet not_nan_mask_a = pcmp_eq(a, a);
478
- Packet not_nan_mask_b = pcmp_eq(b, b);
479
- return pselect(not_nan_mask_a,
480
- pselect(not_nan_mask_b, op(a, b), b),
481
- a);
482
- }
483
- };
484
-
485
- /** \internal \returns the min or max of \a a and \a b (coeff-wise)
486
- If both \a a and \a b are NaN, NaN is returned.
487
- Equivalent to std::fmin(a, b). */
488
- template<>
489
- struct pminmax_impl<PropagateNumbers> {
490
- template <typename Packet, typename Op>
491
- static EIGEN_DEVICE_FUNC inline Packet run(const Packet& a, const Packet& b, Op op) {
492
- Packet not_nan_mask_a = pcmp_eq(a, a);
493
- Packet not_nan_mask_b = pcmp_eq(b, b);
494
- return pselect(not_nan_mask_a,
495
- pselect(not_nan_mask_b, op(a, b), a),
496
- b);
497
- }
498
- };
499
-
500
-
501
- #ifndef SYCL_DEVICE_ONLY
502
- #define EIGEN_BINARY_OP_NAN_PROPAGATION(Type, Func) Func
503
- #else
504
- #define EIGEN_BINARY_OP_NAN_PROPAGATION(Type, Func) \
505
- [](const Type& a, const Type& b) { \
506
- return Func(a, b);}
507
- #endif
508
-
509
- /** \internal \returns the min of \a a and \a b (coeff-wise).
510
- If \a a or \b b is NaN, the return value is implementation defined. */
511
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
512
- pmin(const Packet& a, const Packet& b) { return numext::mini(a,b); }
513
-
514
- /** \internal \returns the min of \a a and \a b (coeff-wise).
515
- NaNPropagation determines the NaN propagation semantics. */
516
- template <int NaNPropagation, typename Packet>
517
- EIGEN_DEVICE_FUNC inline Packet pmin(const Packet& a, const Packet& b) {
518
- return pminmax_impl<NaNPropagation>::run(a, b, EIGEN_BINARY_OP_NAN_PROPAGATION(Packet, (pmin<Packet>)));
519
- }
520
-
521
- /** \internal \returns the max of \a a and \a b (coeff-wise)
522
- If \a a or \b b is NaN, the return value is implementation defined. */
523
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
524
- pmax(const Packet& a, const Packet& b) { return numext::maxi(a, b); }
525
-
526
- /** \internal \returns the max of \a a and \a b (coeff-wise).
527
- NaNPropagation determines the NaN propagation semantics. */
528
- template <int NaNPropagation, typename Packet>
529
- EIGEN_DEVICE_FUNC inline Packet pmax(const Packet& a, const Packet& b) {
530
- return pminmax_impl<NaNPropagation>::run(a, b, EIGEN_BINARY_OP_NAN_PROPAGATION(Packet,(pmax<Packet>)));
531
- }
532
-
533
- /** \internal \returns the absolute value of \a a */
534
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
535
- pabs(const Packet& a) { return numext::abs(a); }
536
- template<> EIGEN_DEVICE_FUNC inline unsigned int
537
- pabs(const unsigned int& a) { return a; }
538
- template<> EIGEN_DEVICE_FUNC inline unsigned long
539
- pabs(const unsigned long& a) { return a; }
540
- template<> EIGEN_DEVICE_FUNC inline unsigned long long
541
- pabs(const unsigned long long& a) { return a; }
542
-
543
- /** \internal \returns the addsub value of \a a,b */
544
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
545
- paddsub(const Packet& a, const Packet& b) {
546
- return pselect(peven_mask(a), padd(a, b), psub(a, b));
547
- }
548
-
549
- /** \internal \returns the phase angle of \a a */
550
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
551
- parg(const Packet& a) { using numext::arg; return arg(a); }
552
-
553
-
554
- /** \internal \returns \a a logically shifted by N bits to the right */
555
- template<int N> EIGEN_DEVICE_FUNC inline int
556
- parithmetic_shift_right(const int& a) { return a >> N; }
557
- template<int N> EIGEN_DEVICE_FUNC inline long int
558
- parithmetic_shift_right(const long int& a) { return a >> N; }
559
-
560
- /** \internal \returns \a a arithmetically shifted by N bits to the right */
561
- template<int N> EIGEN_DEVICE_FUNC inline int
562
- plogical_shift_right(const int& a) { return static_cast<int>(static_cast<unsigned int>(a) >> N); }
563
- template<int N> EIGEN_DEVICE_FUNC inline long int
564
- plogical_shift_right(const long int& a) { return static_cast<long>(static_cast<unsigned long>(a) >> N); }
565
-
566
- /** \internal \returns \a a shifted by N bits to the left */
567
- template<int N> EIGEN_DEVICE_FUNC inline int
568
- plogical_shift_left(const int& a) { return a << N; }
569
- template<int N> EIGEN_DEVICE_FUNC inline long int
570
- plogical_shift_left(const long int& a) { return a << N; }
571
-
572
- /** \internal \returns the significant and exponent of the underlying floating point numbers
573
- * See https://en.cppreference.com/w/cpp/numeric/math/frexp
574
- */
575
- template <typename Packet>
576
- EIGEN_DEVICE_FUNC inline Packet pfrexp(const Packet& a, Packet& exponent) {
577
- int exp;
578
- EIGEN_USING_STD(frexp);
579
- Packet result = static_cast<Packet>(frexp(a, &exp));
580
- exponent = static_cast<Packet>(exp);
581
- return result;
582
- }
583
-
584
- /** \internal \returns a * 2^((int)exponent)
585
- * See https://en.cppreference.com/w/cpp/numeric/math/ldexp
586
- */
587
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
588
- pldexp(const Packet &a, const Packet &exponent) {
589
- EIGEN_USING_STD(ldexp)
590
- return static_cast<Packet>(ldexp(a, static_cast<int>(exponent)));
591
- }
592
-
593
- /** \internal \returns the min of \a a and \a b (coeff-wise) */
594
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
595
- pabsdiff(const Packet& a, const Packet& b) { return pselect(pcmp_lt(a, b), psub(b, a), psub(a, b)); }
596
-
597
- /** \internal \returns a packet version of \a *from, from must be 16 bytes aligned */
598
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
599
- pload(const typename unpacket_traits<Packet>::type* from) { return *from; }
600
-
601
- /** \internal \returns a packet version of \a *from, (un-aligned load) */
602
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
603
- ploadu(const typename unpacket_traits<Packet>::type* from) { return *from; }
604
-
605
- /** \internal \returns a packet version of \a *from, (un-aligned masked load)
606
- * There is no generic implementation. We only have implementations for specialized
607
- * cases. Generic case should not be called.
608
- */
609
- template<typename Packet> EIGEN_DEVICE_FUNC inline
610
- typename enable_if<unpacket_traits<Packet>::masked_load_available, Packet>::type
611
- ploadu(const typename unpacket_traits<Packet>::type* from, typename unpacket_traits<Packet>::mask_t umask);
612
-
613
- /** \internal \returns a packet with constant coefficients \a a, e.g.: (a,a,a,a) */
614
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
615
- pset1(const typename unpacket_traits<Packet>::type& a) { return a; }
616
-
617
- /** \internal \returns a packet with constant coefficients set from bits */
618
- template<typename Packet,typename BitsType> EIGEN_DEVICE_FUNC inline Packet
619
- pset1frombits(BitsType a);
620
-
621
- /** \internal \returns a packet with constant coefficients \a a[0], e.g.: (a[0],a[0],a[0],a[0]) */
622
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
623
- pload1(const typename unpacket_traits<Packet>::type *a) { return pset1<Packet>(*a); }
624
-
625
- /** \internal \returns a packet with elements of \a *from duplicated.
626
- * For instance, for a packet of 8 elements, 4 scalars will be read from \a *from and
627
- * duplicated to form: {from[0],from[0],from[1],from[1],from[2],from[2],from[3],from[3]}
628
- * Currently, this function is only used for scalar * complex products.
629
- */
630
- template<typename Packet> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet
631
- ploaddup(const typename unpacket_traits<Packet>::type* from) { return *from; }
632
-
633
- /** \internal \returns a packet with elements of \a *from quadrupled.
634
- * For instance, for a packet of 8 elements, 2 scalars will be read from \a *from and
635
- * replicated to form: {from[0],from[0],from[0],from[0],from[1],from[1],from[1],from[1]}
636
- * Currently, this function is only used in matrix products.
637
- * For packet-size smaller or equal to 4, this function is equivalent to pload1
638
- */
639
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
640
- ploadquad(const typename unpacket_traits<Packet>::type* from)
641
- { return pload1<Packet>(from); }
642
-
643
- /** \internal equivalent to
644
- * \code
645
- * a0 = pload1(a+0);
646
- * a1 = pload1(a+1);
647
- * a2 = pload1(a+2);
648
- * a3 = pload1(a+3);
649
- * \endcode
650
- * \sa pset1, pload1, ploaddup, pbroadcast2
651
- */
652
- template<typename Packet> EIGEN_DEVICE_FUNC
653
- inline void pbroadcast4(const typename unpacket_traits<Packet>::type *a,
654
- Packet& a0, Packet& a1, Packet& a2, Packet& a3)
655
- {
656
- a0 = pload1<Packet>(a+0);
657
- a1 = pload1<Packet>(a+1);
658
- a2 = pload1<Packet>(a+2);
659
- a3 = pload1<Packet>(a+3);
660
- }
661
-
662
- /** \internal equivalent to
663
- * \code
664
- * a0 = pload1(a+0);
665
- * a1 = pload1(a+1);
666
- * \endcode
667
- * \sa pset1, pload1, ploaddup, pbroadcast4
668
- */
669
- template<typename Packet> EIGEN_DEVICE_FUNC
670
- inline void pbroadcast2(const typename unpacket_traits<Packet>::type *a,
671
- Packet& a0, Packet& a1)
672
- {
673
- a0 = pload1<Packet>(a+0);
674
- a1 = pload1<Packet>(a+1);
675
- }
676
-
677
- /** \internal \brief Returns a packet with coefficients (a,a+1,...,a+packet_size-1). */
678
- template<typename Packet> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet
679
- plset(const typename unpacket_traits<Packet>::type& a) { return a; }
680
-
681
- /** \internal \returns a packet with constant coefficients \a a, e.g.: (x, 0, x, 0),
682
- where x is the value of all 1-bits. */
683
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
684
- peven_mask(const Packet& /*a*/) {
685
- typedef typename unpacket_traits<Packet>::type Scalar;
686
- const size_t n = unpacket_traits<Packet>::size;
687
- EIGEN_ALIGN_TO_BOUNDARY(sizeof(Packet)) Scalar elements[n];
688
- for(size_t i = 0; i < n; ++i) {
689
- memset(elements+i, ((i & 1) == 0 ? 0xff : 0), sizeof(Scalar));
690
- }
691
- return ploadu<Packet>(elements);
692
- }
693
-
694
-
695
- /** \internal copy the packet \a from to \a *to, \a to must be 16 bytes aligned */
696
- template<typename Scalar, typename Packet> EIGEN_DEVICE_FUNC inline void pstore(Scalar* to, const Packet& from)
697
- { (*to) = from; }
698
-
699
- /** \internal copy the packet \a from to \a *to, (un-aligned store) */
700
- template<typename Scalar, typename Packet> EIGEN_DEVICE_FUNC inline void pstoreu(Scalar* to, const Packet& from)
701
- { (*to) = from; }
702
-
703
- /** \internal copy the packet \a from to \a *to, (un-aligned store with a mask)
704
- * There is no generic implementation. We only have implementations for specialized
705
- * cases. Generic case should not be called.
706
- */
707
- template<typename Scalar, typename Packet>
708
- EIGEN_DEVICE_FUNC inline
709
- typename enable_if<unpacket_traits<Packet>::masked_store_available, void>::type
710
- pstoreu(Scalar* to, const Packet& from, typename unpacket_traits<Packet>::mask_t umask);
711
-
712
- template<typename Scalar, typename Packet> EIGEN_DEVICE_FUNC inline Packet pgather(const Scalar* from, Index /*stride*/)
713
- { return ploadu<Packet>(from); }
714
-
715
- template<typename Scalar, typename Packet> EIGEN_DEVICE_FUNC inline void pscatter(Scalar* to, const Packet& from, Index /*stride*/)
716
- { pstore(to, from); }
717
-
718
- /** \internal tries to do cache prefetching of \a addr */
719
- template<typename Scalar> EIGEN_DEVICE_FUNC inline void prefetch(const Scalar* addr)
720
- {
721
- #if defined(EIGEN_HIP_DEVICE_COMPILE)
722
- // do nothing
723
- #elif defined(EIGEN_CUDA_ARCH)
724
- #if defined(__LP64__) || EIGEN_OS_WIN64
725
- // 64-bit pointer operand constraint for inlined asm
726
- asm(" prefetch.L1 [ %1 ];" : "=l"(addr) : "l"(addr));
727
- #else
728
- // 32-bit pointer operand constraint for inlined asm
729
- asm(" prefetch.L1 [ %1 ];" : "=r"(addr) : "r"(addr));
730
- #endif
731
- #elif (!EIGEN_COMP_MSVC) && (EIGEN_COMP_GNUC || EIGEN_COMP_CLANG || EIGEN_COMP_ICC)
732
- __builtin_prefetch(addr);
733
- #endif
734
- }
735
-
736
- /** \internal \returns the reversed elements of \a a*/
737
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet preverse(const Packet& a)
738
- { return a; }
739
-
740
- /** \internal \returns \a a with real and imaginary part flipped (for complex type only) */
741
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet pcplxflip(const Packet& a)
742
- {
743
- return Packet(numext::imag(a),numext::real(a));
744
- }
745
-
746
- /**************************
747
- * Special math functions
748
- ***************************/
749
-
750
- /** \internal \returns the sine of \a a (coeff-wise) */
751
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
752
- Packet psin(const Packet& a) { EIGEN_USING_STD(sin); return sin(a); }
753
-
754
- /** \internal \returns the cosine of \a a (coeff-wise) */
755
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
756
- Packet pcos(const Packet& a) { EIGEN_USING_STD(cos); return cos(a); }
757
-
758
- /** \internal \returns the tan of \a a (coeff-wise) */
759
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
760
- Packet ptan(const Packet& a) { EIGEN_USING_STD(tan); return tan(a); }
761
-
762
- /** \internal \returns the arc sine of \a a (coeff-wise) */
763
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
764
- Packet pasin(const Packet& a) { EIGEN_USING_STD(asin); return asin(a); }
765
-
766
- /** \internal \returns the arc cosine of \a a (coeff-wise) */
767
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
768
- Packet pacos(const Packet& a) { EIGEN_USING_STD(acos); return acos(a); }
769
-
770
- /** \internal \returns the arc tangent of \a a (coeff-wise) */
771
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
772
- Packet patan(const Packet& a) { EIGEN_USING_STD(atan); return atan(a); }
773
-
774
- /** \internal \returns the hyperbolic sine of \a a (coeff-wise) */
775
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
776
- Packet psinh(const Packet& a) { EIGEN_USING_STD(sinh); return sinh(a); }
777
-
778
- /** \internal \returns the hyperbolic cosine of \a a (coeff-wise) */
779
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
780
- Packet pcosh(const Packet& a) { EIGEN_USING_STD(cosh); return cosh(a); }
781
-
782
- /** \internal \returns the hyperbolic tan of \a a (coeff-wise) */
783
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
784
- Packet ptanh(const Packet& a) { EIGEN_USING_STD(tanh); return tanh(a); }
785
-
786
- /** \internal \returns the exp of \a a (coeff-wise) */
787
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
788
- Packet pexp(const Packet& a) { EIGEN_USING_STD(exp); return exp(a); }
789
-
790
- /** \internal \returns the expm1 of \a a (coeff-wise) */
791
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
792
- Packet pexpm1(const Packet& a) { return numext::expm1(a); }
793
-
794
- /** \internal \returns the log of \a a (coeff-wise) */
795
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
796
- Packet plog(const Packet& a) { EIGEN_USING_STD(log); return log(a); }
797
-
798
- /** \internal \returns the log1p of \a a (coeff-wise) */
799
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
800
- Packet plog1p(const Packet& a) { return numext::log1p(a); }
801
-
802
- /** \internal \returns the log10 of \a a (coeff-wise) */
803
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
804
- Packet plog10(const Packet& a) { EIGEN_USING_STD(log10); return log10(a); }
805
-
806
- /** \internal \returns the log10 of \a a (coeff-wise) */
807
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
808
- Packet plog2(const Packet& a) {
809
- typedef typename internal::unpacket_traits<Packet>::type Scalar;
810
- return pmul(pset1<Packet>(Scalar(EIGEN_LOG2E)), plog(a));
811
- }
812
-
813
- /** \internal \returns the square-root of \a a (coeff-wise) */
814
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
815
- Packet psqrt(const Packet& a) { return numext::sqrt(a); }
816
-
817
- /** \internal \returns the reciprocal square-root of \a a (coeff-wise) */
818
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
819
- Packet prsqrt(const Packet& a) {
820
- typedef typename internal::unpacket_traits<Packet>::type Scalar;
821
- return pdiv(pset1<Packet>(Scalar(1)), psqrt(a));
822
- }
823
-
824
- /** \internal \returns the rounded value of \a a (coeff-wise) */
825
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
826
- Packet pround(const Packet& a) { using numext::round; return round(a); }
827
-
828
- /** \internal \returns the floor of \a a (coeff-wise) */
829
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
830
- Packet pfloor(const Packet& a) { using numext::floor; return floor(a); }
831
-
832
- /** \internal \returns the rounded value of \a a (coeff-wise) with current
833
- * rounding mode */
834
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
835
- Packet print(const Packet& a) { using numext::rint; return rint(a); }
836
-
837
- /** \internal \returns the ceil of \a a (coeff-wise) */
838
- template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
839
- Packet pceil(const Packet& a) { using numext::ceil; return ceil(a); }
840
-
841
- /** \internal \returns the first element of a packet */
842
- template<typename Packet>
843
- EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type
844
- pfirst(const Packet& a)
845
- { return a; }
846
-
847
- /** \internal \returns the sum of the elements of upper and lower half of \a a if \a a is larger than 4.
848
- * For a packet {a0, a1, a2, a3, a4, a5, a6, a7}, it returns a half packet {a0+a4, a1+a5, a2+a6, a3+a7}
849
- * For packet-size smaller or equal to 4, this boils down to a noop.
850
- */
851
- template<typename Packet>
852
- EIGEN_DEVICE_FUNC inline typename conditional<(unpacket_traits<Packet>::size%8)==0,typename unpacket_traits<Packet>::half,Packet>::type
853
- predux_half_dowto4(const Packet& a)
854
- { return a; }
855
-
856
- // Slow generic implementation of Packet reduction.
857
- template <typename Packet, typename Op>
858
- EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type
859
- predux_helper(const Packet& a, Op op) {
860
- typedef typename unpacket_traits<Packet>::type Scalar;
861
- const size_t n = unpacket_traits<Packet>::size;
862
- EIGEN_ALIGN_TO_BOUNDARY(sizeof(Packet)) Scalar elements[n];
863
- pstoreu<Scalar>(elements, a);
864
- for(size_t k = n / 2; k > 0; k /= 2) {
865
- for(size_t i = 0; i < k; ++i) {
866
- elements[i] = op(elements[i], elements[i + k]);
867
- }
868
- }
869
- return elements[0];
870
- }
871
-
872
- /** \internal \returns the sum of the elements of \a a*/
873
- template<typename Packet>
874
- EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type
875
- predux(const Packet& a)
876
- {
877
- return a;
878
- }
879
-
880
- /** \internal \returns the product of the elements of \a a */
881
- template <typename Packet>
882
- EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type predux_mul(
883
- const Packet& a) {
884
- typedef typename unpacket_traits<Packet>::type Scalar;
885
- return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmul<Scalar>)));
886
- }
887
-
888
- /** \internal \returns the min of the elements of \a a */
889
- template <typename Packet>
890
- EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type predux_min(
891
- const Packet &a) {
892
- typedef typename unpacket_traits<Packet>::type Scalar;
893
- return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmin<PropagateFast, Scalar>)));
894
- }
895
-
896
- template <int NaNPropagation, typename Packet>
897
- EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type predux_min(
898
- const Packet& a) {
899
- typedef typename unpacket_traits<Packet>::type Scalar;
900
- return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmin<NaNPropagation, Scalar>)));
901
- }
902
-
903
- /** \internal \returns the min of the elements of \a a */
904
- template <typename Packet>
905
- EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type predux_max(
906
- const Packet &a) {
907
- typedef typename unpacket_traits<Packet>::type Scalar;
908
- return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmax<PropagateFast, Scalar>)));
909
- }
910
-
911
- template <int NaNPropagation, typename Packet>
912
- EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type predux_max(
913
- const Packet& a) {
914
- typedef typename unpacket_traits<Packet>::type Scalar;
915
- return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmax<NaNPropagation, Scalar>)));
916
- }
917
-
918
- #undef EIGEN_BINARY_OP_NAN_PROPAGATION
919
-
920
- /** \internal \returns true if all coeffs of \a a means "true"
921
- * It is supposed to be called on values returned by pcmp_*.
922
- */
923
- // not needed yet
924
- // template<typename Packet> EIGEN_DEVICE_FUNC inline bool predux_all(const Packet& a)
925
- // { return bool(a); }
926
-
927
- /** \internal \returns true if any coeffs of \a a means "true"
928
- * It is supposed to be called on values returned by pcmp_*.
929
- */
930
- template<typename Packet> EIGEN_DEVICE_FUNC inline bool predux_any(const Packet& a)
931
- {
932
- // Dirty but generic implementation where "true" is assumed to be non 0 and all the sames.
933
- // It is expected that "true" is either:
934
- // - Scalar(1)
935
- // - bits full of ones (NaN for floats),
936
- // - or first bit equals to 1 (1 for ints, smallest denormal for floats).
937
- // For all these cases, taking the sum is just fine, and this boils down to a no-op for scalars.
938
- typedef typename unpacket_traits<Packet>::type Scalar;
939
- return numext::not_equal_strict(predux(a), Scalar(0));
940
- }
941
-
942
- /***************************************************************************
943
- * The following functions might not have to be overwritten for vectorized types
944
- ***************************************************************************/
945
-
946
- /** \internal copy a packet with constant coefficient \a a (e.g., [a,a,a,a]) to \a *to. \a to must be 16 bytes aligned */
947
- // NOTE: this function must really be templated on the packet type (think about different packet types for the same scalar type)
948
- template<typename Packet>
949
- inline void pstore1(typename unpacket_traits<Packet>::type* to, const typename unpacket_traits<Packet>::type& a)
950
- {
951
- pstore(to, pset1<Packet>(a));
952
- }
953
-
954
- /** \internal \returns a * b + c (coeff-wise) */
955
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
956
- pmadd(const Packet& a,
957
- const Packet& b,
958
- const Packet& c)
959
- { return padd(pmul(a, b),c); }
960
-
961
- /** \internal \returns a packet version of \a *from.
962
- * The pointer \a from must be aligned on a \a Alignment bytes boundary. */
963
- template<typename Packet, int Alignment>
964
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet ploadt(const typename unpacket_traits<Packet>::type* from)
965
- {
966
- if(Alignment >= unpacket_traits<Packet>::alignment)
967
- return pload<Packet>(from);
968
- else
969
- return ploadu<Packet>(from);
970
- }
971
-
972
- /** \internal copy the packet \a from to \a *to.
973
- * The pointer \a from must be aligned on a \a Alignment bytes boundary. */
974
- template<typename Scalar, typename Packet, int Alignment>
975
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void pstoret(Scalar* to, const Packet& from)
976
- {
977
- if(Alignment >= unpacket_traits<Packet>::alignment)
978
- pstore(to, from);
979
- else
980
- pstoreu(to, from);
981
- }
982
-
983
- /** \internal \returns a packet version of \a *from.
984
- * Unlike ploadt, ploadt_ro takes advantage of the read-only memory path on the
985
- * hardware if available to speedup the loading of data that won't be modified
986
- * by the current computation.
987
- */
988
- template<typename Packet, int LoadMode>
989
- EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet ploadt_ro(const typename unpacket_traits<Packet>::type* from)
990
- {
991
- return ploadt<Packet, LoadMode>(from);
992
- }
993
-
994
- /***************************************************************************
995
- * Fast complex products (GCC generates a function call which is very slow)
996
- ***************************************************************************/
997
-
998
- // Eigen+CUDA does not support complexes.
999
- #if !defined(EIGEN_GPUCC)
1000
-
1001
- template<> inline std::complex<float> pmul(const std::complex<float>& a, const std::complex<float>& b)
1002
- { return std::complex<float>(a.real()*b.real() - a.imag()*b.imag(), a.imag()*b.real() + a.real()*b.imag()); }
1003
-
1004
- template<> inline std::complex<double> pmul(const std::complex<double>& a, const std::complex<double>& b)
1005
- { return std::complex<double>(a.real()*b.real() - a.imag()*b.imag(), a.imag()*b.real() + a.real()*b.imag()); }
1006
-
1007
- #endif
1008
-
1009
-
1010
- /***************************************************************************
1011
- * PacketBlock, that is a collection of N packets where the number of words
1012
- * in the packet is a multiple of N.
1013
- ***************************************************************************/
1014
- template <typename Packet,int N=unpacket_traits<Packet>::size> struct PacketBlock {
1015
- Packet packet[N];
1016
- };
1017
-
1018
- template<typename Packet> EIGEN_DEVICE_FUNC inline void
1019
- ptranspose(PacketBlock<Packet,1>& /*kernel*/) {
1020
- // Nothing to do in the scalar case, i.e. a 1x1 matrix.
1021
- }
1022
-
1023
- /***************************************************************************
1024
- * Selector, i.e. vector of N boolean values used to select (i.e. blend)
1025
- * words from 2 packets.
1026
- ***************************************************************************/
1027
- template <size_t N> struct Selector {
1028
- bool select[N];
1029
- };
1030
-
1031
- template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
1032
- pblend(const Selector<unpacket_traits<Packet>::size>& ifPacket, const Packet& thenPacket, const Packet& elsePacket) {
1033
- return ifPacket.select[0] ? thenPacket : elsePacket;
1034
- }
1035
-
1036
- } // end namespace internal
1037
-
1038
- } // end namespace Eigen
1039
-
1040
- #endif // EIGEN_GENERIC_PACKET_MATH_H