xtgeo 4.10.0__cp313-cp313-win_amd64.whl → 4.11.0__cp313-cp313-win_amd64.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 (546) hide show
  1. xtgeo/_cxtgeo.cp313-win_amd64.pyd +0 -0
  2. xtgeo/_internal.cp313-win_amd64.pyd +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/metadata/metadata.py +20 -13
  8. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/METADATA +1 -1
  9. xtgeo-4.11.0.dist-info/RECORD +117 -0
  10. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/WHEEL +1 -1
  11. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  12. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  13. xtgeo/include/eigen3/Eigen/Core +0 -384
  14. xtgeo/include/eigen3/Eigen/Dense +0 -7
  15. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  16. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  17. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  18. xtgeo/include/eigen3/Eigen/Householder +0 -29
  19. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  20. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  21. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  22. xtgeo/include/eigen3/Eigen/LU +0 -47
  23. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  24. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  25. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  26. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  27. xtgeo/include/eigen3/Eigen/QR +0 -50
  28. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  29. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  30. xtgeo/include/eigen3/Eigen/SVD +0 -50
  31. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  32. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  33. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  34. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  35. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  36. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  37. xtgeo/include/eigen3/Eigen/StdList +0 -26
  38. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  39. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  40. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  41. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  42. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  43. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  44. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  45. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  46. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  47. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  48. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  49. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  50. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  51. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  52. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  53. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  54. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  55. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  56. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  57. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  58. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  59. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  60. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  61. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  62. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  63. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  64. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  65. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  66. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  67. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  68. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  69. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  70. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  71. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  72. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  73. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  74. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  75. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  76. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  77. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  78. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  79. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  80. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  81. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  82. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  83. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  84. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  85. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  86. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  87. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  88. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  89. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  90. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  91. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  92. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  93. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  94. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  95. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  96. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  97. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  98. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  99. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  100. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  101. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  102. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  103. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  104. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  105. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  106. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  107. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  108. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  109. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  110. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  111. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  112. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  113. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  114. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  115. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  116. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  117. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  118. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  119. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  120. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  121. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  122. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  123. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  124. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  125. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  126. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  127. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  128. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  129. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  130. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  131. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  132. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  133. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  134. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  135. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  136. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  166. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  167. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  168. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  169. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  170. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  171. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  172. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  173. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  174. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  175. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  176. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  177. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  178. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  179. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  180. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  181. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  182. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  183. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  184. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  185. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  186. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  187. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  188. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  189. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  190. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  191. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  192. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  193. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  194. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  195. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  196. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  197. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  198. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  199. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  200. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  201. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  202. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  203. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  204. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  205. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  206. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  207. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  208. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  209. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  210. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  211. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  212. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  213. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  214. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  215. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  216. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  217. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  218. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  219. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  220. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  221. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  222. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  223. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  224. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  225. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  226. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  227. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  228. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  229. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  230. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  231. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  232. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  233. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  234. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  235. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  236. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  237. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  238. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  239. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  240. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  241. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  242. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  243. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  244. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  245. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  246. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  247. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  248. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  249. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  250. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  251. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  252. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  253. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  254. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  255. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  256. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  257. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  258. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  259. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  260. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  261. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  262. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  263. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  264. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  265. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  266. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  267. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  268. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  269. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  270. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  271. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  272. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  273. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  274. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  275. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  276. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  277. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  278. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  279. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  280. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  281. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  282. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  283. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  284. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  285. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  286. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  287. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  288. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  289. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  290. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  291. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  292. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  293. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  294. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  295. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  296. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  297. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  308. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  309. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  310. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  311. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  312. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  313. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  314. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  315. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  316. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  317. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  318. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  319. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  320. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  321. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  322. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  323. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  324. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  325. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  326. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  327. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  328. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  329. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  330. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  331. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  332. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  333. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  334. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  335. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  336. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  337. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  338. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  339. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  340. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  341. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  342. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  343. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  344. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  345. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  346. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  347. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  348. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  349. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  350. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  351. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  352. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  353. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  354. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  355. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  356. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  357. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  358. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  359. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  360. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  361. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  362. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  363. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  364. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  365. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  366. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  367. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  368. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  369. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  370. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  371. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  372. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  373. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  444. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  445. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  446. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  447. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  448. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  449. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  450. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  451. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  452. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  453. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  454. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  455. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  456. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  457. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  458. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  459. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  460. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  461. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  462. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  463. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  464. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  465. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  466. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  467. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  468. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  469. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  470. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  471. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  472. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  473. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  474. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  475. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  476. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  477. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  478. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  479. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  480. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  481. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  482. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  483. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  484. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  485. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  486. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  487. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  488. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  489. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  490. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  491. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  492. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  493. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  494. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  495. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  496. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  497. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  498. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  499. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  500. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  501. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  502. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  503. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  504. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  505. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  506. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  507. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  508. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  509. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  510. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  511. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  512. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  513. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  514. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  515. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  516. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  517. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  518. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  519. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  520. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  521. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  522. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  523. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  524. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  525. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  526. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  527. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  528. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  529. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  530. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  531. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  538. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  539. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  540. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  541. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  542. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  543. xtgeo/share/eigen3/cmake/Eigen3Targets.cmake +0 -106
  544. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  545. xtgeo-4.10.0.dist-info/RECORD +0 -651
  546. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,1131 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2008-2016 Gael Guennebaud <gael.guennebaud@inria.fr>
5
- //
6
- // This Source Code Form is subject to the terms of the Mozilla
7
- // Public License v. 2.0. If a copy of the MPL was not distributed
8
- // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
-
10
- #ifndef EIGEN_UNARY_FUNCTORS_H
11
- #define EIGEN_UNARY_FUNCTORS_H
12
-
13
- namespace Eigen {
14
-
15
- namespace internal {
16
-
17
- /** \internal
18
- * \brief Template functor to compute the opposite of a scalar
19
- *
20
- * \sa class CwiseUnaryOp, MatrixBase::operator-
21
- */
22
- template<typename Scalar> struct scalar_opposite_op {
23
- EIGEN_EMPTY_STRUCT_CTOR(scalar_opposite_op)
24
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const { return -a; }
25
- template<typename Packet>
26
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp(const Packet& a) const
27
- { return internal::pnegate(a); }
28
- };
29
- template<typename Scalar>
30
- struct functor_traits<scalar_opposite_op<Scalar> >
31
- { enum {
32
- Cost = NumTraits<Scalar>::AddCost,
33
- PacketAccess = packet_traits<Scalar>::HasNegate };
34
- };
35
-
36
- /** \internal
37
- * \brief Template functor to compute the absolute value of a scalar
38
- *
39
- * \sa class CwiseUnaryOp, Cwise::abs
40
- */
41
- template<typename Scalar> struct scalar_abs_op {
42
- EIGEN_EMPTY_STRUCT_CTOR(scalar_abs_op)
43
- typedef typename NumTraits<Scalar>::Real result_type;
44
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const Scalar& a) const { return numext::abs(a); }
45
- template<typename Packet>
46
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp(const Packet& a) const
47
- { return internal::pabs(a); }
48
- };
49
- template<typename Scalar>
50
- struct functor_traits<scalar_abs_op<Scalar> >
51
- {
52
- enum {
53
- Cost = NumTraits<Scalar>::AddCost,
54
- PacketAccess = packet_traits<Scalar>::HasAbs
55
- };
56
- };
57
-
58
- /** \internal
59
- * \brief Template functor to compute the score of a scalar, to chose a pivot
60
- *
61
- * \sa class CwiseUnaryOp
62
- */
63
- template<typename Scalar> struct scalar_score_coeff_op : scalar_abs_op<Scalar>
64
- {
65
- typedef void Score_is_abs;
66
- };
67
- template<typename Scalar>
68
- struct functor_traits<scalar_score_coeff_op<Scalar> > : functor_traits<scalar_abs_op<Scalar> > {};
69
-
70
- /* Avoid recomputing abs when we know the score and they are the same. Not a true Eigen functor. */
71
- template<typename Scalar, typename=void> struct abs_knowing_score
72
- {
73
- EIGEN_EMPTY_STRUCT_CTOR(abs_knowing_score)
74
- typedef typename NumTraits<Scalar>::Real result_type;
75
- template<typename Score>
76
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const Scalar& a, const Score&) const { return numext::abs(a); }
77
- };
78
- template<typename Scalar> struct abs_knowing_score<Scalar, typename scalar_score_coeff_op<Scalar>::Score_is_abs>
79
- {
80
- EIGEN_EMPTY_STRUCT_CTOR(abs_knowing_score)
81
- typedef typename NumTraits<Scalar>::Real result_type;
82
- template<typename Scal>
83
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const Scal&, const result_type& a) const { return a; }
84
- };
85
-
86
- /** \internal
87
- * \brief Template functor to compute the squared absolute value of a scalar
88
- *
89
- * \sa class CwiseUnaryOp, Cwise::abs2
90
- */
91
- template<typename Scalar> struct scalar_abs2_op {
92
- EIGEN_EMPTY_STRUCT_CTOR(scalar_abs2_op)
93
- typedef typename NumTraits<Scalar>::Real result_type;
94
- EIGEN_DEVICE_FUNC
95
- EIGEN_STRONG_INLINE const result_type operator() (const Scalar& a) const { return numext::abs2(a); }
96
- template<typename Packet>
97
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp(const Packet& a) const
98
- { return internal::pmul(a,a); }
99
- };
100
- template<typename Scalar>
101
- struct functor_traits<scalar_abs2_op<Scalar> >
102
- { enum { Cost = NumTraits<Scalar>::MulCost, PacketAccess = packet_traits<Scalar>::HasAbs2 }; };
103
-
104
- /** \internal
105
- * \brief Template functor to compute the conjugate of a complex value
106
- *
107
- * \sa class CwiseUnaryOp, MatrixBase::conjugate()
108
- */
109
- template<typename Scalar> struct scalar_conjugate_op {
110
- EIGEN_EMPTY_STRUCT_CTOR(scalar_conjugate_op)
111
- EIGEN_DEVICE_FUNC
112
- EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const { return numext::conj(a); }
113
- template<typename Packet>
114
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp(const Packet& a) const { return internal::pconj(a); }
115
- };
116
- template<typename Scalar>
117
- struct functor_traits<scalar_conjugate_op<Scalar> >
118
- {
119
- enum {
120
- Cost = 0,
121
- // Yes the cost is zero even for complexes because in most cases for which
122
- // the cost is used, conjugation turns to be a no-op. Some examples:
123
- // cost(a*conj(b)) == cost(a*b)
124
- // cost(a+conj(b)) == cost(a+b)
125
- // <etc.
126
- // If we don't set it to zero, then:
127
- // A.conjugate().lazyProduct(B.conjugate())
128
- // will bake its operands. We definitely don't want that!
129
- PacketAccess = packet_traits<Scalar>::HasConj
130
- };
131
- };
132
-
133
- /** \internal
134
- * \brief Template functor to compute the phase angle of a complex
135
- *
136
- * \sa class CwiseUnaryOp, Cwise::arg
137
- */
138
- template<typename Scalar> struct scalar_arg_op {
139
- EIGEN_EMPTY_STRUCT_CTOR(scalar_arg_op)
140
- typedef typename NumTraits<Scalar>::Real result_type;
141
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const Scalar& a) const { return numext::arg(a); }
142
- template<typename Packet>
143
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp(const Packet& a) const
144
- { return internal::parg(a); }
145
- };
146
- template<typename Scalar>
147
- struct functor_traits<scalar_arg_op<Scalar> >
148
- {
149
- enum {
150
- Cost = NumTraits<Scalar>::IsComplex ? 5 * NumTraits<Scalar>::MulCost : NumTraits<Scalar>::AddCost,
151
- PacketAccess = packet_traits<Scalar>::HasArg
152
- };
153
- };
154
- /** \internal
155
- * \brief Template functor to cast a scalar to another type
156
- *
157
- * \sa class CwiseUnaryOp, MatrixBase::cast()
158
- */
159
- template<typename Scalar, typename NewType>
160
- struct scalar_cast_op {
161
- EIGEN_EMPTY_STRUCT_CTOR(scalar_cast_op)
162
- typedef NewType result_type;
163
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const NewType operator() (const Scalar& a) const { return cast<Scalar, NewType>(a); }
164
- };
165
- template<typename Scalar, typename NewType>
166
- struct functor_traits<scalar_cast_op<Scalar,NewType> >
167
- { enum { Cost = is_same<Scalar, NewType>::value ? 0 : NumTraits<NewType>::AddCost, PacketAccess = false }; };
168
-
169
- /** \internal
170
- * \brief Template functor to arithmetically shift a scalar right by a number of bits
171
- *
172
- * \sa class CwiseUnaryOp, MatrixBase::shift_right()
173
- */
174
- template<typename Scalar, int N>
175
- struct scalar_shift_right_op {
176
- EIGEN_EMPTY_STRUCT_CTOR(scalar_shift_right_op)
177
-
178
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const
179
- { return a >> N; }
180
- template<typename Packet>
181
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp(const Packet& a) const
182
- { return internal::parithmetic_shift_right<N>(a); }
183
- };
184
- template<typename Scalar, int N>
185
- struct functor_traits<scalar_shift_right_op<Scalar,N> >
186
- { enum { Cost = NumTraits<Scalar>::AddCost, PacketAccess = packet_traits<Scalar>::HasShift }; };
187
-
188
- /** \internal
189
- * \brief Template functor to logically shift a scalar left by a number of bits
190
- *
191
- * \sa class CwiseUnaryOp, MatrixBase::shift_left()
192
- */
193
- template<typename Scalar, int N>
194
- struct scalar_shift_left_op {
195
- EIGEN_EMPTY_STRUCT_CTOR(scalar_shift_left_op)
196
-
197
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const
198
- { return a << N; }
199
- template<typename Packet>
200
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp(const Packet& a) const
201
- { return internal::plogical_shift_left<N>(a); }
202
- };
203
- template<typename Scalar, int N>
204
- struct functor_traits<scalar_shift_left_op<Scalar,N> >
205
- { enum { Cost = NumTraits<Scalar>::AddCost, PacketAccess = packet_traits<Scalar>::HasShift }; };
206
-
207
- /** \internal
208
- * \brief Template functor to extract the real part of a complex
209
- *
210
- * \sa class CwiseUnaryOp, MatrixBase::real()
211
- */
212
- template<typename Scalar>
213
- struct scalar_real_op {
214
- EIGEN_EMPTY_STRUCT_CTOR(scalar_real_op)
215
- typedef typename NumTraits<Scalar>::Real result_type;
216
- EIGEN_DEVICE_FUNC
217
- EIGEN_STRONG_INLINE result_type operator() (const Scalar& a) const { return numext::real(a); }
218
- };
219
- template<typename Scalar>
220
- struct functor_traits<scalar_real_op<Scalar> >
221
- { enum { Cost = 0, PacketAccess = false }; };
222
-
223
- /** \internal
224
- * \brief Template functor to extract the imaginary part of a complex
225
- *
226
- * \sa class CwiseUnaryOp, MatrixBase::imag()
227
- */
228
- template<typename Scalar>
229
- struct scalar_imag_op {
230
- EIGEN_EMPTY_STRUCT_CTOR(scalar_imag_op)
231
- typedef typename NumTraits<Scalar>::Real result_type;
232
- EIGEN_DEVICE_FUNC
233
- EIGEN_STRONG_INLINE result_type operator() (const Scalar& a) const { return numext::imag(a); }
234
- };
235
- template<typename Scalar>
236
- struct functor_traits<scalar_imag_op<Scalar> >
237
- { enum { Cost = 0, PacketAccess = false }; };
238
-
239
- /** \internal
240
- * \brief Template functor to extract the real part of a complex as a reference
241
- *
242
- * \sa class CwiseUnaryOp, MatrixBase::real()
243
- */
244
- template<typename Scalar>
245
- struct scalar_real_ref_op {
246
- EIGEN_EMPTY_STRUCT_CTOR(scalar_real_ref_op)
247
- typedef typename NumTraits<Scalar>::Real result_type;
248
- EIGEN_DEVICE_FUNC
249
- EIGEN_STRONG_INLINE result_type& operator() (const Scalar& a) const { return numext::real_ref(*const_cast<Scalar*>(&a)); }
250
- };
251
- template<typename Scalar>
252
- struct functor_traits<scalar_real_ref_op<Scalar> >
253
- { enum { Cost = 0, PacketAccess = false }; };
254
-
255
- /** \internal
256
- * \brief Template functor to extract the imaginary part of a complex as a reference
257
- *
258
- * \sa class CwiseUnaryOp, MatrixBase::imag()
259
- */
260
- template<typename Scalar>
261
- struct scalar_imag_ref_op {
262
- EIGEN_EMPTY_STRUCT_CTOR(scalar_imag_ref_op)
263
- typedef typename NumTraits<Scalar>::Real result_type;
264
- EIGEN_DEVICE_FUNC
265
- EIGEN_STRONG_INLINE result_type& operator() (const Scalar& a) const { return numext::imag_ref(*const_cast<Scalar*>(&a)); }
266
- };
267
- template<typename Scalar>
268
- struct functor_traits<scalar_imag_ref_op<Scalar> >
269
- { enum { Cost = 0, PacketAccess = false }; };
270
-
271
- /** \internal
272
- *
273
- * \brief Template functor to compute the exponential of a scalar
274
- *
275
- * \sa class CwiseUnaryOp, Cwise::exp()
276
- */
277
- template<typename Scalar> struct scalar_exp_op {
278
- EIGEN_EMPTY_STRUCT_CTOR(scalar_exp_op)
279
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::exp(a); }
280
- template <typename Packet>
281
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pexp(a); }
282
- };
283
- template <typename Scalar>
284
- struct functor_traits<scalar_exp_op<Scalar> > {
285
- enum {
286
- PacketAccess = packet_traits<Scalar>::HasExp,
287
- // The following numbers are based on the AVX implementation.
288
- #ifdef EIGEN_VECTORIZE_FMA
289
- // Haswell can issue 2 add/mul/madd per cycle.
290
- Cost =
291
- (sizeof(Scalar) == 4
292
- // float: 8 pmadd, 4 pmul, 2 padd/psub, 6 other
293
- ? (8 * NumTraits<Scalar>::AddCost + 6 * NumTraits<Scalar>::MulCost)
294
- // double: 7 pmadd, 5 pmul, 3 padd/psub, 1 div, 13 other
295
- : (14 * NumTraits<Scalar>::AddCost +
296
- 6 * NumTraits<Scalar>::MulCost +
297
- scalar_div_cost<Scalar,packet_traits<Scalar>::HasDiv>::value))
298
- #else
299
- Cost =
300
- (sizeof(Scalar) == 4
301
- // float: 7 pmadd, 6 pmul, 4 padd/psub, 10 other
302
- ? (21 * NumTraits<Scalar>::AddCost + 13 * NumTraits<Scalar>::MulCost)
303
- // double: 7 pmadd, 5 pmul, 3 padd/psub, 1 div, 13 other
304
- : (23 * NumTraits<Scalar>::AddCost +
305
- 12 * NumTraits<Scalar>::MulCost +
306
- scalar_div_cost<Scalar,packet_traits<Scalar>::HasDiv>::value))
307
- #endif
308
- };
309
- };
310
-
311
- /** \internal
312
- *
313
- * \brief Template functor to compute the exponential of a scalar - 1.
314
- *
315
- * \sa class CwiseUnaryOp, ArrayBase::expm1()
316
- */
317
- template<typename Scalar> struct scalar_expm1_op {
318
- EIGEN_EMPTY_STRUCT_CTOR(scalar_expm1_op)
319
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::expm1(a); }
320
- template <typename Packet>
321
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pexpm1(a); }
322
- };
323
- template <typename Scalar>
324
- struct functor_traits<scalar_expm1_op<Scalar> > {
325
- enum {
326
- PacketAccess = packet_traits<Scalar>::HasExpm1,
327
- Cost = functor_traits<scalar_exp_op<Scalar> >::Cost // TODO measure cost of expm1
328
- };
329
- };
330
-
331
- /** \internal
332
- *
333
- * \brief Template functor to compute the logarithm of a scalar
334
- *
335
- * \sa class CwiseUnaryOp, ArrayBase::log()
336
- */
337
- template<typename Scalar> struct scalar_log_op {
338
- EIGEN_EMPTY_STRUCT_CTOR(scalar_log_op)
339
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::log(a); }
340
- template <typename Packet>
341
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::plog(a); }
342
- };
343
- template <typename Scalar>
344
- struct functor_traits<scalar_log_op<Scalar> > {
345
- enum {
346
- PacketAccess = packet_traits<Scalar>::HasLog,
347
- Cost =
348
- (PacketAccess
349
- // The following numbers are based on the AVX implementation.
350
- #ifdef EIGEN_VECTORIZE_FMA
351
- // 8 pmadd, 6 pmul, 8 padd/psub, 16 other, can issue 2 add/mul/madd per cycle.
352
- ? (20 * NumTraits<Scalar>::AddCost + 7 * NumTraits<Scalar>::MulCost)
353
- #else
354
- // 8 pmadd, 6 pmul, 8 padd/psub, 20 other
355
- ? (36 * NumTraits<Scalar>::AddCost + 14 * NumTraits<Scalar>::MulCost)
356
- #endif
357
- // Measured cost of std::log.
358
- : sizeof(Scalar)==4 ? 40 : 85)
359
- };
360
- };
361
-
362
- /** \internal
363
- *
364
- * \brief Template functor to compute the logarithm of 1 plus a scalar value
365
- *
366
- * \sa class CwiseUnaryOp, ArrayBase::log1p()
367
- */
368
- template<typename Scalar> struct scalar_log1p_op {
369
- EIGEN_EMPTY_STRUCT_CTOR(scalar_log1p_op)
370
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::log1p(a); }
371
- template <typename Packet>
372
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::plog1p(a); }
373
- };
374
- template <typename Scalar>
375
- struct functor_traits<scalar_log1p_op<Scalar> > {
376
- enum {
377
- PacketAccess = packet_traits<Scalar>::HasLog1p,
378
- Cost = functor_traits<scalar_log_op<Scalar> >::Cost // TODO measure cost of log1p
379
- };
380
- };
381
-
382
- /** \internal
383
- *
384
- * \brief Template functor to compute the base-10 logarithm of a scalar
385
- *
386
- * \sa class CwiseUnaryOp, Cwise::log10()
387
- */
388
- template<typename Scalar> struct scalar_log10_op {
389
- EIGEN_EMPTY_STRUCT_CTOR(scalar_log10_op)
390
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { EIGEN_USING_STD(log10) return log10(a); }
391
- template <typename Packet>
392
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::plog10(a); }
393
- };
394
- template<typename Scalar>
395
- struct functor_traits<scalar_log10_op<Scalar> >
396
- { enum { Cost = 5 * NumTraits<Scalar>::MulCost, PacketAccess = packet_traits<Scalar>::HasLog10 }; };
397
-
398
- /** \internal
399
- *
400
- * \brief Template functor to compute the base-2 logarithm of a scalar
401
- *
402
- * \sa class CwiseUnaryOp, Cwise::log2()
403
- */
404
- template<typename Scalar> struct scalar_log2_op {
405
- EIGEN_EMPTY_STRUCT_CTOR(scalar_log2_op)
406
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return Scalar(EIGEN_LOG2E) * numext::log(a); }
407
- template <typename Packet>
408
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::plog2(a); }
409
- };
410
- template<typename Scalar>
411
- struct functor_traits<scalar_log2_op<Scalar> >
412
- { enum { Cost = 5 * NumTraits<Scalar>::MulCost, PacketAccess = packet_traits<Scalar>::HasLog }; };
413
-
414
- /** \internal
415
- * \brief Template functor to compute the square root of a scalar
416
- * \sa class CwiseUnaryOp, Cwise::sqrt()
417
- */
418
- template<typename Scalar> struct scalar_sqrt_op {
419
- EIGEN_EMPTY_STRUCT_CTOR(scalar_sqrt_op)
420
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::sqrt(a); }
421
- template <typename Packet>
422
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::psqrt(a); }
423
- };
424
- template <typename Scalar>
425
- struct functor_traits<scalar_sqrt_op<Scalar> > {
426
- enum {
427
- #if EIGEN_FAST_MATH
428
- // The following numbers are based on the AVX implementation.
429
- Cost = (sizeof(Scalar) == 8 ? 28
430
- // 4 pmul, 1 pmadd, 3 other
431
- : (3 * NumTraits<Scalar>::AddCost +
432
- 5 * NumTraits<Scalar>::MulCost)),
433
- #else
434
- // The following numbers are based on min VSQRT throughput on Haswell.
435
- Cost = (sizeof(Scalar) == 8 ? 28 : 14),
436
- #endif
437
- PacketAccess = packet_traits<Scalar>::HasSqrt
438
- };
439
- };
440
-
441
- // Boolean specialization to eliminate -Wimplicit-conversion-floating-point-to-bool warnings.
442
- template<> struct scalar_sqrt_op<bool> {
443
- EIGEN_EMPTY_STRUCT_CTOR(scalar_sqrt_op)
444
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline bool operator() (const bool& a) const { return a; }
445
- template <typename Packet>
446
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return a; }
447
- };
448
- template <>
449
- struct functor_traits<scalar_sqrt_op<bool> > {
450
- enum { Cost = 1, PacketAccess = packet_traits<bool>::Vectorizable };
451
- };
452
-
453
- /** \internal
454
- * \brief Template functor to compute the reciprocal square root of a scalar
455
- * \sa class CwiseUnaryOp, Cwise::rsqrt()
456
- */
457
- template<typename Scalar> struct scalar_rsqrt_op {
458
- EIGEN_EMPTY_STRUCT_CTOR(scalar_rsqrt_op)
459
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::rsqrt(a); }
460
- template <typename Packet>
461
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::prsqrt(a); }
462
- };
463
-
464
- template<typename Scalar>
465
- struct functor_traits<scalar_rsqrt_op<Scalar> >
466
- { enum {
467
- Cost = 5 * NumTraits<Scalar>::MulCost,
468
- PacketAccess = packet_traits<Scalar>::HasRsqrt
469
- };
470
- };
471
-
472
- /** \internal
473
- * \brief Template functor to compute the cosine of a scalar
474
- * \sa class CwiseUnaryOp, ArrayBase::cos()
475
- */
476
- template<typename Scalar> struct scalar_cos_op {
477
- EIGEN_EMPTY_STRUCT_CTOR(scalar_cos_op)
478
- EIGEN_DEVICE_FUNC inline Scalar operator() (const Scalar& a) const { return numext::cos(a); }
479
- template <typename Packet>
480
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pcos(a); }
481
- };
482
- template<typename Scalar>
483
- struct functor_traits<scalar_cos_op<Scalar> >
484
- {
485
- enum {
486
- Cost = 5 * NumTraits<Scalar>::MulCost,
487
- PacketAccess = packet_traits<Scalar>::HasCos
488
- };
489
- };
490
-
491
- /** \internal
492
- * \brief Template functor to compute the sine of a scalar
493
- * \sa class CwiseUnaryOp, ArrayBase::sin()
494
- */
495
- template<typename Scalar> struct scalar_sin_op {
496
- EIGEN_EMPTY_STRUCT_CTOR(scalar_sin_op)
497
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::sin(a); }
498
- template <typename Packet>
499
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::psin(a); }
500
- };
501
- template<typename Scalar>
502
- struct functor_traits<scalar_sin_op<Scalar> >
503
- {
504
- enum {
505
- Cost = 5 * NumTraits<Scalar>::MulCost,
506
- PacketAccess = packet_traits<Scalar>::HasSin
507
- };
508
- };
509
-
510
-
511
- /** \internal
512
- * \brief Template functor to compute the tan of a scalar
513
- * \sa class CwiseUnaryOp, ArrayBase::tan()
514
- */
515
- template<typename Scalar> struct scalar_tan_op {
516
- EIGEN_EMPTY_STRUCT_CTOR(scalar_tan_op)
517
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::tan(a); }
518
- template <typename Packet>
519
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::ptan(a); }
520
- };
521
- template<typename Scalar>
522
- struct functor_traits<scalar_tan_op<Scalar> >
523
- {
524
- enum {
525
- Cost = 5 * NumTraits<Scalar>::MulCost,
526
- PacketAccess = packet_traits<Scalar>::HasTan
527
- };
528
- };
529
-
530
- /** \internal
531
- * \brief Template functor to compute the arc cosine of a scalar
532
- * \sa class CwiseUnaryOp, ArrayBase::acos()
533
- */
534
- template<typename Scalar> struct scalar_acos_op {
535
- EIGEN_EMPTY_STRUCT_CTOR(scalar_acos_op)
536
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::acos(a); }
537
- template <typename Packet>
538
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pacos(a); }
539
- };
540
- template<typename Scalar>
541
- struct functor_traits<scalar_acos_op<Scalar> >
542
- {
543
- enum {
544
- Cost = 5 * NumTraits<Scalar>::MulCost,
545
- PacketAccess = packet_traits<Scalar>::HasACos
546
- };
547
- };
548
-
549
- /** \internal
550
- * \brief Template functor to compute the arc sine of a scalar
551
- * \sa class CwiseUnaryOp, ArrayBase::asin()
552
- */
553
- template<typename Scalar> struct scalar_asin_op {
554
- EIGEN_EMPTY_STRUCT_CTOR(scalar_asin_op)
555
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::asin(a); }
556
- template <typename Packet>
557
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pasin(a); }
558
- };
559
- template<typename Scalar>
560
- struct functor_traits<scalar_asin_op<Scalar> >
561
- {
562
- enum {
563
- Cost = 5 * NumTraits<Scalar>::MulCost,
564
- PacketAccess = packet_traits<Scalar>::HasASin
565
- };
566
- };
567
-
568
-
569
- /** \internal
570
- * \brief Template functor to compute the atan of a scalar
571
- * \sa class CwiseUnaryOp, ArrayBase::atan()
572
- */
573
- template<typename Scalar> struct scalar_atan_op {
574
- EIGEN_EMPTY_STRUCT_CTOR(scalar_atan_op)
575
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::atan(a); }
576
- template <typename Packet>
577
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::patan(a); }
578
- };
579
- template<typename Scalar>
580
- struct functor_traits<scalar_atan_op<Scalar> >
581
- {
582
- enum {
583
- Cost = 5 * NumTraits<Scalar>::MulCost,
584
- PacketAccess = packet_traits<Scalar>::HasATan
585
- };
586
- };
587
-
588
- /** \internal
589
- * \brief Template functor to compute the tanh of a scalar
590
- * \sa class CwiseUnaryOp, ArrayBase::tanh()
591
- */
592
- template <typename Scalar>
593
- struct scalar_tanh_op {
594
- EIGEN_EMPTY_STRUCT_CTOR(scalar_tanh_op)
595
- EIGEN_DEVICE_FUNC inline const Scalar operator()(const Scalar& a) const { return numext::tanh(a); }
596
- template <typename Packet>
597
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& x) const { return ptanh(x); }
598
- };
599
-
600
- template <typename Scalar>
601
- struct functor_traits<scalar_tanh_op<Scalar> > {
602
- enum {
603
- PacketAccess = packet_traits<Scalar>::HasTanh,
604
- Cost = ( (EIGEN_FAST_MATH && is_same<Scalar,float>::value)
605
- // The following numbers are based on the AVX implementation,
606
- #ifdef EIGEN_VECTORIZE_FMA
607
- // Haswell can issue 2 add/mul/madd per cycle.
608
- // 9 pmadd, 2 pmul, 1 div, 2 other
609
- ? (2 * NumTraits<Scalar>::AddCost +
610
- 6 * NumTraits<Scalar>::MulCost +
611
- scalar_div_cost<Scalar,packet_traits<Scalar>::HasDiv>::value)
612
- #else
613
- ? (11 * NumTraits<Scalar>::AddCost +
614
- 11 * NumTraits<Scalar>::MulCost +
615
- scalar_div_cost<Scalar,packet_traits<Scalar>::HasDiv>::value)
616
- #endif
617
- // This number assumes a naive implementation of tanh
618
- : (6 * NumTraits<Scalar>::AddCost +
619
- 3 * NumTraits<Scalar>::MulCost +
620
- 2 * scalar_div_cost<Scalar,packet_traits<Scalar>::HasDiv>::value +
621
- functor_traits<scalar_exp_op<Scalar> >::Cost))
622
- };
623
- };
624
-
625
- #if EIGEN_HAS_CXX11_MATH
626
- /** \internal
627
- * \brief Template functor to compute the atanh of a scalar
628
- * \sa class CwiseUnaryOp, ArrayBase::atanh()
629
- */
630
- template <typename Scalar>
631
- struct scalar_atanh_op {
632
- EIGEN_EMPTY_STRUCT_CTOR(scalar_atanh_op)
633
- EIGEN_DEVICE_FUNC inline const Scalar operator()(const Scalar& a) const { return numext::atanh(a); }
634
- };
635
-
636
- template <typename Scalar>
637
- struct functor_traits<scalar_atanh_op<Scalar> > {
638
- enum { Cost = 5 * NumTraits<Scalar>::MulCost, PacketAccess = false };
639
- };
640
- #endif
641
-
642
- /** \internal
643
- * \brief Template functor to compute the sinh of a scalar
644
- * \sa class CwiseUnaryOp, ArrayBase::sinh()
645
- */
646
- template<typename Scalar> struct scalar_sinh_op {
647
- EIGEN_EMPTY_STRUCT_CTOR(scalar_sinh_op)
648
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::sinh(a); }
649
- template <typename Packet>
650
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::psinh(a); }
651
- };
652
- template<typename Scalar>
653
- struct functor_traits<scalar_sinh_op<Scalar> >
654
- {
655
- enum {
656
- Cost = 5 * NumTraits<Scalar>::MulCost,
657
- PacketAccess = packet_traits<Scalar>::HasSinh
658
- };
659
- };
660
-
661
- #if EIGEN_HAS_CXX11_MATH
662
- /** \internal
663
- * \brief Template functor to compute the asinh of a scalar
664
- * \sa class CwiseUnaryOp, ArrayBase::asinh()
665
- */
666
- template <typename Scalar>
667
- struct scalar_asinh_op {
668
- EIGEN_EMPTY_STRUCT_CTOR(scalar_asinh_op)
669
- EIGEN_DEVICE_FUNC inline const Scalar operator()(const Scalar& a) const { return numext::asinh(a); }
670
- };
671
-
672
- template <typename Scalar>
673
- struct functor_traits<scalar_asinh_op<Scalar> > {
674
- enum { Cost = 5 * NumTraits<Scalar>::MulCost, PacketAccess = false };
675
- };
676
- #endif
677
-
678
- /** \internal
679
- * \brief Template functor to compute the cosh of a scalar
680
- * \sa class CwiseUnaryOp, ArrayBase::cosh()
681
- */
682
- template<typename Scalar> struct scalar_cosh_op {
683
- EIGEN_EMPTY_STRUCT_CTOR(scalar_cosh_op)
684
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const { return numext::cosh(a); }
685
- template <typename Packet>
686
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pcosh(a); }
687
- };
688
- template<typename Scalar>
689
- struct functor_traits<scalar_cosh_op<Scalar> >
690
- {
691
- enum {
692
- Cost = 5 * NumTraits<Scalar>::MulCost,
693
- PacketAccess = packet_traits<Scalar>::HasCosh
694
- };
695
- };
696
-
697
- #if EIGEN_HAS_CXX11_MATH
698
- /** \internal
699
- * \brief Template functor to compute the acosh of a scalar
700
- * \sa class CwiseUnaryOp, ArrayBase::acosh()
701
- */
702
- template <typename Scalar>
703
- struct scalar_acosh_op {
704
- EIGEN_EMPTY_STRUCT_CTOR(scalar_acosh_op)
705
- EIGEN_DEVICE_FUNC inline const Scalar operator()(const Scalar& a) const { return numext::acosh(a); }
706
- };
707
-
708
- template <typename Scalar>
709
- struct functor_traits<scalar_acosh_op<Scalar> > {
710
- enum { Cost = 5 * NumTraits<Scalar>::MulCost, PacketAccess = false };
711
- };
712
- #endif
713
-
714
- /** \internal
715
- * \brief Template functor to compute the inverse of a scalar
716
- * \sa class CwiseUnaryOp, Cwise::inverse()
717
- */
718
- template<typename Scalar>
719
- struct scalar_inverse_op {
720
- EIGEN_EMPTY_STRUCT_CTOR(scalar_inverse_op)
721
- EIGEN_DEVICE_FUNC inline Scalar operator() (const Scalar& a) const { return Scalar(1)/a; }
722
- template<typename Packet>
723
- EIGEN_DEVICE_FUNC inline const Packet packetOp(const Packet& a) const
724
- { return internal::pdiv(pset1<Packet>(Scalar(1)),a); }
725
- };
726
- template <typename Scalar>
727
- struct functor_traits<scalar_inverse_op<Scalar> > {
728
- enum {
729
- PacketAccess = packet_traits<Scalar>::HasDiv,
730
- Cost = scalar_div_cost<Scalar, PacketAccess>::value
731
- };
732
- };
733
-
734
- /** \internal
735
- * \brief Template functor to compute the square of a scalar
736
- * \sa class CwiseUnaryOp, Cwise::square()
737
- */
738
- template<typename Scalar>
739
- struct scalar_square_op {
740
- EIGEN_EMPTY_STRUCT_CTOR(scalar_square_op)
741
- EIGEN_DEVICE_FUNC inline Scalar operator() (const Scalar& a) const { return a*a; }
742
- template<typename Packet>
743
- EIGEN_DEVICE_FUNC inline const Packet packetOp(const Packet& a) const
744
- { return internal::pmul(a,a); }
745
- };
746
- template<typename Scalar>
747
- struct functor_traits<scalar_square_op<Scalar> >
748
- { enum { Cost = NumTraits<Scalar>::MulCost, PacketAccess = packet_traits<Scalar>::HasMul }; };
749
-
750
- // Boolean specialization to avoid -Wint-in-bool-context warnings on GCC.
751
- template<>
752
- struct scalar_square_op<bool> {
753
- EIGEN_EMPTY_STRUCT_CTOR(scalar_square_op)
754
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline bool operator() (const bool& a) const { return a; }
755
- template<typename Packet>
756
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline const Packet packetOp(const Packet& a) const
757
- { return a; }
758
- };
759
- template<>
760
- struct functor_traits<scalar_square_op<bool> >
761
- { enum { Cost = 0, PacketAccess = packet_traits<bool>::Vectorizable }; };
762
-
763
- /** \internal
764
- * \brief Template functor to compute the cube of a scalar
765
- * \sa class CwiseUnaryOp, Cwise::cube()
766
- */
767
- template<typename Scalar>
768
- struct scalar_cube_op {
769
- EIGEN_EMPTY_STRUCT_CTOR(scalar_cube_op)
770
- EIGEN_DEVICE_FUNC inline Scalar operator() (const Scalar& a) const { return a*a*a; }
771
- template<typename Packet>
772
- EIGEN_DEVICE_FUNC inline const Packet packetOp(const Packet& a) const
773
- { return internal::pmul(a,pmul(a,a)); }
774
- };
775
- template<typename Scalar>
776
- struct functor_traits<scalar_cube_op<Scalar> >
777
- { enum { Cost = 2*NumTraits<Scalar>::MulCost, PacketAccess = packet_traits<Scalar>::HasMul }; };
778
-
779
- // Boolean specialization to avoid -Wint-in-bool-context warnings on GCC.
780
- template<>
781
- struct scalar_cube_op<bool> {
782
- EIGEN_EMPTY_STRUCT_CTOR(scalar_cube_op)
783
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline bool operator() (const bool& a) const { return a; }
784
- template<typename Packet>
785
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline const Packet packetOp(const Packet& a) const
786
- { return a; }
787
- };
788
- template<>
789
- struct functor_traits<scalar_cube_op<bool> >
790
- { enum { Cost = 0, PacketAccess = packet_traits<bool>::Vectorizable }; };
791
-
792
- /** \internal
793
- * \brief Template functor to compute the rounded value of a scalar
794
- * \sa class CwiseUnaryOp, ArrayBase::round()
795
- */
796
- template<typename Scalar> struct scalar_round_op {
797
- EIGEN_EMPTY_STRUCT_CTOR(scalar_round_op)
798
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const { return numext::round(a); }
799
- template <typename Packet>
800
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pround(a); }
801
- };
802
- template<typename Scalar>
803
- struct functor_traits<scalar_round_op<Scalar> >
804
- {
805
- enum {
806
- Cost = NumTraits<Scalar>::MulCost,
807
- PacketAccess = packet_traits<Scalar>::HasRound
808
- };
809
- };
810
-
811
- /** \internal
812
- * \brief Template functor to compute the floor of a scalar
813
- * \sa class CwiseUnaryOp, ArrayBase::floor()
814
- */
815
- template<typename Scalar> struct scalar_floor_op {
816
- EIGEN_EMPTY_STRUCT_CTOR(scalar_floor_op)
817
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const { return numext::floor(a); }
818
- template <typename Packet>
819
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pfloor(a); }
820
- };
821
- template<typename Scalar>
822
- struct functor_traits<scalar_floor_op<Scalar> >
823
- {
824
- enum {
825
- Cost = NumTraits<Scalar>::MulCost,
826
- PacketAccess = packet_traits<Scalar>::HasFloor
827
- };
828
- };
829
-
830
- /** \internal
831
- * \brief Template functor to compute the rounded (with current rounding mode) value of a scalar
832
- * \sa class CwiseUnaryOp, ArrayBase::rint()
833
- */
834
- template<typename Scalar> struct scalar_rint_op {
835
- EIGEN_EMPTY_STRUCT_CTOR(scalar_rint_op)
836
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const { return numext::rint(a); }
837
- template <typename Packet>
838
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::print(a); }
839
- };
840
- template<typename Scalar>
841
- struct functor_traits<scalar_rint_op<Scalar> >
842
- {
843
- enum {
844
- Cost = NumTraits<Scalar>::MulCost,
845
- PacketAccess = packet_traits<Scalar>::HasRint
846
- };
847
- };
848
-
849
- /** \internal
850
- * \brief Template functor to compute the ceil of a scalar
851
- * \sa class CwiseUnaryOp, ArrayBase::ceil()
852
- */
853
- template<typename Scalar> struct scalar_ceil_op {
854
- EIGEN_EMPTY_STRUCT_CTOR(scalar_ceil_op)
855
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar& a) const { return numext::ceil(a); }
856
- template <typename Packet>
857
- EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::pceil(a); }
858
- };
859
- template<typename Scalar>
860
- struct functor_traits<scalar_ceil_op<Scalar> >
861
- {
862
- enum {
863
- Cost = NumTraits<Scalar>::MulCost,
864
- PacketAccess = packet_traits<Scalar>::HasCeil
865
- };
866
- };
867
-
868
- /** \internal
869
- * \brief Template functor to compute whether a scalar is NaN
870
- * \sa class CwiseUnaryOp, ArrayBase::isnan()
871
- */
872
- template<typename Scalar> struct scalar_isnan_op {
873
- EIGEN_EMPTY_STRUCT_CTOR(scalar_isnan_op)
874
- typedef bool result_type;
875
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type operator() (const Scalar& a) const {
876
- #if defined(SYCL_DEVICE_ONLY)
877
- return numext::isnan(a);
878
- #else
879
- return (numext::isnan)(a);
880
- #endif
881
- }
882
- };
883
- template<typename Scalar>
884
- struct functor_traits<scalar_isnan_op<Scalar> >
885
- {
886
- enum {
887
- Cost = NumTraits<Scalar>::MulCost,
888
- PacketAccess = false
889
- };
890
- };
891
-
892
- /** \internal
893
- * \brief Template functor to check whether a scalar is +/-inf
894
- * \sa class CwiseUnaryOp, ArrayBase::isinf()
895
- */
896
- template<typename Scalar> struct scalar_isinf_op {
897
- EIGEN_EMPTY_STRUCT_CTOR(scalar_isinf_op)
898
- typedef bool result_type;
899
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type operator() (const Scalar& a) const {
900
- #if defined(SYCL_DEVICE_ONLY)
901
- return numext::isinf(a);
902
- #else
903
- return (numext::isinf)(a);
904
- #endif
905
- }
906
- };
907
- template<typename Scalar>
908
- struct functor_traits<scalar_isinf_op<Scalar> >
909
- {
910
- enum {
911
- Cost = NumTraits<Scalar>::MulCost,
912
- PacketAccess = false
913
- };
914
- };
915
-
916
- /** \internal
917
- * \brief Template functor to check whether a scalar has a finite value
918
- * \sa class CwiseUnaryOp, ArrayBase::isfinite()
919
- */
920
- template<typename Scalar> struct scalar_isfinite_op {
921
- EIGEN_EMPTY_STRUCT_CTOR(scalar_isfinite_op)
922
- typedef bool result_type;
923
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type operator() (const Scalar& a) const {
924
- #if defined(SYCL_DEVICE_ONLY)
925
- return numext::isfinite(a);
926
- #else
927
- return (numext::isfinite)(a);
928
- #endif
929
- }
930
- };
931
- template<typename Scalar>
932
- struct functor_traits<scalar_isfinite_op<Scalar> >
933
- {
934
- enum {
935
- Cost = NumTraits<Scalar>::MulCost,
936
- PacketAccess = false
937
- };
938
- };
939
-
940
- /** \internal
941
- * \brief Template functor to compute the logical not of a boolean
942
- *
943
- * \sa class CwiseUnaryOp, ArrayBase::operator!
944
- */
945
- template<typename Scalar> struct scalar_boolean_not_op {
946
- EIGEN_EMPTY_STRUCT_CTOR(scalar_boolean_not_op)
947
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool operator() (const bool& a) const { return !a; }
948
- };
949
- template<typename Scalar>
950
- struct functor_traits<scalar_boolean_not_op<Scalar> > {
951
- enum {
952
- Cost = NumTraits<bool>::AddCost,
953
- PacketAccess = false
954
- };
955
- };
956
-
957
- /** \internal
958
- * \brief Template functor to compute the signum of a scalar
959
- * \sa class CwiseUnaryOp, Cwise::sign()
960
- */
961
- template<typename Scalar,bool is_complex=(NumTraits<Scalar>::IsComplex!=0), bool is_integer=(NumTraits<Scalar>::IsInteger!=0) > struct scalar_sign_op;
962
- template<typename Scalar>
963
- struct scalar_sign_op<Scalar, false, true> {
964
- EIGEN_EMPTY_STRUCT_CTOR(scalar_sign_op)
965
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const
966
- {
967
- return Scalar( (a>Scalar(0)) - (a<Scalar(0)) );
968
- }
969
- //TODO
970
- //template <typename Packet>
971
- //EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::psign(a); }
972
- };
973
-
974
- template<typename Scalar>
975
- struct scalar_sign_op<Scalar, false, false> {
976
- EIGEN_EMPTY_STRUCT_CTOR(scalar_sign_op)
977
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const
978
- {
979
- return (numext::isnan)(a) ? a : Scalar( (a>Scalar(0)) - (a<Scalar(0)) );
980
- }
981
- //TODO
982
- //template <typename Packet>
983
- //EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::psign(a); }
984
- };
985
-
986
- template<typename Scalar, bool is_integer>
987
- struct scalar_sign_op<Scalar,true, is_integer> {
988
- EIGEN_EMPTY_STRUCT_CTOR(scalar_sign_op)
989
- EIGEN_DEVICE_FUNC inline const Scalar operator() (const Scalar& a) const
990
- {
991
- typedef typename NumTraits<Scalar>::Real real_type;
992
- real_type aa = numext::abs(a);
993
- if (aa==real_type(0))
994
- return Scalar(0);
995
- aa = real_type(1)/aa;
996
- return Scalar(a.real()*aa, a.imag()*aa );
997
- }
998
- //TODO
999
- //template <typename Packet>
1000
- //EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const { return internal::psign(a); }
1001
- };
1002
- template<typename Scalar>
1003
- struct functor_traits<scalar_sign_op<Scalar> >
1004
- { enum {
1005
- Cost =
1006
- NumTraits<Scalar>::IsComplex
1007
- ? ( 8*NumTraits<Scalar>::MulCost ) // roughly
1008
- : ( 3*NumTraits<Scalar>::AddCost),
1009
- PacketAccess = packet_traits<Scalar>::HasSign
1010
- };
1011
- };
1012
-
1013
- /** \internal
1014
- * \brief Template functor to compute the logistic function of a scalar
1015
- * \sa class CwiseUnaryOp, ArrayBase::logistic()
1016
- */
1017
- template <typename T>
1018
- struct scalar_logistic_op {
1019
- EIGEN_EMPTY_STRUCT_CTOR(scalar_logistic_op)
1020
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T operator()(const T& x) const {
1021
- return packetOp(x);
1022
- }
1023
-
1024
- template <typename Packet> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1025
- Packet packetOp(const Packet& x) const {
1026
- const Packet one = pset1<Packet>(T(1));
1027
- return pdiv(one, padd(one, pexp(pnegate(x))));
1028
- }
1029
- };
1030
-
1031
- #ifndef EIGEN_GPU_COMPILE_PHASE
1032
- /** \internal
1033
- * \brief Template specialization of the logistic function for float.
1034
- *
1035
- * Uses just a 9/10-degree rational interpolant which
1036
- * interpolates 1/(1+exp(-x)) - 0.5 up to a couple of ulps in the range
1037
- * [-9, 18]. Below -9 we use the more accurate approximation
1038
- * 1/(1+exp(-x)) ~= exp(x), and above 18 the logistic function is 1 withing
1039
- * one ulp. The shifted logistic is interpolated because it was easier to
1040
- * make the fit converge.
1041
- *
1042
- */
1043
- template <>
1044
- struct scalar_logistic_op<float> {
1045
- EIGEN_EMPTY_STRUCT_CTOR(scalar_logistic_op)
1046
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float operator()(const float& x) const {
1047
- return packetOp(x);
1048
- }
1049
-
1050
- template <typename Packet> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1051
- Packet packetOp(const Packet& _x) const {
1052
- const Packet cutoff_lower = pset1<Packet>(-9.f);
1053
- const Packet lt_mask = pcmp_lt<Packet>(_x, cutoff_lower);
1054
- const bool any_small = predux_any(lt_mask);
1055
-
1056
- // The upper cut-off is the smallest x for which the rational approximation evaluates to 1.
1057
- // Choosing this value saves us a few instructions clamping the results at the end.
1058
- #ifdef EIGEN_VECTORIZE_FMA
1059
- const Packet cutoff_upper = pset1<Packet>(15.7243833541870117f);
1060
- #else
1061
- const Packet cutoff_upper = pset1<Packet>(15.6437711715698242f);
1062
- #endif
1063
- const Packet x = pmin(_x, cutoff_upper);
1064
-
1065
- // The monomial coefficients of the numerator polynomial (odd).
1066
- const Packet alpha_1 = pset1<Packet>(2.48287947061529e-01f);
1067
- const Packet alpha_3 = pset1<Packet>(8.51377133304701e-03f);
1068
- const Packet alpha_5 = pset1<Packet>(6.08574864600143e-05f);
1069
- const Packet alpha_7 = pset1<Packet>(1.15627324459942e-07f);
1070
- const Packet alpha_9 = pset1<Packet>(4.37031012579801e-11f);
1071
-
1072
- // The monomial coefficients of the denominator polynomial (even).
1073
- const Packet beta_0 = pset1<Packet>(9.93151921023180e-01f);
1074
- const Packet beta_2 = pset1<Packet>(1.16817656904453e-01f);
1075
- const Packet beta_4 = pset1<Packet>(1.70198817374094e-03f);
1076
- const Packet beta_6 = pset1<Packet>(6.29106785017040e-06f);
1077
- const Packet beta_8 = pset1<Packet>(5.76102136993427e-09f);
1078
- const Packet beta_10 = pset1<Packet>(6.10247389755681e-13f);
1079
-
1080
- // Since the polynomials are odd/even, we need x^2.
1081
- const Packet x2 = pmul(x, x);
1082
-
1083
- // Evaluate the numerator polynomial p.
1084
- Packet p = pmadd(x2, alpha_9, alpha_7);
1085
- p = pmadd(x2, p, alpha_5);
1086
- p = pmadd(x2, p, alpha_3);
1087
- p = pmadd(x2, p, alpha_1);
1088
- p = pmul(x, p);
1089
-
1090
- // Evaluate the denominator polynomial q.
1091
- Packet q = pmadd(x2, beta_10, beta_8);
1092
- q = pmadd(x2, q, beta_6);
1093
- q = pmadd(x2, q, beta_4);
1094
- q = pmadd(x2, q, beta_2);
1095
- q = pmadd(x2, q, beta_0);
1096
- // Divide the numerator by the denominator and shift it up.
1097
- const Packet logistic = padd(pdiv(p, q), pset1<Packet>(0.5f));
1098
- if (EIGEN_PREDICT_FALSE(any_small)) {
1099
- const Packet exponential = pexp(_x);
1100
- return pselect(lt_mask, exponential, logistic);
1101
- } else {
1102
- return logistic;
1103
- }
1104
- }
1105
- };
1106
- #endif // #ifndef EIGEN_GPU_COMPILE_PHASE
1107
-
1108
- template <typename T>
1109
- struct functor_traits<scalar_logistic_op<T> > {
1110
- enum {
1111
- // The cost estimate for float here here is for the common(?) case where
1112
- // all arguments are greater than -9.
1113
- Cost = scalar_div_cost<T, packet_traits<T>::HasDiv>::value +
1114
- (internal::is_same<T, float>::value
1115
- ? NumTraits<T>::AddCost * 15 + NumTraits<T>::MulCost * 11
1116
- : NumTraits<T>::AddCost * 2 +
1117
- functor_traits<scalar_exp_op<T> >::Cost),
1118
- PacketAccess =
1119
- packet_traits<T>::HasAdd && packet_traits<T>::HasDiv &&
1120
- (internal::is_same<T, float>::value
1121
- ? packet_traits<T>::HasMul && packet_traits<T>::HasMax &&
1122
- packet_traits<T>::HasMin
1123
- : packet_traits<T>::HasNegate && packet_traits<T>::HasExp)
1124
- };
1125
- };
1126
-
1127
- } // end namespace internal
1128
-
1129
- } // end namespace Eigen
1130
-
1131
- #endif // EIGEN_FUNCTORS_H