xtgeo 4.10.0__cp310-cp310-win_amd64.whl → 4.11.0__cp310-cp310-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.cp310-win_amd64.pyd +0 -0
  2. xtgeo/_internal.cp310-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,983 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
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_CXX11_TENSOR_TENSOR_EVALUATOR_H
11
- #define EIGEN_CXX11_TENSOR_TENSOR_EVALUATOR_H
12
-
13
- namespace Eigen {
14
-
15
- /** \class TensorEvaluator
16
- * \ingroup CXX11_Tensor_Module
17
- *
18
- * \brief The tensor evaluator classes.
19
- *
20
- * These classes are responsible for the evaluation of the tensor expression.
21
- *
22
- * TODO: add support for more types of expressions, in particular expressions
23
- * leading to lvalues (slicing, reshaping, etc...)
24
- */
25
-
26
- // Generic evaluator
27
- template<typename Derived, typename Device>
28
- struct TensorEvaluator
29
- {
30
- typedef typename Derived::Index Index;
31
- typedef typename Derived::Scalar Scalar;
32
- typedef typename Derived::Scalar CoeffReturnType;
33
- typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
34
- typedef typename Derived::Dimensions Dimensions;
35
- typedef Derived XprType;
36
- static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
37
- typedef typename internal::traits<Derived>::template MakePointer<Scalar>::Type TensorPointerType;
38
- typedef StorageMemory<Scalar, Device> Storage;
39
- typedef typename Storage::Type EvaluatorPointerType;
40
-
41
- // NumDimensions is -1 for variable dim tensors
42
- static const int NumCoords = internal::traits<Derived>::NumDimensions > 0 ?
43
- internal::traits<Derived>::NumDimensions : 0;
44
-
45
- enum {
46
- IsAligned = Derived::IsAligned,
47
- PacketAccess = (PacketType<CoeffReturnType, Device>::size > 1),
48
- BlockAccess = internal::is_arithmetic<typename internal::remove_const<Scalar>::type>::value,
49
- PreferBlockAccess = false,
50
- Layout = Derived::Layout,
51
- CoordAccess = NumCoords > 0,
52
- RawAccess = true
53
- };
54
-
55
- typedef typename internal::remove_const<Scalar>::type ScalarNoConst;
56
-
57
- //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
58
- typedef internal::TensorBlockDescriptor<NumCoords, Index> TensorBlockDesc;
59
- typedef internal::TensorBlockScratchAllocator<Device> TensorBlockScratch;
60
-
61
- typedef typename internal::TensorMaterializedBlock<ScalarNoConst, NumCoords,
62
- Layout, Index>
63
- TensorBlock;
64
- //===--------------------------------------------------------------------===//
65
-
66
- EIGEN_STRONG_INLINE TensorEvaluator(const Derived& m, const Device& device)
67
- : m_data(device.get((const_cast<TensorPointerType>(m.data())))),
68
- m_dims(m.dimensions()),
69
- m_device(device)
70
- { }
71
-
72
-
73
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dims; }
74
-
75
- EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType dest) {
76
- if (!NumTraits<typename internal::remove_const<Scalar>::type>::RequireInitialization && dest) {
77
- m_device.memcpy((void*)(m_device.get(dest)), m_device.get(m_data), m_dims.TotalSize() * sizeof(Scalar));
78
- return false;
79
- }
80
- return true;
81
- }
82
-
83
- #ifdef EIGEN_USE_THREADS
84
- template <typename EvalSubExprsCallback>
85
- EIGEN_STRONG_INLINE void evalSubExprsIfNeededAsync(
86
- EvaluatorPointerType dest, EvalSubExprsCallback done) {
87
- // TODO(ezhulenev): ThreadPoolDevice memcpy is blockign operation.
88
- done(evalSubExprsIfNeeded(dest));
89
- }
90
- #endif // EIGEN_USE_THREADS
91
-
92
- EIGEN_STRONG_INLINE void cleanup() {}
93
-
94
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const {
95
- eigen_assert(m_data != NULL);
96
- return m_data[index];
97
- }
98
-
99
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType& coeffRef(Index index) {
100
- eigen_assert(m_data != NULL);
101
- return m_data[index];
102
- }
103
-
104
- template<int LoadMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
105
- PacketReturnType packet(Index index) const
106
- {
107
- return internal::ploadt<PacketReturnType, LoadMode>(m_data + index);
108
- }
109
-
110
- // Return a packet starting at `index` where `umask` specifies which elements
111
- // have to be loaded. Type/size of mask depends on PacketReturnType, e.g. for
112
- // Packet16f, `umask` is of type uint16_t and if a bit is 1, corresponding
113
- // float element will be loaded, otherwise 0 will be loaded.
114
- // Function has been templatized to enable Sfinae.
115
- template <typename PacketReturnTypeT> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
116
- typename internal::enable_if<internal::unpacket_traits<PacketReturnTypeT>::masked_load_available, PacketReturnTypeT>::type
117
- partialPacket(Index index, typename internal::unpacket_traits<PacketReturnTypeT>::mask_t umask) const
118
- {
119
- return internal::ploadu<PacketReturnTypeT>(m_data + index, umask);
120
- }
121
-
122
- template <int StoreMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
123
- void writePacket(Index index, const PacketReturnType& x)
124
- {
125
- return internal::pstoret<Scalar, PacketReturnType, StoreMode>(m_data + index, x);
126
- }
127
-
128
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(const array<DenseIndex, NumCoords>& coords) const {
129
- eigen_assert(m_data != NULL);
130
- if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
131
- return m_data[m_dims.IndexOfColMajor(coords)];
132
- } else {
133
- return m_data[m_dims.IndexOfRowMajor(coords)];
134
- }
135
- }
136
-
137
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType&
138
- coeffRef(const array<DenseIndex, NumCoords>& coords) {
139
- eigen_assert(m_data != NULL);
140
- if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
141
- return m_data[m_dims.IndexOfColMajor(coords)];
142
- } else {
143
- return m_data[m_dims.IndexOfRowMajor(coords)];
144
- }
145
- }
146
-
147
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff(bool vectorized) const {
148
- return TensorOpCost(sizeof(CoeffReturnType), 0, 0, vectorized,
149
- PacketType<CoeffReturnType, Device>::size);
150
- }
151
-
152
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
153
- internal::TensorBlockResourceRequirements getResourceRequirements() const {
154
- return internal::TensorBlockResourceRequirements::any();
155
- }
156
-
157
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorBlock
158
- block(TensorBlockDesc& desc, TensorBlockScratch& scratch,
159
- bool /*root_of_expr_ast*/ = false) const {
160
- assert(m_data != NULL);
161
- return TensorBlock::materialize(m_data, m_dims, desc, scratch);
162
- }
163
-
164
- template<typename TensorBlock>
165
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void writeBlock(
166
- const TensorBlockDesc& desc, const TensorBlock& block) {
167
- assert(m_data != NULL);
168
-
169
- typedef typename TensorBlock::XprType TensorBlockExpr;
170
- typedef internal::TensorBlockAssignment<Scalar, NumCoords, TensorBlockExpr,
171
- Index>
172
- TensorBlockAssign;
173
-
174
- TensorBlockAssign::Run(
175
- TensorBlockAssign::target(desc.dimensions(),
176
- internal::strides<Layout>(m_dims), m_data,
177
- desc.offset()),
178
- block.expr());
179
- }
180
-
181
- EIGEN_DEVICE_FUNC EvaluatorPointerType data() const { return m_data; }
182
-
183
- #ifdef EIGEN_USE_SYCL
184
- // binding placeholder accessors to a command group handler for SYCL
185
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
186
- m_data.bind(cgh);
187
- }
188
- #endif
189
- protected:
190
- EvaluatorPointerType m_data;
191
- Dimensions m_dims;
192
- const Device EIGEN_DEVICE_REF m_device;
193
- };
194
-
195
- namespace {
196
- template <typename T> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
197
- T loadConstant(const T* address) {
198
- return *address;
199
- }
200
- // Use the texture cache on CUDA devices whenever possible
201
- #if defined(EIGEN_CUDA_ARCH) && EIGEN_CUDA_ARCH >= 350
202
- template <> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
203
- float loadConstant(const float* address) {
204
- return __ldg(address);
205
- }
206
- template <> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
207
- double loadConstant(const double* address) {
208
- return __ldg(address);
209
- }
210
- template <> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
211
- Eigen::half loadConstant(const Eigen::half* address) {
212
- return Eigen::half(half_impl::raw_uint16_to_half(__ldg(&address->x)));
213
- }
214
- #endif
215
- #ifdef EIGEN_USE_SYCL
216
- // overload of load constant should be implemented here based on range access
217
- template <cl::sycl::access::mode AcMd, typename T>
218
- T &loadConstant(const Eigen::TensorSycl::internal::RangeAccess<AcMd, T> &address) {
219
- return *address;
220
- }
221
- #endif
222
- }
223
-
224
-
225
- // Default evaluator for rvalues
226
- template<typename Derived, typename Device>
227
- struct TensorEvaluator<const Derived, Device>
228
- {
229
- typedef typename Derived::Index Index;
230
- typedef typename Derived::Scalar Scalar;
231
- typedef typename Derived::Scalar CoeffReturnType;
232
- typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
233
- typedef typename Derived::Dimensions Dimensions;
234
- typedef const Derived XprType;
235
- typedef typename internal::traits<Derived>::template MakePointer<const Scalar>::Type TensorPointerType;
236
- typedef StorageMemory<const Scalar, Device> Storage;
237
- typedef typename Storage::Type EvaluatorPointerType;
238
-
239
- typedef typename internal::remove_const<Scalar>::type ScalarNoConst;
240
-
241
- // NumDimensions is -1 for variable dim tensors
242
- static const int NumCoords = internal::traits<Derived>::NumDimensions > 0 ?
243
- internal::traits<Derived>::NumDimensions : 0;
244
- static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
245
-
246
- enum {
247
- IsAligned = Derived::IsAligned,
248
- PacketAccess = (PacketType<CoeffReturnType, Device>::size > 1),
249
- BlockAccess = internal::is_arithmetic<ScalarNoConst>::value,
250
- PreferBlockAccess = false,
251
- Layout = Derived::Layout,
252
- CoordAccess = NumCoords > 0,
253
- RawAccess = true
254
- };
255
-
256
- //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
257
- typedef internal::TensorBlockDescriptor<NumCoords, Index> TensorBlockDesc;
258
- typedef internal::TensorBlockScratchAllocator<Device> TensorBlockScratch;
259
-
260
- typedef typename internal::TensorMaterializedBlock<ScalarNoConst, NumCoords,
261
- Layout, Index>
262
- TensorBlock;
263
- //===--------------------------------------------------------------------===//
264
-
265
- EIGEN_STRONG_INLINE TensorEvaluator(const Derived& m, const Device& device)
266
- : m_data(device.get(m.data())), m_dims(m.dimensions()), m_device(device)
267
- { }
268
-
269
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dims; }
270
-
271
- EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType data) {
272
- if (!NumTraits<typename internal::remove_const<Scalar>::type>::RequireInitialization && data) {
273
- m_device.memcpy((void*)(m_device.get(data)),m_device.get(m_data), m_dims.TotalSize() * sizeof(Scalar));
274
- return false;
275
- }
276
- return true;
277
- }
278
-
279
- #ifdef EIGEN_USE_THREADS
280
- template <typename EvalSubExprsCallback>
281
- EIGEN_STRONG_INLINE void evalSubExprsIfNeededAsync(
282
- EvaluatorPointerType dest, EvalSubExprsCallback done) {
283
- // TODO(ezhulenev): ThreadPoolDevice memcpy is a blockign operation.
284
- done(evalSubExprsIfNeeded(dest));
285
- }
286
- #endif // EIGEN_USE_THREADS
287
-
288
- EIGEN_STRONG_INLINE void cleanup() { }
289
-
290
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const {
291
- eigen_assert(m_data != NULL);
292
- return loadConstant(m_data+index);
293
- }
294
-
295
- template<int LoadMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
296
- PacketReturnType packet(Index index) const
297
- {
298
- return internal::ploadt_ro<PacketReturnType, LoadMode>(m_data + index);
299
- }
300
-
301
- // Return a packet starting at `index` where `umask` specifies which elements
302
- // have to be loaded. Type/size of mask depends on PacketReturnType, e.g. for
303
- // Packet16f, `umask` is of type uint16_t and if a bit is 1, corresponding
304
- // float element will be loaded, otherwise 0 will be loaded.
305
- // Function has been templatized to enable Sfinae.
306
- template <typename PacketReturnTypeT> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
307
- typename internal::enable_if<internal::unpacket_traits<PacketReturnTypeT>::masked_load_available, PacketReturnTypeT>::type
308
- partialPacket(Index index, typename internal::unpacket_traits<PacketReturnTypeT>::mask_t umask) const
309
- {
310
- return internal::ploadu<PacketReturnTypeT>(m_data + index, umask);
311
- }
312
-
313
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(const array<DenseIndex, NumCoords>& coords) const {
314
- eigen_assert(m_data != NULL);
315
- const Index index = (static_cast<int>(Layout) == static_cast<int>(ColMajor)) ? m_dims.IndexOfColMajor(coords)
316
- : m_dims.IndexOfRowMajor(coords);
317
- return loadConstant(m_data+index);
318
- }
319
-
320
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff(bool vectorized) const {
321
- return TensorOpCost(sizeof(CoeffReturnType), 0, 0, vectorized,
322
- PacketType<CoeffReturnType, Device>::size);
323
- }
324
-
325
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
326
- internal::TensorBlockResourceRequirements getResourceRequirements() const {
327
- return internal::TensorBlockResourceRequirements::any();
328
- }
329
-
330
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorBlock
331
- block(TensorBlockDesc& desc, TensorBlockScratch& scratch,
332
- bool /*root_of_expr_ast*/ = false) const {
333
- assert(m_data != NULL);
334
- return TensorBlock::materialize(m_data, m_dims, desc, scratch);
335
- }
336
-
337
- EIGEN_DEVICE_FUNC EvaluatorPointerType data() const { return m_data; }
338
- #ifdef EIGEN_USE_SYCL
339
- // binding placeholder accessors to a command group handler for SYCL
340
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
341
- m_data.bind(cgh);
342
- }
343
- #endif
344
- protected:
345
- EvaluatorPointerType m_data;
346
- Dimensions m_dims;
347
- const Device EIGEN_DEVICE_REF m_device;
348
- };
349
-
350
-
351
-
352
-
353
- // -------------------- CwiseNullaryOp --------------------
354
-
355
- template<typename NullaryOp, typename ArgType, typename Device>
356
- struct TensorEvaluator<const TensorCwiseNullaryOp<NullaryOp, ArgType>, Device>
357
- {
358
- typedef TensorCwiseNullaryOp<NullaryOp, ArgType> XprType;
359
-
360
- TensorEvaluator(const XprType& op, const Device& device)
361
- : m_functor(op.functor()), m_argImpl(op.nestedExpression(), device), m_wrapper()
362
- { }
363
-
364
- typedef typename XprType::Index Index;
365
- typedef typename XprType::Scalar Scalar;
366
- typedef typename internal::traits<XprType>::Scalar CoeffReturnType;
367
- typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
368
- static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
369
- typedef typename TensorEvaluator<ArgType, Device>::Dimensions Dimensions;
370
- typedef StorageMemory<CoeffReturnType, Device> Storage;
371
- typedef typename Storage::Type EvaluatorPointerType;
372
-
373
- enum {
374
- IsAligned = true,
375
- PacketAccess = internal::functor_traits<NullaryOp>::PacketAccess
376
- #ifdef EIGEN_USE_SYCL
377
- && (PacketType<CoeffReturnType, Device>::size >1)
378
- #endif
379
- ,
380
- BlockAccess = false,
381
- PreferBlockAccess = false,
382
- Layout = TensorEvaluator<ArgType, Device>::Layout,
383
- CoordAccess = false, // to be implemented
384
- RawAccess = false
385
- };
386
-
387
- //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
388
- typedef internal::TensorBlockNotImplemented TensorBlock;
389
- //===--------------------------------------------------------------------===//
390
-
391
- EIGEN_DEVICE_FUNC const Dimensions& dimensions() const { return m_argImpl.dimensions(); }
392
-
393
- EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType) { return true; }
394
-
395
- #ifdef EIGEN_USE_THREADS
396
- template <typename EvalSubExprsCallback>
397
- EIGEN_STRONG_INLINE void evalSubExprsIfNeededAsync(
398
- EvaluatorPointerType, EvalSubExprsCallback done) {
399
- done(true);
400
- }
401
- #endif // EIGEN_USE_THREADS
402
-
403
- EIGEN_STRONG_INLINE void cleanup() { }
404
-
405
- EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
406
- {
407
- return m_wrapper(m_functor, index);
408
- }
409
-
410
- template<int LoadMode>
411
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
412
- {
413
- return m_wrapper.template packetOp<PacketReturnType, Index>(m_functor, index);
414
- }
415
-
416
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost
417
- costPerCoeff(bool vectorized) const {
418
- return TensorOpCost(sizeof(CoeffReturnType), 0, 0, vectorized,
419
- PacketType<CoeffReturnType, Device>::size);
420
- }
421
-
422
- EIGEN_DEVICE_FUNC EvaluatorPointerType data() const { return NULL; }
423
-
424
- #ifdef EIGEN_USE_SYCL
425
- // binding placeholder accessors to a command group handler for SYCL
426
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
427
- m_argImpl.bind(cgh);
428
- }
429
- #endif
430
-
431
- private:
432
- const NullaryOp m_functor;
433
- TensorEvaluator<ArgType, Device> m_argImpl;
434
- const internal::nullary_wrapper<CoeffReturnType,NullaryOp> m_wrapper;
435
- };
436
-
437
-
438
-
439
- // -------------------- CwiseUnaryOp --------------------
440
-
441
- template<typename UnaryOp, typename ArgType, typename Device>
442
- struct TensorEvaluator<const TensorCwiseUnaryOp<UnaryOp, ArgType>, Device>
443
- {
444
- typedef TensorCwiseUnaryOp<UnaryOp, ArgType> XprType;
445
-
446
- enum {
447
- IsAligned = TensorEvaluator<ArgType, Device>::IsAligned,
448
- PacketAccess = int(TensorEvaluator<ArgType, Device>::PacketAccess) &
449
- int(internal::functor_traits<UnaryOp>::PacketAccess),
450
- BlockAccess = TensorEvaluator<ArgType, Device>::BlockAccess,
451
- PreferBlockAccess = TensorEvaluator<ArgType, Device>::PreferBlockAccess,
452
- Layout = TensorEvaluator<ArgType, Device>::Layout,
453
- CoordAccess = false, // to be implemented
454
- RawAccess = false
455
- };
456
-
457
- TensorEvaluator(const XprType& op, const Device& device)
458
- : m_device(device),
459
- m_functor(op.functor()),
460
- m_argImpl(op.nestedExpression(), device)
461
- { }
462
-
463
- typedef typename XprType::Index Index;
464
- typedef typename XprType::Scalar Scalar;
465
- typedef typename internal::remove_const<Scalar>::type ScalarNoConst;
466
- typedef typename internal::traits<XprType>::Scalar CoeffReturnType;
467
- typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
468
- static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
469
- typedef typename TensorEvaluator<ArgType, Device>::Dimensions Dimensions;
470
- typedef StorageMemory<CoeffReturnType, Device> Storage;
471
- typedef typename Storage::Type EvaluatorPointerType;
472
- static const int NumDims = internal::array_size<Dimensions>::value;
473
-
474
- //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
475
- typedef internal::TensorBlockDescriptor<NumDims, Index> TensorBlockDesc;
476
- typedef internal::TensorBlockScratchAllocator<Device> TensorBlockScratch;
477
-
478
- typedef typename TensorEvaluator<const ArgType, Device>::TensorBlock
479
- ArgTensorBlock;
480
-
481
- typedef internal::TensorCwiseUnaryBlock<UnaryOp, ArgTensorBlock>
482
- TensorBlock;
483
- //===--------------------------------------------------------------------===//
484
-
485
- EIGEN_DEVICE_FUNC const Dimensions& dimensions() const { return m_argImpl.dimensions(); }
486
-
487
- EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType) {
488
- m_argImpl.evalSubExprsIfNeeded(NULL);
489
- return true;
490
- }
491
-
492
- #ifdef EIGEN_USE_THREADS
493
- template <typename EvalSubExprsCallback>
494
- EIGEN_STRONG_INLINE void evalSubExprsIfNeededAsync(
495
- EvaluatorPointerType, EvalSubExprsCallback done) {
496
- m_argImpl.evalSubExprsIfNeededAsync(nullptr, [done](bool) { done(true); });
497
- }
498
- #endif // EIGEN_USE_THREADS
499
-
500
- EIGEN_STRONG_INLINE void cleanup() {
501
- m_argImpl.cleanup();
502
- }
503
-
504
- EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
505
- {
506
- return m_functor(m_argImpl.coeff(index));
507
- }
508
-
509
- template<int LoadMode>
510
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
511
- {
512
- return m_functor.packetOp(m_argImpl.template packet<LoadMode>(index));
513
- }
514
-
515
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff(bool vectorized) const {
516
- const double functor_cost = internal::functor_traits<UnaryOp>::Cost;
517
- return m_argImpl.costPerCoeff(vectorized) +
518
- TensorOpCost(0, 0, functor_cost, vectorized, PacketSize);
519
- }
520
-
521
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
522
- internal::TensorBlockResourceRequirements getResourceRequirements() const {
523
- static const double functor_cost = internal::functor_traits<UnaryOp>::Cost;
524
- return m_argImpl.getResourceRequirements().addCostPerCoeff(
525
- {0, 0, functor_cost / PacketSize});
526
- }
527
-
528
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorBlock
529
- block(TensorBlockDesc& desc, TensorBlockScratch& scratch,
530
- bool /*root_of_expr_ast*/ = false) const {
531
- return TensorBlock(m_argImpl.block(desc, scratch), m_functor);
532
- }
533
-
534
- EIGEN_DEVICE_FUNC EvaluatorPointerType data() const { return NULL; }
535
-
536
- #ifdef EIGEN_USE_SYCL
537
- // binding placeholder accessors to a command group handler for SYCL
538
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const{
539
- m_argImpl.bind(cgh);
540
- }
541
- #endif
542
-
543
-
544
- private:
545
- const Device EIGEN_DEVICE_REF m_device;
546
- const UnaryOp m_functor;
547
- TensorEvaluator<ArgType, Device> m_argImpl;
548
- };
549
-
550
-
551
- // -------------------- CwiseBinaryOp --------------------
552
-
553
- template<typename BinaryOp, typename LeftArgType, typename RightArgType, typename Device>
554
- struct TensorEvaluator<const TensorCwiseBinaryOp<BinaryOp, LeftArgType, RightArgType>, Device>
555
- {
556
- typedef TensorCwiseBinaryOp<BinaryOp, LeftArgType, RightArgType> XprType;
557
-
558
- enum {
559
- IsAligned = int(TensorEvaluator<LeftArgType, Device>::IsAligned) &
560
- int(TensorEvaluator<RightArgType, Device>::IsAligned),
561
- PacketAccess = int(TensorEvaluator<LeftArgType, Device>::PacketAccess) &
562
- int(TensorEvaluator<RightArgType, Device>::PacketAccess) &
563
- int(internal::functor_traits<BinaryOp>::PacketAccess),
564
- BlockAccess = int(TensorEvaluator<LeftArgType, Device>::BlockAccess) &
565
- int(TensorEvaluator<RightArgType, Device>::BlockAccess),
566
- PreferBlockAccess = int(TensorEvaluator<LeftArgType, Device>::PreferBlockAccess) |
567
- int(TensorEvaluator<RightArgType, Device>::PreferBlockAccess),
568
- Layout = TensorEvaluator<LeftArgType, Device>::Layout,
569
- CoordAccess = false, // to be implemented
570
- RawAccess = false
571
- };
572
-
573
- TensorEvaluator(const XprType& op, const Device& device)
574
- : m_device(device),
575
- m_functor(op.functor()),
576
- m_leftImpl(op.lhsExpression(), device),
577
- m_rightImpl(op.rhsExpression(), device)
578
- {
579
- EIGEN_STATIC_ASSERT((static_cast<int>(TensorEvaluator<LeftArgType, Device>::Layout) == static_cast<int>(TensorEvaluator<RightArgType, Device>::Layout) || internal::traits<XprType>::NumDimensions <= 1), YOU_MADE_A_PROGRAMMING_MISTAKE);
580
- eigen_assert(dimensions_match(m_leftImpl.dimensions(), m_rightImpl.dimensions()));
581
- }
582
-
583
- typedef typename XprType::Index Index;
584
- typedef typename XprType::Scalar Scalar;
585
- typedef typename internal::traits<XprType>::Scalar CoeffReturnType;
586
- typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
587
- static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
588
- typedef typename TensorEvaluator<LeftArgType, Device>::Dimensions Dimensions;
589
- typedef StorageMemory<CoeffReturnType, Device> Storage;
590
- typedef typename Storage::Type EvaluatorPointerType;
591
-
592
- static const int NumDims = internal::array_size<
593
- typename TensorEvaluator<LeftArgType, Device>::Dimensions>::value;
594
-
595
- //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
596
- typedef internal::TensorBlockDescriptor<NumDims, Index> TensorBlockDesc;
597
- typedef internal::TensorBlockScratchAllocator<Device> TensorBlockScratch;
598
-
599
- typedef typename TensorEvaluator<const LeftArgType, Device>::TensorBlock
600
- LeftTensorBlock;
601
- typedef typename TensorEvaluator<const RightArgType, Device>::TensorBlock
602
- RightTensorBlock;
603
-
604
- typedef internal::TensorCwiseBinaryBlock<BinaryOp, LeftTensorBlock,
605
- RightTensorBlock>
606
- TensorBlock;
607
- //===--------------------------------------------------------------------===//
608
-
609
- EIGEN_DEVICE_FUNC const Dimensions& dimensions() const
610
- {
611
- // TODO: use right impl instead if right impl dimensions are known at compile time.
612
- return m_leftImpl.dimensions();
613
- }
614
-
615
- EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType) {
616
- m_leftImpl.evalSubExprsIfNeeded(NULL);
617
- m_rightImpl.evalSubExprsIfNeeded(NULL);
618
- return true;
619
- }
620
-
621
- #ifdef EIGEN_USE_THREADS
622
- template <typename EvalSubExprsCallback>
623
- EIGEN_STRONG_INLINE void evalSubExprsIfNeededAsync(
624
- EvaluatorPointerType, EvalSubExprsCallback done) {
625
- // TODO(ezhulenev): Evaluate two expression in parallel?
626
- m_leftImpl.evalSubExprsIfNeededAsync(nullptr, [this, done](bool) {
627
- m_rightImpl.evalSubExprsIfNeededAsync(nullptr,
628
- [done](bool) { done(true); });
629
- });
630
- }
631
- #endif // EIGEN_USE_THREADS
632
-
633
- EIGEN_STRONG_INLINE void cleanup() {
634
- m_leftImpl.cleanup();
635
- m_rightImpl.cleanup();
636
- }
637
-
638
- EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
639
- {
640
- return m_functor(m_leftImpl.coeff(index), m_rightImpl.coeff(index));
641
- }
642
- template<int LoadMode>
643
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
644
- {
645
- return m_functor.packetOp(m_leftImpl.template packet<LoadMode>(index), m_rightImpl.template packet<LoadMode>(index));
646
- }
647
-
648
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost
649
- costPerCoeff(bool vectorized) const {
650
- const double functor_cost = internal::functor_traits<BinaryOp>::Cost;
651
- return m_leftImpl.costPerCoeff(vectorized) +
652
- m_rightImpl.costPerCoeff(vectorized) +
653
- TensorOpCost(0, 0, functor_cost, vectorized, PacketSize);
654
- }
655
-
656
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
657
- internal::TensorBlockResourceRequirements getResourceRequirements() const {
658
- static const double functor_cost = internal::functor_traits<BinaryOp>::Cost;
659
- return internal::TensorBlockResourceRequirements::merge(
660
- m_leftImpl.getResourceRequirements(),
661
- m_rightImpl.getResourceRequirements())
662
- .addCostPerCoeff({0, 0, functor_cost / PacketSize});
663
- }
664
-
665
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorBlock
666
- block(TensorBlockDesc& desc, TensorBlockScratch& scratch,
667
- bool /*root_of_expr_ast*/ = false) const {
668
- desc.DropDestinationBuffer();
669
- return TensorBlock(m_leftImpl.block(desc, scratch),
670
- m_rightImpl.block(desc, scratch), m_functor);
671
- }
672
-
673
- EIGEN_DEVICE_FUNC EvaluatorPointerType data() const { return NULL; }
674
-
675
- #ifdef EIGEN_USE_SYCL
676
- // binding placeholder accessors to a command group handler for SYCL
677
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
678
- m_leftImpl.bind(cgh);
679
- m_rightImpl.bind(cgh);
680
- }
681
- #endif
682
- private:
683
- const Device EIGEN_DEVICE_REF m_device;
684
- const BinaryOp m_functor;
685
- TensorEvaluator<LeftArgType, Device> m_leftImpl;
686
- TensorEvaluator<RightArgType, Device> m_rightImpl;
687
- };
688
-
689
- // -------------------- CwiseTernaryOp --------------------
690
-
691
- template<typename TernaryOp, typename Arg1Type, typename Arg2Type, typename Arg3Type, typename Device>
692
- struct TensorEvaluator<const TensorCwiseTernaryOp<TernaryOp, Arg1Type, Arg2Type, Arg3Type>, Device>
693
- {
694
- typedef TensorCwiseTernaryOp<TernaryOp, Arg1Type, Arg2Type, Arg3Type> XprType;
695
-
696
- enum {
697
- IsAligned = TensorEvaluator<Arg1Type, Device>::IsAligned & TensorEvaluator<Arg2Type, Device>::IsAligned & TensorEvaluator<Arg3Type, Device>::IsAligned,
698
- PacketAccess = TensorEvaluator<Arg1Type, Device>::PacketAccess &&
699
- TensorEvaluator<Arg2Type, Device>::PacketAccess &&
700
- TensorEvaluator<Arg3Type, Device>::PacketAccess &&
701
- internal::functor_traits<TernaryOp>::PacketAccess,
702
- BlockAccess = false,
703
- PreferBlockAccess = TensorEvaluator<Arg1Type, Device>::PreferBlockAccess ||
704
- TensorEvaluator<Arg2Type, Device>::PreferBlockAccess ||
705
- TensorEvaluator<Arg3Type, Device>::PreferBlockAccess,
706
- Layout = TensorEvaluator<Arg1Type, Device>::Layout,
707
- CoordAccess = false, // to be implemented
708
- RawAccess = false
709
- };
710
-
711
- TensorEvaluator(const XprType& op, const Device& device)
712
- : m_functor(op.functor()),
713
- m_arg1Impl(op.arg1Expression(), device),
714
- m_arg2Impl(op.arg2Expression(), device),
715
- m_arg3Impl(op.arg3Expression(), device)
716
- {
717
- EIGEN_STATIC_ASSERT((static_cast<int>(TensorEvaluator<Arg1Type, Device>::Layout) == static_cast<int>(TensorEvaluator<Arg3Type, Device>::Layout) || internal::traits<XprType>::NumDimensions <= 1), YOU_MADE_A_PROGRAMMING_MISTAKE);
718
-
719
- EIGEN_STATIC_ASSERT((internal::is_same<typename internal::traits<Arg1Type>::StorageKind,
720
- typename internal::traits<Arg2Type>::StorageKind>::value),
721
- STORAGE_KIND_MUST_MATCH)
722
- EIGEN_STATIC_ASSERT((internal::is_same<typename internal::traits<Arg1Type>::StorageKind,
723
- typename internal::traits<Arg3Type>::StorageKind>::value),
724
- STORAGE_KIND_MUST_MATCH)
725
- EIGEN_STATIC_ASSERT((internal::is_same<typename internal::traits<Arg1Type>::Index,
726
- typename internal::traits<Arg2Type>::Index>::value),
727
- STORAGE_INDEX_MUST_MATCH)
728
- EIGEN_STATIC_ASSERT((internal::is_same<typename internal::traits<Arg1Type>::Index,
729
- typename internal::traits<Arg3Type>::Index>::value),
730
- STORAGE_INDEX_MUST_MATCH)
731
-
732
- eigen_assert(dimensions_match(m_arg1Impl.dimensions(), m_arg2Impl.dimensions()) && dimensions_match(m_arg1Impl.dimensions(), m_arg3Impl.dimensions()));
733
- }
734
-
735
- typedef typename XprType::Index Index;
736
- typedef typename XprType::Scalar Scalar;
737
- typedef typename internal::traits<XprType>::Scalar CoeffReturnType;
738
- typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
739
- static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
740
- typedef typename TensorEvaluator<Arg1Type, Device>::Dimensions Dimensions;
741
- typedef StorageMemory<CoeffReturnType, Device> Storage;
742
- typedef typename Storage::Type EvaluatorPointerType;
743
-
744
- //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
745
- typedef internal::TensorBlockNotImplemented TensorBlock;
746
- //===--------------------------------------------------------------------===//
747
-
748
- EIGEN_DEVICE_FUNC const Dimensions& dimensions() const
749
- {
750
- // TODO: use arg2 or arg3 dimensions if they are known at compile time.
751
- return m_arg1Impl.dimensions();
752
- }
753
-
754
- EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType) {
755
- m_arg1Impl.evalSubExprsIfNeeded(NULL);
756
- m_arg2Impl.evalSubExprsIfNeeded(NULL);
757
- m_arg3Impl.evalSubExprsIfNeeded(NULL);
758
- return true;
759
- }
760
- EIGEN_STRONG_INLINE void cleanup() {
761
- m_arg1Impl.cleanup();
762
- m_arg2Impl.cleanup();
763
- m_arg3Impl.cleanup();
764
- }
765
-
766
- EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
767
- {
768
- return m_functor(m_arg1Impl.coeff(index), m_arg2Impl.coeff(index), m_arg3Impl.coeff(index));
769
- }
770
- template<int LoadMode>
771
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
772
- {
773
- return m_functor.packetOp(m_arg1Impl.template packet<LoadMode>(index),
774
- m_arg2Impl.template packet<LoadMode>(index),
775
- m_arg3Impl.template packet<LoadMode>(index));
776
- }
777
-
778
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost
779
- costPerCoeff(bool vectorized) const {
780
- const double functor_cost = internal::functor_traits<TernaryOp>::Cost;
781
- return m_arg1Impl.costPerCoeff(vectorized) +
782
- m_arg2Impl.costPerCoeff(vectorized) +
783
- m_arg3Impl.costPerCoeff(vectorized) +
784
- TensorOpCost(0, 0, functor_cost, vectorized, PacketSize);
785
- }
786
-
787
- EIGEN_DEVICE_FUNC EvaluatorPointerType data() const { return NULL; }
788
-
789
- #ifdef EIGEN_USE_SYCL
790
- // binding placeholder accessors to a command group handler for SYCL
791
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
792
- m_arg1Impl.bind(cgh);
793
- m_arg2Impl.bind(cgh);
794
- m_arg3Impl.bind(cgh);
795
- }
796
- #endif
797
-
798
- private:
799
- const TernaryOp m_functor;
800
- TensorEvaluator<Arg1Type, Device> m_arg1Impl;
801
- TensorEvaluator<Arg2Type, Device> m_arg2Impl;
802
- TensorEvaluator<Arg3Type, Device> m_arg3Impl;
803
- };
804
-
805
-
806
- // -------------------- SelectOp --------------------
807
-
808
- template<typename IfArgType, typename ThenArgType, typename ElseArgType, typename Device>
809
- struct TensorEvaluator<const TensorSelectOp<IfArgType, ThenArgType, ElseArgType>, Device>
810
- {
811
- typedef TensorSelectOp<IfArgType, ThenArgType, ElseArgType> XprType;
812
- typedef typename XprType::Scalar Scalar;
813
-
814
- enum {
815
- IsAligned = TensorEvaluator<ThenArgType, Device>::IsAligned &
816
- TensorEvaluator<ElseArgType, Device>::IsAligned,
817
- PacketAccess = TensorEvaluator<ThenArgType, Device>::PacketAccess &
818
- TensorEvaluator<ElseArgType, Device>::PacketAccess &
819
- PacketType<Scalar, Device>::HasBlend,
820
- BlockAccess = TensorEvaluator<IfArgType, Device>::BlockAccess &&
821
- TensorEvaluator<ThenArgType, Device>::BlockAccess &&
822
- TensorEvaluator<ElseArgType, Device>::BlockAccess,
823
- PreferBlockAccess = TensorEvaluator<IfArgType, Device>::PreferBlockAccess ||
824
- TensorEvaluator<ThenArgType, Device>::PreferBlockAccess ||
825
- TensorEvaluator<ElseArgType, Device>::PreferBlockAccess,
826
- Layout = TensorEvaluator<IfArgType, Device>::Layout,
827
- CoordAccess = false, // to be implemented
828
- RawAccess = false
829
- };
830
-
831
- TensorEvaluator(const XprType& op, const Device& device)
832
- : m_condImpl(op.ifExpression(), device),
833
- m_thenImpl(op.thenExpression(), device),
834
- m_elseImpl(op.elseExpression(), device)
835
- {
836
- EIGEN_STATIC_ASSERT((static_cast<int>(TensorEvaluator<IfArgType, Device>::Layout) == static_cast<int>(TensorEvaluator<ThenArgType, Device>::Layout)), YOU_MADE_A_PROGRAMMING_MISTAKE);
837
- EIGEN_STATIC_ASSERT((static_cast<int>(TensorEvaluator<IfArgType, Device>::Layout) == static_cast<int>(TensorEvaluator<ElseArgType, Device>::Layout)), YOU_MADE_A_PROGRAMMING_MISTAKE);
838
- eigen_assert(dimensions_match(m_condImpl.dimensions(), m_thenImpl.dimensions()));
839
- eigen_assert(dimensions_match(m_thenImpl.dimensions(), m_elseImpl.dimensions()));
840
- }
841
-
842
- typedef typename XprType::Index Index;
843
- typedef typename internal::traits<XprType>::Scalar CoeffReturnType;
844
- typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
845
- static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
846
- typedef typename TensorEvaluator<IfArgType, Device>::Dimensions Dimensions;
847
- typedef StorageMemory<CoeffReturnType, Device> Storage;
848
- typedef typename Storage::Type EvaluatorPointerType;
849
-
850
- static const int NumDims = internal::array_size<Dimensions>::value;
851
-
852
- //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
853
- typedef internal::TensorBlockDescriptor<NumDims, Index> TensorBlockDesc;
854
- typedef internal::TensorBlockScratchAllocator<Device> TensorBlockScratch;
855
-
856
- typedef typename TensorEvaluator<const IfArgType, Device>::TensorBlock
857
- IfArgTensorBlock;
858
- typedef typename TensorEvaluator<const ThenArgType, Device>::TensorBlock
859
- ThenArgTensorBlock;
860
- typedef typename TensorEvaluator<const ElseArgType, Device>::TensorBlock
861
- ElseArgTensorBlock;
862
-
863
- struct TensorSelectOpBlockFactory {
864
- template <typename IfArgXprType, typename ThenArgXprType, typename ElseArgXprType>
865
- struct XprType {
866
- typedef TensorSelectOp<const IfArgXprType, const ThenArgXprType, const ElseArgXprType> type;
867
- };
868
-
869
- template <typename IfArgXprType, typename ThenArgXprType, typename ElseArgXprType>
870
- typename XprType<IfArgXprType, ThenArgXprType, ElseArgXprType>::type expr(
871
- const IfArgXprType& if_expr, const ThenArgXprType& then_expr, const ElseArgXprType& else_expr) const {
872
- return typename XprType<IfArgXprType, ThenArgXprType, ElseArgXprType>::type(if_expr, then_expr, else_expr);
873
- }
874
- };
875
-
876
- typedef internal::TensorTernaryExprBlock<TensorSelectOpBlockFactory,
877
- IfArgTensorBlock, ThenArgTensorBlock,
878
- ElseArgTensorBlock>
879
- TensorBlock;
880
- //===--------------------------------------------------------------------===//
881
-
882
- EIGEN_DEVICE_FUNC const Dimensions& dimensions() const
883
- {
884
- // TODO: use then or else impl instead if they happen to be known at compile time.
885
- return m_condImpl.dimensions();
886
- }
887
-
888
- EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType) {
889
- m_condImpl.evalSubExprsIfNeeded(NULL);
890
- m_thenImpl.evalSubExprsIfNeeded(NULL);
891
- m_elseImpl.evalSubExprsIfNeeded(NULL);
892
- return true;
893
- }
894
-
895
- #ifdef EIGEN_USE_THREADS
896
- template <typename EvalSubExprsCallback>
897
- EIGEN_STRONG_INLINE void evalSubExprsIfNeededAsync(
898
- EvaluatorPointerType, EvalSubExprsCallback done) {
899
- m_condImpl.evalSubExprsIfNeeded(nullptr, [this, done](bool) {
900
- m_thenImpl.evalSubExprsIfNeeded(nullptr, [this, done](bool) {
901
- m_elseImpl.evalSubExprsIfNeeded(nullptr, [done](bool) { done(true); });
902
- });
903
- });
904
- }
905
- #endif // EIGEN_USE_THREADS
906
-
907
- EIGEN_STRONG_INLINE void cleanup() {
908
- m_condImpl.cleanup();
909
- m_thenImpl.cleanup();
910
- m_elseImpl.cleanup();
911
- }
912
-
913
- EIGEN_DEVICE_FUNC CoeffReturnType coeff(Index index) const
914
- {
915
- return m_condImpl.coeff(index) ? m_thenImpl.coeff(index) : m_elseImpl.coeff(index);
916
- }
917
- template<int LoadMode>
918
- EIGEN_DEVICE_FUNC PacketReturnType packet(Index index) const
919
- {
920
- internal::Selector<PacketSize> select;
921
- EIGEN_UNROLL_LOOP
922
- for (Index i = 0; i < PacketSize; ++i) {
923
- select.select[i] = m_condImpl.coeff(index+i);
924
- }
925
- return internal::pblend(select,
926
- m_thenImpl.template packet<LoadMode>(index),
927
- m_elseImpl.template packet<LoadMode>(index));
928
-
929
- }
930
-
931
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost
932
- costPerCoeff(bool vectorized) const {
933
- return m_condImpl.costPerCoeff(vectorized) +
934
- m_thenImpl.costPerCoeff(vectorized)
935
- .cwiseMax(m_elseImpl.costPerCoeff(vectorized));
936
- }
937
-
938
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
939
- internal::TensorBlockResourceRequirements getResourceRequirements() const {
940
- auto then_req = m_thenImpl.getResourceRequirements();
941
- auto else_req = m_elseImpl.getResourceRequirements();
942
-
943
- auto merged_req =
944
- internal::TensorBlockResourceRequirements::merge(then_req, else_req);
945
- merged_req.cost_per_coeff =
946
- then_req.cost_per_coeff.cwiseMax(else_req.cost_per_coeff);
947
-
948
- return internal::TensorBlockResourceRequirements::merge(
949
- m_condImpl.getResourceRequirements(), merged_req);
950
- }
951
-
952
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorBlock
953
- block(TensorBlockDesc& desc, TensorBlockScratch& scratch,
954
- bool /*root_of_expr_ast*/ = false) const {
955
- // It's unsafe to pass destination buffer to underlying expressions, because
956
- // output might be aliased with one of the inputs.
957
- desc.DropDestinationBuffer();
958
-
959
- return TensorBlock(
960
- m_condImpl.block(desc, scratch), m_thenImpl.block(desc, scratch),
961
- m_elseImpl.block(desc, scratch), TensorSelectOpBlockFactory());
962
- }
963
-
964
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EvaluatorPointerType data() const { return NULL; }
965
-
966
- #ifdef EIGEN_USE_SYCL
967
- // binding placeholder accessors to a command group handler for SYCL
968
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
969
- m_condImpl.bind(cgh);
970
- m_thenImpl.bind(cgh);
971
- m_elseImpl.bind(cgh);
972
- }
973
- #endif
974
- private:
975
- TensorEvaluator<IfArgType, Device> m_condImpl;
976
- TensorEvaluator<ThenArgType, Device> m_thenImpl;
977
- TensorEvaluator<ElseArgType, Device> m_elseImpl;
978
- };
979
-
980
-
981
- } // end namespace Eigen
982
-
983
- #endif // EIGEN_CXX11_TENSOR_TENSOR_EVALUATOR_H