xtgeo 4.10.0__cp312-cp312-macosx_11_0_arm64.whl → 4.10.1__cp312-cp312-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-312-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,1010 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2011 Benoit Jacob <jacob.benoit.1@gmail.com>
5
- // Copyright (C) 2011-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
6
- // Copyright (C) 2011-2012 Jitse Niesen <jitse@maths.leeds.ac.uk>
7
- //
8
- // This Source Code Form is subject to the terms of the Mozilla
9
- // Public License v. 2.0. If a copy of the MPL was not distributed
10
- // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
11
-
12
- #ifndef EIGEN_ASSIGN_EVALUATOR_H
13
- #define EIGEN_ASSIGN_EVALUATOR_H
14
-
15
- namespace Eigen {
16
-
17
- // This implementation is based on Assign.h
18
-
19
- namespace internal {
20
-
21
- /***************************************************************************
22
- * Part 1 : the logic deciding a strategy for traversal and unrolling *
23
- ***************************************************************************/
24
-
25
- // copy_using_evaluator_traits is based on assign_traits
26
-
27
- template <typename DstEvaluator, typename SrcEvaluator, typename AssignFunc, int MaxPacketSize = -1>
28
- struct copy_using_evaluator_traits
29
- {
30
- typedef typename DstEvaluator::XprType Dst;
31
- typedef typename Dst::Scalar DstScalar;
32
-
33
- enum {
34
- DstFlags = DstEvaluator::Flags,
35
- SrcFlags = SrcEvaluator::Flags
36
- };
37
-
38
- public:
39
- enum {
40
- DstAlignment = DstEvaluator::Alignment,
41
- SrcAlignment = SrcEvaluator::Alignment,
42
- DstHasDirectAccess = (DstFlags & DirectAccessBit) == DirectAccessBit,
43
- JointAlignment = EIGEN_PLAIN_ENUM_MIN(DstAlignment,SrcAlignment)
44
- };
45
-
46
- private:
47
- enum {
48
- InnerSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::SizeAtCompileTime)
49
- : int(DstFlags)&RowMajorBit ? int(Dst::ColsAtCompileTime)
50
- : int(Dst::RowsAtCompileTime),
51
- InnerMaxSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::MaxSizeAtCompileTime)
52
- : int(DstFlags)&RowMajorBit ? int(Dst::MaxColsAtCompileTime)
53
- : int(Dst::MaxRowsAtCompileTime),
54
- RestrictedInnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(InnerSize,MaxPacketSize),
55
- RestrictedLinearSize = EIGEN_SIZE_MIN_PREFER_FIXED(Dst::SizeAtCompileTime,MaxPacketSize),
56
- OuterStride = int(outer_stride_at_compile_time<Dst>::ret),
57
- MaxSizeAtCompileTime = Dst::SizeAtCompileTime
58
- };
59
-
60
- // TODO distinguish between linear traversal and inner-traversals
61
- typedef typename find_best_packet<DstScalar,RestrictedLinearSize>::type LinearPacketType;
62
- typedef typename find_best_packet<DstScalar,RestrictedInnerSize>::type InnerPacketType;
63
-
64
- enum {
65
- LinearPacketSize = unpacket_traits<LinearPacketType>::size,
66
- InnerPacketSize = unpacket_traits<InnerPacketType>::size
67
- };
68
-
69
- public:
70
- enum {
71
- LinearRequiredAlignment = unpacket_traits<LinearPacketType>::alignment,
72
- InnerRequiredAlignment = unpacket_traits<InnerPacketType>::alignment
73
- };
74
-
75
- private:
76
- enum {
77
- DstIsRowMajor = DstFlags&RowMajorBit,
78
- SrcIsRowMajor = SrcFlags&RowMajorBit,
79
- StorageOrdersAgree = (int(DstIsRowMajor) == int(SrcIsRowMajor)),
80
- MightVectorize = bool(StorageOrdersAgree)
81
- && (int(DstFlags) & int(SrcFlags) & ActualPacketAccessBit)
82
- && bool(functor_traits<AssignFunc>::PacketAccess),
83
- MayInnerVectorize = MightVectorize
84
- && int(InnerSize)!=Dynamic && int(InnerSize)%int(InnerPacketSize)==0
85
- && int(OuterStride)!=Dynamic && int(OuterStride)%int(InnerPacketSize)==0
86
- && (EIGEN_UNALIGNED_VECTORIZE || int(JointAlignment)>=int(InnerRequiredAlignment)),
87
- MayLinearize = bool(StorageOrdersAgree) && (int(DstFlags) & int(SrcFlags) & LinearAccessBit),
88
- MayLinearVectorize = bool(MightVectorize) && bool(MayLinearize) && bool(DstHasDirectAccess)
89
- && (EIGEN_UNALIGNED_VECTORIZE || (int(DstAlignment)>=int(LinearRequiredAlignment)) || MaxSizeAtCompileTime == Dynamic),
90
- /* If the destination isn't aligned, we have to do runtime checks and we don't unroll,
91
- so it's only good for large enough sizes. */
92
- MaySliceVectorize = bool(MightVectorize) && bool(DstHasDirectAccess)
93
- && (int(InnerMaxSize)==Dynamic || int(InnerMaxSize)>=(EIGEN_UNALIGNED_VECTORIZE?InnerPacketSize:(3*InnerPacketSize)))
94
- /* slice vectorization can be slow, so we only want it if the slices are big, which is
95
- indicated by InnerMaxSize rather than InnerSize, think of the case of a dynamic block
96
- in a fixed-size matrix
97
- However, with EIGEN_UNALIGNED_VECTORIZE and unrolling, slice vectorization is still worth it */
98
- };
99
-
100
- public:
101
- enum {
102
- Traversal = int(Dst::SizeAtCompileTime) == 0 ? int(AllAtOnceTraversal) // If compile-size is zero, traversing will fail at compile-time.
103
- : (int(MayLinearVectorize) && (LinearPacketSize>InnerPacketSize)) ? int(LinearVectorizedTraversal)
104
- : int(MayInnerVectorize) ? int(InnerVectorizedTraversal)
105
- : int(MayLinearVectorize) ? int(LinearVectorizedTraversal)
106
- : int(MaySliceVectorize) ? int(SliceVectorizedTraversal)
107
- : int(MayLinearize) ? int(LinearTraversal)
108
- : int(DefaultTraversal),
109
- Vectorized = int(Traversal) == InnerVectorizedTraversal
110
- || int(Traversal) == LinearVectorizedTraversal
111
- || int(Traversal) == SliceVectorizedTraversal
112
- };
113
-
114
- typedef typename conditional<int(Traversal)==LinearVectorizedTraversal, LinearPacketType, InnerPacketType>::type PacketType;
115
-
116
- private:
117
- enum {
118
- ActualPacketSize = int(Traversal)==LinearVectorizedTraversal ? LinearPacketSize
119
- : Vectorized ? InnerPacketSize
120
- : 1,
121
- UnrollingLimit = EIGEN_UNROLLING_LIMIT * ActualPacketSize,
122
- MayUnrollCompletely = int(Dst::SizeAtCompileTime) != Dynamic
123
- && int(Dst::SizeAtCompileTime) * (int(DstEvaluator::CoeffReadCost)+int(SrcEvaluator::CoeffReadCost)) <= int(UnrollingLimit),
124
- MayUnrollInner = int(InnerSize) != Dynamic
125
- && int(InnerSize) * (int(DstEvaluator::CoeffReadCost)+int(SrcEvaluator::CoeffReadCost)) <= int(UnrollingLimit)
126
- };
127
-
128
- public:
129
- enum {
130
- Unrolling = (int(Traversal) == int(InnerVectorizedTraversal) || int(Traversal) == int(DefaultTraversal))
131
- ? (
132
- int(MayUnrollCompletely) ? int(CompleteUnrolling)
133
- : int(MayUnrollInner) ? int(InnerUnrolling)
134
- : int(NoUnrolling)
135
- )
136
- : int(Traversal) == int(LinearVectorizedTraversal)
137
- ? ( bool(MayUnrollCompletely) && ( EIGEN_UNALIGNED_VECTORIZE || (int(DstAlignment)>=int(LinearRequiredAlignment)))
138
- ? int(CompleteUnrolling)
139
- : int(NoUnrolling) )
140
- : int(Traversal) == int(LinearTraversal)
141
- ? ( bool(MayUnrollCompletely) ? int(CompleteUnrolling)
142
- : int(NoUnrolling) )
143
- #if EIGEN_UNALIGNED_VECTORIZE
144
- : int(Traversal) == int(SliceVectorizedTraversal)
145
- ? ( bool(MayUnrollInner) ? int(InnerUnrolling)
146
- : int(NoUnrolling) )
147
- #endif
148
- : int(NoUnrolling)
149
- };
150
-
151
- #ifdef EIGEN_DEBUG_ASSIGN
152
- static void debug()
153
- {
154
- std::cerr << "DstXpr: " << typeid(typename DstEvaluator::XprType).name() << std::endl;
155
- std::cerr << "SrcXpr: " << typeid(typename SrcEvaluator::XprType).name() << std::endl;
156
- std::cerr.setf(std::ios::hex, std::ios::basefield);
157
- std::cerr << "DstFlags" << " = " << DstFlags << " (" << demangle_flags(DstFlags) << " )" << std::endl;
158
- std::cerr << "SrcFlags" << " = " << SrcFlags << " (" << demangle_flags(SrcFlags) << " )" << std::endl;
159
- std::cerr.unsetf(std::ios::hex);
160
- EIGEN_DEBUG_VAR(DstAlignment)
161
- EIGEN_DEBUG_VAR(SrcAlignment)
162
- EIGEN_DEBUG_VAR(LinearRequiredAlignment)
163
- EIGEN_DEBUG_VAR(InnerRequiredAlignment)
164
- EIGEN_DEBUG_VAR(JointAlignment)
165
- EIGEN_DEBUG_VAR(InnerSize)
166
- EIGEN_DEBUG_VAR(InnerMaxSize)
167
- EIGEN_DEBUG_VAR(LinearPacketSize)
168
- EIGEN_DEBUG_VAR(InnerPacketSize)
169
- EIGEN_DEBUG_VAR(ActualPacketSize)
170
- EIGEN_DEBUG_VAR(StorageOrdersAgree)
171
- EIGEN_DEBUG_VAR(MightVectorize)
172
- EIGEN_DEBUG_VAR(MayLinearize)
173
- EIGEN_DEBUG_VAR(MayInnerVectorize)
174
- EIGEN_DEBUG_VAR(MayLinearVectorize)
175
- EIGEN_DEBUG_VAR(MaySliceVectorize)
176
- std::cerr << "Traversal" << " = " << Traversal << " (" << demangle_traversal(Traversal) << ")" << std::endl;
177
- EIGEN_DEBUG_VAR(SrcEvaluator::CoeffReadCost)
178
- EIGEN_DEBUG_VAR(DstEvaluator::CoeffReadCost)
179
- EIGEN_DEBUG_VAR(Dst::SizeAtCompileTime)
180
- EIGEN_DEBUG_VAR(UnrollingLimit)
181
- EIGEN_DEBUG_VAR(MayUnrollCompletely)
182
- EIGEN_DEBUG_VAR(MayUnrollInner)
183
- std::cerr << "Unrolling" << " = " << Unrolling << " (" << demangle_unrolling(Unrolling) << ")" << std::endl;
184
- std::cerr << std::endl;
185
- }
186
- #endif
187
- };
188
-
189
- /***************************************************************************
190
- * Part 2 : meta-unrollers
191
- ***************************************************************************/
192
-
193
- /************************
194
- *** Default traversal ***
195
- ************************/
196
-
197
- template<typename Kernel, int Index, int Stop>
198
- struct copy_using_evaluator_DefaultTraversal_CompleteUnrolling
199
- {
200
- // FIXME: this is not very clean, perhaps this information should be provided by the kernel?
201
- typedef typename Kernel::DstEvaluatorType DstEvaluatorType;
202
- typedef typename DstEvaluatorType::XprType DstXprType;
203
-
204
- enum {
205
- outer = Index / DstXprType::InnerSizeAtCompileTime,
206
- inner = Index % DstXprType::InnerSizeAtCompileTime
207
- };
208
-
209
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
210
- {
211
- kernel.assignCoeffByOuterInner(outer, inner);
212
- copy_using_evaluator_DefaultTraversal_CompleteUnrolling<Kernel, Index+1, Stop>::run(kernel);
213
- }
214
- };
215
-
216
- template<typename Kernel, int Stop>
217
- struct copy_using_evaluator_DefaultTraversal_CompleteUnrolling<Kernel, Stop, Stop>
218
- {
219
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&) { }
220
- };
221
-
222
- template<typename Kernel, int Index_, int Stop>
223
- struct copy_using_evaluator_DefaultTraversal_InnerUnrolling
224
- {
225
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel, Index outer)
226
- {
227
- kernel.assignCoeffByOuterInner(outer, Index_);
228
- copy_using_evaluator_DefaultTraversal_InnerUnrolling<Kernel, Index_+1, Stop>::run(kernel, outer);
229
- }
230
- };
231
-
232
- template<typename Kernel, int Stop>
233
- struct copy_using_evaluator_DefaultTraversal_InnerUnrolling<Kernel, Stop, Stop>
234
- {
235
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&, Index) { }
236
- };
237
-
238
- /***********************
239
- *** Linear traversal ***
240
- ***********************/
241
-
242
- template<typename Kernel, int Index, int Stop>
243
- struct copy_using_evaluator_LinearTraversal_CompleteUnrolling
244
- {
245
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel& kernel)
246
- {
247
- kernel.assignCoeff(Index);
248
- copy_using_evaluator_LinearTraversal_CompleteUnrolling<Kernel, Index+1, Stop>::run(kernel);
249
- }
250
- };
251
-
252
- template<typename Kernel, int Stop>
253
- struct copy_using_evaluator_LinearTraversal_CompleteUnrolling<Kernel, Stop, Stop>
254
- {
255
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&) { }
256
- };
257
-
258
- /**************************
259
- *** Inner vectorization ***
260
- **************************/
261
-
262
- template<typename Kernel, int Index, int Stop>
263
- struct copy_using_evaluator_innervec_CompleteUnrolling
264
- {
265
- // FIXME: this is not very clean, perhaps this information should be provided by the kernel?
266
- typedef typename Kernel::DstEvaluatorType DstEvaluatorType;
267
- typedef typename DstEvaluatorType::XprType DstXprType;
268
- typedef typename Kernel::PacketType PacketType;
269
-
270
- enum {
271
- outer = Index / DstXprType::InnerSizeAtCompileTime,
272
- inner = Index % DstXprType::InnerSizeAtCompileTime,
273
- SrcAlignment = Kernel::AssignmentTraits::SrcAlignment,
274
- DstAlignment = Kernel::AssignmentTraits::DstAlignment
275
- };
276
-
277
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
278
- {
279
- kernel.template assignPacketByOuterInner<DstAlignment, SrcAlignment, PacketType>(outer, inner);
280
- enum { NextIndex = Index + unpacket_traits<PacketType>::size };
281
- copy_using_evaluator_innervec_CompleteUnrolling<Kernel, NextIndex, Stop>::run(kernel);
282
- }
283
- };
284
-
285
- template<typename Kernel, int Stop>
286
- struct copy_using_evaluator_innervec_CompleteUnrolling<Kernel, Stop, Stop>
287
- {
288
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&) { }
289
- };
290
-
291
- template<typename Kernel, int Index_, int Stop, int SrcAlignment, int DstAlignment>
292
- struct copy_using_evaluator_innervec_InnerUnrolling
293
- {
294
- typedef typename Kernel::PacketType PacketType;
295
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel, Index outer)
296
- {
297
- kernel.template assignPacketByOuterInner<DstAlignment, SrcAlignment, PacketType>(outer, Index_);
298
- enum { NextIndex = Index_ + unpacket_traits<PacketType>::size };
299
- copy_using_evaluator_innervec_InnerUnrolling<Kernel, NextIndex, Stop, SrcAlignment, DstAlignment>::run(kernel, outer);
300
- }
301
- };
302
-
303
- template<typename Kernel, int Stop, int SrcAlignment, int DstAlignment>
304
- struct copy_using_evaluator_innervec_InnerUnrolling<Kernel, Stop, Stop, SrcAlignment, DstAlignment>
305
- {
306
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &, Index) { }
307
- };
308
-
309
- /***************************************************************************
310
- * Part 3 : implementation of all cases
311
- ***************************************************************************/
312
-
313
- // dense_assignment_loop is based on assign_impl
314
-
315
- template<typename Kernel,
316
- int Traversal = Kernel::AssignmentTraits::Traversal,
317
- int Unrolling = Kernel::AssignmentTraits::Unrolling>
318
- struct dense_assignment_loop;
319
-
320
- /************************
321
- ***** Special Cases *****
322
- ************************/
323
-
324
- // Zero-sized assignment is a no-op.
325
- template<typename Kernel, int Unrolling>
326
- struct dense_assignment_loop<Kernel, AllAtOnceTraversal, Unrolling>
327
- {
328
- EIGEN_DEVICE_FUNC static void EIGEN_STRONG_INLINE run(Kernel& /*kernel*/)
329
- {
330
- typedef typename Kernel::DstEvaluatorType::XprType DstXprType;
331
- EIGEN_STATIC_ASSERT(int(DstXprType::SizeAtCompileTime) == 0,
332
- EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT)
333
- }
334
- };
335
-
336
- /************************
337
- *** Default traversal ***
338
- ************************/
339
-
340
- template<typename Kernel>
341
- struct dense_assignment_loop<Kernel, DefaultTraversal, NoUnrolling>
342
- {
343
- EIGEN_DEVICE_FUNC static void EIGEN_STRONG_INLINE run(Kernel &kernel)
344
- {
345
- for(Index outer = 0; outer < kernel.outerSize(); ++outer) {
346
- for(Index inner = 0; inner < kernel.innerSize(); ++inner) {
347
- kernel.assignCoeffByOuterInner(outer, inner);
348
- }
349
- }
350
- }
351
- };
352
-
353
- template<typename Kernel>
354
- struct dense_assignment_loop<Kernel, DefaultTraversal, CompleteUnrolling>
355
- {
356
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
357
- {
358
- typedef typename Kernel::DstEvaluatorType::XprType DstXprType;
359
- copy_using_evaluator_DefaultTraversal_CompleteUnrolling<Kernel, 0, DstXprType::SizeAtCompileTime>::run(kernel);
360
- }
361
- };
362
-
363
- template<typename Kernel>
364
- struct dense_assignment_loop<Kernel, DefaultTraversal, InnerUnrolling>
365
- {
366
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
367
- {
368
- typedef typename Kernel::DstEvaluatorType::XprType DstXprType;
369
-
370
- const Index outerSize = kernel.outerSize();
371
- for(Index outer = 0; outer < outerSize; ++outer)
372
- copy_using_evaluator_DefaultTraversal_InnerUnrolling<Kernel, 0, DstXprType::InnerSizeAtCompileTime>::run(kernel, outer);
373
- }
374
- };
375
-
376
- /***************************
377
- *** Linear vectorization ***
378
- ***************************/
379
-
380
-
381
- // The goal of unaligned_dense_assignment_loop is simply to factorize the handling
382
- // of the non vectorizable beginning and ending parts
383
-
384
- template <bool IsAligned = false>
385
- struct unaligned_dense_assignment_loop
386
- {
387
- // if IsAligned = true, then do nothing
388
- template <typename Kernel>
389
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&, Index, Index) {}
390
- };
391
-
392
- template <>
393
- struct unaligned_dense_assignment_loop<false>
394
- {
395
- // MSVC must not inline this functions. If it does, it fails to optimize the
396
- // packet access path.
397
- // FIXME check which version exhibits this issue
398
- #if EIGEN_COMP_MSVC
399
- template <typename Kernel>
400
- static EIGEN_DONT_INLINE void run(Kernel &kernel,
401
- Index start,
402
- Index end)
403
- #else
404
- template <typename Kernel>
405
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel,
406
- Index start,
407
- Index end)
408
- #endif
409
- {
410
- for (Index index = start; index < end; ++index)
411
- kernel.assignCoeff(index);
412
- }
413
- };
414
-
415
- template<typename Kernel>
416
- struct dense_assignment_loop<Kernel, LinearVectorizedTraversal, NoUnrolling>
417
- {
418
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
419
- {
420
- const Index size = kernel.size();
421
- typedef typename Kernel::Scalar Scalar;
422
- typedef typename Kernel::PacketType PacketType;
423
- enum {
424
- requestedAlignment = Kernel::AssignmentTraits::LinearRequiredAlignment,
425
- packetSize = unpacket_traits<PacketType>::size,
426
- dstIsAligned = int(Kernel::AssignmentTraits::DstAlignment)>=int(requestedAlignment),
427
- dstAlignment = packet_traits<Scalar>::AlignedOnScalar ? int(requestedAlignment)
428
- : int(Kernel::AssignmentTraits::DstAlignment),
429
- srcAlignment = Kernel::AssignmentTraits::JointAlignment
430
- };
431
- const Index alignedStart = dstIsAligned ? 0 : internal::first_aligned<requestedAlignment>(kernel.dstDataPtr(), size);
432
- const Index alignedEnd = alignedStart + ((size-alignedStart)/packetSize)*packetSize;
433
-
434
- unaligned_dense_assignment_loop<dstIsAligned!=0>::run(kernel, 0, alignedStart);
435
-
436
- for(Index index = alignedStart; index < alignedEnd; index += packetSize)
437
- kernel.template assignPacket<dstAlignment, srcAlignment, PacketType>(index);
438
-
439
- unaligned_dense_assignment_loop<>::run(kernel, alignedEnd, size);
440
- }
441
- };
442
-
443
- template<typename Kernel>
444
- struct dense_assignment_loop<Kernel, LinearVectorizedTraversal, CompleteUnrolling>
445
- {
446
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
447
- {
448
- typedef typename Kernel::DstEvaluatorType::XprType DstXprType;
449
- typedef typename Kernel::PacketType PacketType;
450
-
451
- enum { size = DstXprType::SizeAtCompileTime,
452
- packetSize =unpacket_traits<PacketType>::size,
453
- alignedSize = (int(size)/packetSize)*packetSize };
454
-
455
- copy_using_evaluator_innervec_CompleteUnrolling<Kernel, 0, alignedSize>::run(kernel);
456
- copy_using_evaluator_DefaultTraversal_CompleteUnrolling<Kernel, alignedSize, size>::run(kernel);
457
- }
458
- };
459
-
460
- /**************************
461
- *** Inner vectorization ***
462
- **************************/
463
-
464
- template<typename Kernel>
465
- struct dense_assignment_loop<Kernel, InnerVectorizedTraversal, NoUnrolling>
466
- {
467
- typedef typename Kernel::PacketType PacketType;
468
- enum {
469
- SrcAlignment = Kernel::AssignmentTraits::SrcAlignment,
470
- DstAlignment = Kernel::AssignmentTraits::DstAlignment
471
- };
472
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
473
- {
474
- const Index innerSize = kernel.innerSize();
475
- const Index outerSize = kernel.outerSize();
476
- const Index packetSize = unpacket_traits<PacketType>::size;
477
- for(Index outer = 0; outer < outerSize; ++outer)
478
- for(Index inner = 0; inner < innerSize; inner+=packetSize)
479
- kernel.template assignPacketByOuterInner<DstAlignment, SrcAlignment, PacketType>(outer, inner);
480
- }
481
- };
482
-
483
- template<typename Kernel>
484
- struct dense_assignment_loop<Kernel, InnerVectorizedTraversal, CompleteUnrolling>
485
- {
486
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
487
- {
488
- typedef typename Kernel::DstEvaluatorType::XprType DstXprType;
489
- copy_using_evaluator_innervec_CompleteUnrolling<Kernel, 0, DstXprType::SizeAtCompileTime>::run(kernel);
490
- }
491
- };
492
-
493
- template<typename Kernel>
494
- struct dense_assignment_loop<Kernel, InnerVectorizedTraversal, InnerUnrolling>
495
- {
496
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
497
- {
498
- typedef typename Kernel::DstEvaluatorType::XprType DstXprType;
499
- typedef typename Kernel::AssignmentTraits Traits;
500
- const Index outerSize = kernel.outerSize();
501
- for(Index outer = 0; outer < outerSize; ++outer)
502
- copy_using_evaluator_innervec_InnerUnrolling<Kernel, 0, DstXprType::InnerSizeAtCompileTime,
503
- Traits::SrcAlignment, Traits::DstAlignment>::run(kernel, outer);
504
- }
505
- };
506
-
507
- /***********************
508
- *** Linear traversal ***
509
- ***********************/
510
-
511
- template<typename Kernel>
512
- struct dense_assignment_loop<Kernel, LinearTraversal, NoUnrolling>
513
- {
514
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
515
- {
516
- const Index size = kernel.size();
517
- for(Index i = 0; i < size; ++i)
518
- kernel.assignCoeff(i);
519
- }
520
- };
521
-
522
- template<typename Kernel>
523
- struct dense_assignment_loop<Kernel, LinearTraversal, CompleteUnrolling>
524
- {
525
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
526
- {
527
- typedef typename Kernel::DstEvaluatorType::XprType DstXprType;
528
- copy_using_evaluator_LinearTraversal_CompleteUnrolling<Kernel, 0, DstXprType::SizeAtCompileTime>::run(kernel);
529
- }
530
- };
531
-
532
- /**************************
533
- *** Slice vectorization ***
534
- ***************************/
535
-
536
- template<typename Kernel>
537
- struct dense_assignment_loop<Kernel, SliceVectorizedTraversal, NoUnrolling>
538
- {
539
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
540
- {
541
- typedef typename Kernel::Scalar Scalar;
542
- typedef typename Kernel::PacketType PacketType;
543
- enum {
544
- packetSize = unpacket_traits<PacketType>::size,
545
- requestedAlignment = int(Kernel::AssignmentTraits::InnerRequiredAlignment),
546
- alignable = packet_traits<Scalar>::AlignedOnScalar || int(Kernel::AssignmentTraits::DstAlignment)>=sizeof(Scalar),
547
- dstIsAligned = int(Kernel::AssignmentTraits::DstAlignment)>=int(requestedAlignment),
548
- dstAlignment = alignable ? int(requestedAlignment)
549
- : int(Kernel::AssignmentTraits::DstAlignment)
550
- };
551
- const Scalar *dst_ptr = kernel.dstDataPtr();
552
- if((!bool(dstIsAligned)) && (UIntPtr(dst_ptr) % sizeof(Scalar))>0)
553
- {
554
- // the pointer is not aligned-on scalar, so alignment is not possible
555
- return dense_assignment_loop<Kernel,DefaultTraversal,NoUnrolling>::run(kernel);
556
- }
557
- const Index packetAlignedMask = packetSize - 1;
558
- const Index innerSize = kernel.innerSize();
559
- const Index outerSize = kernel.outerSize();
560
- const Index alignedStep = alignable ? (packetSize - kernel.outerStride() % packetSize) & packetAlignedMask : 0;
561
- Index alignedStart = ((!alignable) || bool(dstIsAligned)) ? 0 : internal::first_aligned<requestedAlignment>(dst_ptr, innerSize);
562
-
563
- for(Index outer = 0; outer < outerSize; ++outer)
564
- {
565
- const Index alignedEnd = alignedStart + ((innerSize-alignedStart) & ~packetAlignedMask);
566
- // do the non-vectorizable part of the assignment
567
- for(Index inner = 0; inner<alignedStart ; ++inner)
568
- kernel.assignCoeffByOuterInner(outer, inner);
569
-
570
- // do the vectorizable part of the assignment
571
- for(Index inner = alignedStart; inner<alignedEnd; inner+=packetSize)
572
- kernel.template assignPacketByOuterInner<dstAlignment, Unaligned, PacketType>(outer, inner);
573
-
574
- // do the non-vectorizable part of the assignment
575
- for(Index inner = alignedEnd; inner<innerSize ; ++inner)
576
- kernel.assignCoeffByOuterInner(outer, inner);
577
-
578
- alignedStart = numext::mini((alignedStart+alignedStep)%packetSize, innerSize);
579
- }
580
- }
581
- };
582
-
583
- #if EIGEN_UNALIGNED_VECTORIZE
584
- template<typename Kernel>
585
- struct dense_assignment_loop<Kernel, SliceVectorizedTraversal, InnerUnrolling>
586
- {
587
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel)
588
- {
589
- typedef typename Kernel::DstEvaluatorType::XprType DstXprType;
590
- typedef typename Kernel::PacketType PacketType;
591
-
592
- enum { innerSize = DstXprType::InnerSizeAtCompileTime,
593
- packetSize =unpacket_traits<PacketType>::size,
594
- vectorizableSize = (int(innerSize) / int(packetSize)) * int(packetSize),
595
- size = DstXprType::SizeAtCompileTime };
596
-
597
- for(Index outer = 0; outer < kernel.outerSize(); ++outer)
598
- {
599
- copy_using_evaluator_innervec_InnerUnrolling<Kernel, 0, vectorizableSize, 0, 0>::run(kernel, outer);
600
- copy_using_evaluator_DefaultTraversal_InnerUnrolling<Kernel, vectorizableSize, innerSize>::run(kernel, outer);
601
- }
602
- }
603
- };
604
- #endif
605
-
606
-
607
- /***************************************************************************
608
- * Part 4 : Generic dense assignment kernel
609
- ***************************************************************************/
610
-
611
- // This class generalize the assignment of a coefficient (or packet) from one dense evaluator
612
- // to another dense writable evaluator.
613
- // It is parametrized by the two evaluators, and the actual assignment functor.
614
- // This abstraction level permits to keep the evaluation loops as simple and as generic as possible.
615
- // One can customize the assignment using this generic dense_assignment_kernel with different
616
- // functors, or by completely overloading it, by-passing a functor.
617
- template<typename DstEvaluatorTypeT, typename SrcEvaluatorTypeT, typename Functor, int Version = Specialized>
618
- class generic_dense_assignment_kernel
619
- {
620
- protected:
621
- typedef typename DstEvaluatorTypeT::XprType DstXprType;
622
- typedef typename SrcEvaluatorTypeT::XprType SrcXprType;
623
- public:
624
-
625
- typedef DstEvaluatorTypeT DstEvaluatorType;
626
- typedef SrcEvaluatorTypeT SrcEvaluatorType;
627
- typedef typename DstEvaluatorType::Scalar Scalar;
628
- typedef copy_using_evaluator_traits<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor> AssignmentTraits;
629
- typedef typename AssignmentTraits::PacketType PacketType;
630
-
631
-
632
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
633
- generic_dense_assignment_kernel(DstEvaluatorType &dst, const SrcEvaluatorType &src, const Functor &func, DstXprType& dstExpr)
634
- : m_dst(dst), m_src(src), m_functor(func), m_dstExpr(dstExpr)
635
- {
636
- #ifdef EIGEN_DEBUG_ASSIGN
637
- AssignmentTraits::debug();
638
- #endif
639
- }
640
-
641
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index size() const EIGEN_NOEXCEPT { return m_dstExpr.size(); }
642
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index innerSize() const EIGEN_NOEXCEPT { return m_dstExpr.innerSize(); }
643
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerSize() const EIGEN_NOEXCEPT { return m_dstExpr.outerSize(); }
644
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT { return m_dstExpr.rows(); }
645
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT { return m_dstExpr.cols(); }
646
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerStride() const EIGEN_NOEXCEPT { return m_dstExpr.outerStride(); }
647
-
648
- EIGEN_DEVICE_FUNC DstEvaluatorType& dstEvaluator() EIGEN_NOEXCEPT { return m_dst; }
649
- EIGEN_DEVICE_FUNC const SrcEvaluatorType& srcEvaluator() const EIGEN_NOEXCEPT { return m_src; }
650
-
651
- /// Assign src(row,col) to dst(row,col) through the assignment functor.
652
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignCoeff(Index row, Index col)
653
- {
654
- m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col));
655
- }
656
-
657
- /// \sa assignCoeff(Index,Index)
658
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignCoeff(Index index)
659
- {
660
- m_functor.assignCoeff(m_dst.coeffRef(index), m_src.coeff(index));
661
- }
662
-
663
- /// \sa assignCoeff(Index,Index)
664
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignCoeffByOuterInner(Index outer, Index inner)
665
- {
666
- Index row = rowIndexByOuterInner(outer, inner);
667
- Index col = colIndexByOuterInner(outer, inner);
668
- assignCoeff(row, col);
669
- }
670
-
671
-
672
- template<int StoreMode, int LoadMode, typename PacketType>
673
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignPacket(Index row, Index col)
674
- {
675
- m_functor.template assignPacket<StoreMode>(&m_dst.coeffRef(row,col), m_src.template packet<LoadMode,PacketType>(row,col));
676
- }
677
-
678
- template<int StoreMode, int LoadMode, typename PacketType>
679
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignPacket(Index index)
680
- {
681
- m_functor.template assignPacket<StoreMode>(&m_dst.coeffRef(index), m_src.template packet<LoadMode,PacketType>(index));
682
- }
683
-
684
- template<int StoreMode, int LoadMode, typename PacketType>
685
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignPacketByOuterInner(Index outer, Index inner)
686
- {
687
- Index row = rowIndexByOuterInner(outer, inner);
688
- Index col = colIndexByOuterInner(outer, inner);
689
- assignPacket<StoreMode,LoadMode,PacketType>(row, col);
690
- }
691
-
692
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE Index rowIndexByOuterInner(Index outer, Index inner)
693
- {
694
- typedef typename DstEvaluatorType::ExpressionTraits Traits;
695
- return int(Traits::RowsAtCompileTime) == 1 ? 0
696
- : int(Traits::ColsAtCompileTime) == 1 ? inner
697
- : int(DstEvaluatorType::Flags)&RowMajorBit ? outer
698
- : inner;
699
- }
700
-
701
- EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE Index colIndexByOuterInner(Index outer, Index inner)
702
- {
703
- typedef typename DstEvaluatorType::ExpressionTraits Traits;
704
- return int(Traits::ColsAtCompileTime) == 1 ? 0
705
- : int(Traits::RowsAtCompileTime) == 1 ? inner
706
- : int(DstEvaluatorType::Flags)&RowMajorBit ? inner
707
- : outer;
708
- }
709
-
710
- EIGEN_DEVICE_FUNC const Scalar* dstDataPtr() const
711
- {
712
- return m_dstExpr.data();
713
- }
714
-
715
- protected:
716
- DstEvaluatorType& m_dst;
717
- const SrcEvaluatorType& m_src;
718
- const Functor &m_functor;
719
- // TODO find a way to avoid the needs of the original expression
720
- DstXprType& m_dstExpr;
721
- };
722
-
723
- // Special kernel used when computing small products whose operands have dynamic dimensions. It ensures that the
724
- // PacketSize used is no larger than 4, thereby increasing the chance that vectorized instructions will be used
725
- // when computing the product.
726
-
727
- template<typename DstEvaluatorTypeT, typename SrcEvaluatorTypeT, typename Functor>
728
- class restricted_packet_dense_assignment_kernel : public generic_dense_assignment_kernel<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, BuiltIn>
729
- {
730
- protected:
731
- typedef generic_dense_assignment_kernel<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, BuiltIn> Base;
732
- public:
733
- typedef typename Base::Scalar Scalar;
734
- typedef typename Base::DstXprType DstXprType;
735
- typedef copy_using_evaluator_traits<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, 4> AssignmentTraits;
736
- typedef typename AssignmentTraits::PacketType PacketType;
737
-
738
- EIGEN_DEVICE_FUNC restricted_packet_dense_assignment_kernel(DstEvaluatorTypeT &dst, const SrcEvaluatorTypeT &src, const Functor &func, DstXprType& dstExpr)
739
- : Base(dst, src, func, dstExpr)
740
- {
741
- }
742
- };
743
-
744
- /***************************************************************************
745
- * Part 5 : Entry point for dense rectangular assignment
746
- ***************************************************************************/
747
-
748
- template<typename DstXprType,typename SrcXprType, typename Functor>
749
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
750
- void resize_if_allowed(DstXprType &dst, const SrcXprType& src, const Functor &/*func*/)
751
- {
752
- EIGEN_ONLY_USED_FOR_DEBUG(dst);
753
- EIGEN_ONLY_USED_FOR_DEBUG(src);
754
- eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols());
755
- }
756
-
757
- template<typename DstXprType,typename SrcXprType, typename T1, typename T2>
758
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
759
- void resize_if_allowed(DstXprType &dst, const SrcXprType& src, const internal::assign_op<T1,T2> &/*func*/)
760
- {
761
- Index dstRows = src.rows();
762
- Index dstCols = src.cols();
763
- if(((dst.rows()!=dstRows) || (dst.cols()!=dstCols)))
764
- dst.resize(dstRows, dstCols);
765
- eigen_assert(dst.rows() == dstRows && dst.cols() == dstCols);
766
- }
767
-
768
- template<typename DstXprType, typename SrcXprType, typename Functor>
769
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(DstXprType& dst, const SrcXprType& src, const Functor &func)
770
- {
771
- typedef evaluator<DstXprType> DstEvaluatorType;
772
- typedef evaluator<SrcXprType> SrcEvaluatorType;
773
-
774
- SrcEvaluatorType srcEvaluator(src);
775
-
776
- // NOTE To properly handle A = (A*A.transpose())/s with A rectangular,
777
- // we need to resize the destination after the source evaluator has been created.
778
- resize_if_allowed(dst, src, func);
779
-
780
- DstEvaluatorType dstEvaluator(dst);
781
-
782
- typedef generic_dense_assignment_kernel<DstEvaluatorType,SrcEvaluatorType,Functor> Kernel;
783
- Kernel kernel(dstEvaluator, srcEvaluator, func, dst.const_cast_derived());
784
-
785
- dense_assignment_loop<Kernel>::run(kernel);
786
- }
787
-
788
- // Specialization for filling the destination with a constant value.
789
- #ifndef EIGEN_GPU_COMPILE_PHASE
790
- template<typename DstXprType>
791
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(DstXprType& dst, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<typename DstXprType::Scalar>, DstXprType>& src, const internal::assign_op<typename DstXprType::Scalar,typename DstXprType::Scalar>& func)
792
- {
793
- resize_if_allowed(dst, src, func);
794
- std::fill_n(dst.data(), dst.size(), src.functor()());
795
- }
796
- #endif
797
-
798
- template<typename DstXprType, typename SrcXprType>
799
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(DstXprType& dst, const SrcXprType& src)
800
- {
801
- call_dense_assignment_loop(dst, src, internal::assign_op<typename DstXprType::Scalar,typename SrcXprType::Scalar>());
802
- }
803
-
804
- /***************************************************************************
805
- * Part 6 : Generic assignment
806
- ***************************************************************************/
807
-
808
- // Based on the respective shapes of the destination and source,
809
- // the class AssignmentKind determine the kind of assignment mechanism.
810
- // AssignmentKind must define a Kind typedef.
811
- template<typename DstShape, typename SrcShape> struct AssignmentKind;
812
-
813
- // Assignment kind defined in this file:
814
- struct Dense2Dense {};
815
- struct EigenBase2EigenBase {};
816
-
817
- template<typename,typename> struct AssignmentKind { typedef EigenBase2EigenBase Kind; };
818
- template<> struct AssignmentKind<DenseShape,DenseShape> { typedef Dense2Dense Kind; };
819
-
820
- // This is the main assignment class
821
- template< typename DstXprType, typename SrcXprType, typename Functor,
822
- typename Kind = typename AssignmentKind< typename evaluator_traits<DstXprType>::Shape , typename evaluator_traits<SrcXprType>::Shape >::Kind,
823
- typename EnableIf = void>
824
- struct Assignment;
825
-
826
-
827
- // The only purpose of this call_assignment() function is to deal with noalias() / "assume-aliasing" and automatic transposition.
828
- // Indeed, I (Gael) think that this concept of "assume-aliasing" was a mistake, and it makes thing quite complicated.
829
- // So this intermediate function removes everything related to "assume-aliasing" such that Assignment
830
- // does not has to bother about these annoying details.
831
-
832
- template<typename Dst, typename Src>
833
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
834
- void call_assignment(Dst& dst, const Src& src)
835
- {
836
- call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
837
- }
838
- template<typename Dst, typename Src>
839
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
840
- void call_assignment(const Dst& dst, const Src& src)
841
- {
842
- call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
843
- }
844
-
845
- // Deal with "assume-aliasing"
846
- template<typename Dst, typename Src, typename Func>
847
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
848
- void call_assignment(Dst& dst, const Src& src, const Func& func, typename enable_if< evaluator_assume_aliasing<Src>::value, void*>::type = 0)
849
- {
850
- typename plain_matrix_type<Src>::type tmp(src);
851
- call_assignment_no_alias(dst, tmp, func);
852
- }
853
-
854
- template<typename Dst, typename Src, typename Func>
855
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
856
- void call_assignment(Dst& dst, const Src& src, const Func& func, typename enable_if<!evaluator_assume_aliasing<Src>::value, void*>::type = 0)
857
- {
858
- call_assignment_no_alias(dst, src, func);
859
- }
860
-
861
- // by-pass "assume-aliasing"
862
- // When there is no aliasing, we require that 'dst' has been properly resized
863
- template<typename Dst, template <typename> class StorageBase, typename Src, typename Func>
864
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
865
- void call_assignment(NoAlias<Dst,StorageBase>& dst, const Src& src, const Func& func)
866
- {
867
- call_assignment_no_alias(dst.expression(), src, func);
868
- }
869
-
870
-
871
- template<typename Dst, typename Src, typename Func>
872
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
873
- void call_assignment_no_alias(Dst& dst, const Src& src, const Func& func)
874
- {
875
- enum {
876
- NeedToTranspose = ( (int(Dst::RowsAtCompileTime) == 1 && int(Src::ColsAtCompileTime) == 1)
877
- || (int(Dst::ColsAtCompileTime) == 1 && int(Src::RowsAtCompileTime) == 1)
878
- ) && int(Dst::SizeAtCompileTime) != 1
879
- };
880
-
881
- typedef typename internal::conditional<NeedToTranspose, Transpose<Dst>, Dst>::type ActualDstTypeCleaned;
882
- typedef typename internal::conditional<NeedToTranspose, Transpose<Dst>, Dst&>::type ActualDstType;
883
- ActualDstType actualDst(dst);
884
-
885
- // TODO check whether this is the right place to perform these checks:
886
- EIGEN_STATIC_ASSERT_LVALUE(Dst)
887
- EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(ActualDstTypeCleaned,Src)
888
- EIGEN_CHECK_BINARY_COMPATIBILIY(Func,typename ActualDstTypeCleaned::Scalar,typename Src::Scalar);
889
-
890
- Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
891
- }
892
-
893
- template<typename Dst, typename Src, typename Func>
894
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
895
- void call_restricted_packet_assignment_no_alias(Dst& dst, const Src& src, const Func& func)
896
- {
897
- typedef evaluator<Dst> DstEvaluatorType;
898
- typedef evaluator<Src> SrcEvaluatorType;
899
- typedef restricted_packet_dense_assignment_kernel<DstEvaluatorType,SrcEvaluatorType,Func> Kernel;
900
-
901
- EIGEN_STATIC_ASSERT_LVALUE(Dst)
902
- EIGEN_CHECK_BINARY_COMPATIBILIY(Func,typename Dst::Scalar,typename Src::Scalar);
903
-
904
- SrcEvaluatorType srcEvaluator(src);
905
- resize_if_allowed(dst, src, func);
906
-
907
- DstEvaluatorType dstEvaluator(dst);
908
- Kernel kernel(dstEvaluator, srcEvaluator, func, dst.const_cast_derived());
909
-
910
- dense_assignment_loop<Kernel>::run(kernel);
911
- }
912
-
913
- template<typename Dst, typename Src>
914
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
915
- void call_assignment_no_alias(Dst& dst, const Src& src)
916
- {
917
- call_assignment_no_alias(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
918
- }
919
-
920
- template<typename Dst, typename Src, typename Func>
921
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
922
- void call_assignment_no_alias_no_transpose(Dst& dst, const Src& src, const Func& func)
923
- {
924
- // TODO check whether this is the right place to perform these checks:
925
- EIGEN_STATIC_ASSERT_LVALUE(Dst)
926
- EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Dst,Src)
927
- EIGEN_CHECK_BINARY_COMPATIBILIY(Func,typename Dst::Scalar,typename Src::Scalar);
928
-
929
- Assignment<Dst,Src,Func>::run(dst, src, func);
930
- }
931
- template<typename Dst, typename Src>
932
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
933
- void call_assignment_no_alias_no_transpose(Dst& dst, const Src& src)
934
- {
935
- call_assignment_no_alias_no_transpose(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
936
- }
937
-
938
- // forward declaration
939
- template<typename Dst, typename Src> void check_for_aliasing(const Dst &dst, const Src &src);
940
-
941
- // Generic Dense to Dense assignment
942
- // Note that the last template argument "Weak" is needed to make it possible to perform
943
- // both partial specialization+SFINAE without ambiguous specialization
944
- template< typename DstXprType, typename SrcXprType, typename Functor, typename Weak>
945
- struct Assignment<DstXprType, SrcXprType, Functor, Dense2Dense, Weak>
946
- {
947
- EIGEN_DEVICE_FUNC
948
- static EIGEN_STRONG_INLINE void run(DstXprType &dst, const SrcXprType &src, const Functor &func)
949
- {
950
- #ifndef EIGEN_NO_DEBUG
951
- internal::check_for_aliasing(dst, src);
952
- #endif
953
-
954
- call_dense_assignment_loop(dst, src, func);
955
- }
956
- };
957
-
958
- // Generic assignment through evalTo.
959
- // TODO: not sure we have to keep that one, but it helps porting current code to new evaluator mechanism.
960
- // Note that the last template argument "Weak" is needed to make it possible to perform
961
- // both partial specialization+SFINAE without ambiguous specialization
962
- template< typename DstXprType, typename SrcXprType, typename Functor, typename Weak>
963
- struct Assignment<DstXprType, SrcXprType, Functor, EigenBase2EigenBase, Weak>
964
- {
965
- EIGEN_DEVICE_FUNC
966
- static EIGEN_STRONG_INLINE void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op<typename DstXprType::Scalar,typename SrcXprType::Scalar> &/*func*/)
967
- {
968
- Index dstRows = src.rows();
969
- Index dstCols = src.cols();
970
- if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
971
- dst.resize(dstRows, dstCols);
972
-
973
- eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols());
974
- src.evalTo(dst);
975
- }
976
-
977
- // NOTE The following two functions are templated to avoid their instantiation if not needed
978
- // This is needed because some expressions supports evalTo only and/or have 'void' as scalar type.
979
- template<typename SrcScalarType>
980
- EIGEN_DEVICE_FUNC
981
- static EIGEN_STRONG_INLINE void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op<typename DstXprType::Scalar,SrcScalarType> &/*func*/)
982
- {
983
- Index dstRows = src.rows();
984
- Index dstCols = src.cols();
985
- if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
986
- dst.resize(dstRows, dstCols);
987
-
988
- eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols());
989
- src.addTo(dst);
990
- }
991
-
992
- template<typename SrcScalarType>
993
- EIGEN_DEVICE_FUNC
994
- static EIGEN_STRONG_INLINE void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op<typename DstXprType::Scalar,SrcScalarType> &/*func*/)
995
- {
996
- Index dstRows = src.rows();
997
- Index dstCols = src.cols();
998
- if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
999
- dst.resize(dstRows, dstCols);
1000
-
1001
- eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols());
1002
- src.subTo(dst);
1003
- }
1004
- };
1005
-
1006
- } // namespace internal
1007
-
1008
- } // end namespace Eigen
1009
-
1010
- #endif // EIGEN_ASSIGN_EVALUATOR_H