xtgeo 4.10.0__cp313-cp313-macosx_11_0_arm64.whl → 4.10.1__cp313-cp313-macosx_11_0_arm64.whl

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

Potentially problematic release.


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

Files changed (561) hide show
  1. xtgeo/_internal.cpython-313-darwin.so +0 -0
  2. xtgeo/common/version.py +2 -2
  3. xtgeo/include/fmt/args.h +220 -0
  4. xtgeo/include/fmt/base.h +2989 -0
  5. xtgeo/include/fmt/chrono.h +2330 -0
  6. xtgeo/include/fmt/color.h +637 -0
  7. xtgeo/include/fmt/compile.h +539 -0
  8. xtgeo/include/fmt/core.h +5 -0
  9. xtgeo/include/fmt/format-inl.h +1948 -0
  10. xtgeo/include/fmt/format.h +4244 -0
  11. xtgeo/include/fmt/os.h +427 -0
  12. xtgeo/include/fmt/ostream.h +167 -0
  13. xtgeo/include/fmt/printf.h +633 -0
  14. xtgeo/include/fmt/ranges.h +850 -0
  15. xtgeo/include/fmt/std.h +728 -0
  16. xtgeo/include/fmt/xchar.h +369 -0
  17. xtgeo/lib/cmake/fmt/fmt-config-version.cmake +43 -0
  18. xtgeo/lib/cmake/fmt/fmt-config.cmake +31 -0
  19. xtgeo/lib/cmake/fmt/fmt-targets-release.cmake +19 -0
  20. xtgeo/{share/eigen3/cmake/Eigen3Targets.cmake → lib/cmake/fmt/fmt-targets.cmake} +16 -6
  21. xtgeo/lib/libfmt.a +0 -0
  22. xtgeo/lib/pkgconfig/fmt.pc +11 -0
  23. {xtgeo-4.10.0.dist-info → xtgeo-4.10.1.dist-info}/METADATA +1 -1
  24. xtgeo-4.10.1.dist-info/RECORD +137 -0
  25. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  26. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  27. xtgeo/include/eigen3/Eigen/Core +0 -384
  28. xtgeo/include/eigen3/Eigen/Dense +0 -7
  29. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  30. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  31. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  32. xtgeo/include/eigen3/Eigen/Householder +0 -29
  33. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  34. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  35. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  36. xtgeo/include/eigen3/Eigen/LU +0 -47
  37. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  38. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  39. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  40. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  41. xtgeo/include/eigen3/Eigen/QR +0 -50
  42. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  43. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  44. xtgeo/include/eigen3/Eigen/SVD +0 -50
  45. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  46. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  47. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  48. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  49. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  50. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  51. xtgeo/include/eigen3/Eigen/StdList +0 -26
  52. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  53. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  54. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  55. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  56. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  57. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  58. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  59. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  60. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  61. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  62. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  63. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  64. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  65. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  66. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  67. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  68. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  69. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  70. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  71. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  72. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  73. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  74. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  75. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  76. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  77. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  78. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  79. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  80. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  81. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  82. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  83. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  84. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  85. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  86. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  87. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  88. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  89. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  90. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  91. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  92. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  93. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  94. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  95. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  96. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  97. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  98. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  99. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  100. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  101. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  102. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  103. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  104. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  105. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  106. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  107. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  108. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  109. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  110. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  111. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  112. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  113. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  114. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  115. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  116. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  117. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  118. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  119. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  120. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  121. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  122. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  123. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  124. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  125. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  126. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  127. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  128. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  129. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  130. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  131. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  132. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  133. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  134. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  135. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  136. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  166. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  167. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  168. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  169. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  170. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  171. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  172. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  173. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  174. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  175. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  176. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  177. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  178. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  179. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  180. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  181. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  182. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  183. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  184. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  185. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  186. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  187. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  188. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  189. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  190. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  191. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  192. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  193. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  194. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  195. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  196. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  197. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  198. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  199. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  200. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  201. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  202. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  203. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  204. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  205. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  206. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  207. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  208. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  209. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  210. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  211. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  212. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  213. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  214. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  215. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  216. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  217. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  218. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  219. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  220. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  221. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  222. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  223. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  224. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  225. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  226. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  227. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  228. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  229. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  230. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  231. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  232. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  233. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  234. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  235. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  236. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  237. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  238. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  239. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  240. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  241. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  242. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  243. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  244. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  245. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  246. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  247. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  248. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  249. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  250. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  251. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  252. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  253. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  254. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  255. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  256. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  257. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  258. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  259. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  260. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  261. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  262. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  263. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  264. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  265. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  266. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  267. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  268. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  269. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  270. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  271. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  272. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  273. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  274. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  275. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  276. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  277. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  278. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  279. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  280. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  281. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  282. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  283. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  284. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  285. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  286. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  287. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  288. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  289. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  290. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  291. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  292. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  293. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  294. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  295. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  296. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  297. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  308. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  309. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  310. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  311. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  312. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  313. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  314. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  315. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  316. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  317. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  318. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  319. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  320. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  321. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  322. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  323. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  324. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  325. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  326. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  327. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  328. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  329. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  330. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  331. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  332. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  333. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  334. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  335. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  336. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  337. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  338. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  339. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  340. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  341. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  342. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  343. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  344. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  345. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  346. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  347. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  348. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  349. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  350. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  351. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  352. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  353. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  354. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  355. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  356. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  357. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  358. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  359. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  360. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  361. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  362. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  363. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  364. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  365. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  366. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  367. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  368. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  369. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  370. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  371. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  372. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  373. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  444. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  445. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  446. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  447. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  448. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  449. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  450. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  451. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  452. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  453. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  454. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  455. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  456. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  457. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  458. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  459. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  460. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  461. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  462. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  463. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  464. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  465. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  466. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  467. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  468. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  469. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  470. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  471. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  472. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  473. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  474. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  475. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  476. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  477. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  478. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  479. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  480. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  481. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  482. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  483. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  484. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  485. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  486. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  487. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  488. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  489. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  490. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  491. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  492. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  493. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  494. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  495. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  496. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  497. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  498. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  499. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  500. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  501. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  502. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  503. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  504. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  505. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  506. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  507. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  508. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  509. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  510. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  511. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  512. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  513. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  514. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  515. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  516. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  517. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  518. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  519. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  520. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  521. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  522. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  523. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  524. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  525. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  526. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  527. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  528. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  529. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  530. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  531. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  538. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  539. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  540. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  541. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  542. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  543. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  544. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  545. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  546. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  547. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  548. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  549. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  550. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  551. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  552. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  553. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  554. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  555. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  556. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  557. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  558. xtgeo/share/pkgconfig/eigen3.pc +0 -9
  559. xtgeo-4.10.0.dist-info/RECORD +0 -652
  560. {xtgeo-4.10.0.dist-info → xtgeo-4.10.1.dist-info}/WHEEL +0 -0
  561. {xtgeo-4.10.0.dist-info → xtgeo-4.10.1.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