xtgeo 4.10.0__cp313-cp313-win_amd64.whl → 4.11.0__cp313-cp313-win_amd64.whl

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

Potentially problematic release.


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

Files changed (546) hide show
  1. xtgeo/_cxtgeo.cp313-win_amd64.pyd +0 -0
  2. xtgeo/_internal.cp313-win_amd64.pyd +0 -0
  3. xtgeo/common/version.py +16 -3
  4. xtgeo/cube/_cube_window_attributes.py +13 -4
  5. xtgeo/grid3d/_grid_etc1.py +10 -5
  6. xtgeo/grid3d/grid.py +22 -6
  7. xtgeo/metadata/metadata.py +20 -13
  8. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/METADATA +1 -1
  9. xtgeo-4.11.0.dist-info/RECORD +117 -0
  10. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/WHEEL +1 -1
  11. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  12. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  13. xtgeo/include/eigen3/Eigen/Core +0 -384
  14. xtgeo/include/eigen3/Eigen/Dense +0 -7
  15. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  16. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  17. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  18. xtgeo/include/eigen3/Eigen/Householder +0 -29
  19. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  20. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  21. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  22. xtgeo/include/eigen3/Eigen/LU +0 -47
  23. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  24. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  25. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  26. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  27. xtgeo/include/eigen3/Eigen/QR +0 -50
  28. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  29. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  30. xtgeo/include/eigen3/Eigen/SVD +0 -50
  31. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  32. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  33. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  34. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  35. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  36. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  37. xtgeo/include/eigen3/Eigen/StdList +0 -26
  38. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  39. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  40. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  41. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  42. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  43. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  44. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  45. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  46. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  47. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  48. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  49. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  50. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  51. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  52. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  53. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  54. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  55. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  56. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  57. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  58. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  59. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  60. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  61. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  62. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  63. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  64. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  65. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  66. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  67. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  68. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  69. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  70. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  71. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  72. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  73. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  74. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  75. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  76. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  77. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  78. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  79. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  80. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  81. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  82. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  83. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  84. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  85. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  86. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  87. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  88. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  89. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  90. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  91. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  92. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  93. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  94. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  95. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  96. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  97. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  98. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  99. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  100. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  101. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  102. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  103. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  104. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  105. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  106. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  107. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  108. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  109. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  110. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  111. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  112. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  113. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  114. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  115. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  116. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  117. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  118. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  119. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  120. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  121. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  122. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  123. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  124. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  125. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  126. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  127. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  128. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  129. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  130. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  131. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  132. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  133. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  134. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  135. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  136. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  166. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  167. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  168. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  169. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  170. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  171. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  172. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  173. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  174. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  175. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  176. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  177. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  178. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  179. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  180. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  181. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  182. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  183. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  184. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  185. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  186. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  187. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  188. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  189. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  190. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  191. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  192. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  193. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  194. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  195. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  196. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  197. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  198. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  199. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  200. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  201. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  202. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  203. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  204. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  205. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  206. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  207. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  208. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  209. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  210. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  211. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  212. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  213. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  214. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  215. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  216. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  217. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  218. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  219. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  220. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  221. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  222. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  223. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  224. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  225. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  226. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  227. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  228. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  229. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  230. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  231. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  232. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  233. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  234. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  235. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  236. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  237. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  238. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  239. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  240. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  241. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  242. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  243. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  244. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  245. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  246. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  247. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  248. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  249. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  250. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  251. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  252. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  253. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  254. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  255. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  256. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  257. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  258. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  259. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  260. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  261. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  262. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  263. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  264. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  265. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  266. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  267. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  268. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  269. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  270. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  271. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  272. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  273. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  274. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  275. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  276. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  277. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  278. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  279. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  280. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  281. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  282. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  283. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  284. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  285. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  286. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  287. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  288. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  289. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  290. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  291. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  292. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  293. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  294. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  295. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  296. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  297. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  308. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  309. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  310. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  311. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  312. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  313. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  314. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  315. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  316. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  317. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  318. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  319. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  320. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  321. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  322. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  323. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  324. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  325. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  326. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  327. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  328. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  329. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  330. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  331. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  332. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  333. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  334. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  335. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  336. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  337. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  338. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  339. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  340. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  341. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  342. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  343. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  344. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  345. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  346. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  347. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  348. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  349. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  350. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  351. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  352. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  353. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  354. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  355. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  356. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  357. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  358. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  359. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  360. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  361. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  362. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  363. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  364. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  365. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  366. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  367. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  368. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  369. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  370. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  371. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  372. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  373. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  444. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  445. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  446. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  447. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  448. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  449. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  450. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  451. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  452. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  453. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  454. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  455. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  456. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  457. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  458. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  459. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  460. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  461. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  462. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  463. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  464. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  465. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  466. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  467. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  468. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  469. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  470. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  471. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  472. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  473. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  474. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  475. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  476. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  477. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  478. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  479. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  480. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  481. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  482. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  483. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  484. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  485. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  486. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  487. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  488. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  489. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  490. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  491. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  492. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  493. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  494. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  495. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  496. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  497. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  498. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  499. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  500. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  501. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  502. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  503. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  504. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  505. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  506. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  507. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  508. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  509. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  510. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  511. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  512. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  513. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  514. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  515. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  516. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  517. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  518. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  519. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  520. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  521. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  522. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  523. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  524. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  525. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  526. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  527. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  528. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  529. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  530. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  531. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  538. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  539. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  540. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  541. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  542. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  543. xtgeo/share/eigen3/cmake/Eigen3Targets.cmake +0 -106
  544. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  545. xtgeo-4.10.0.dist-info/RECORD +0 -651
  546. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,1233 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2018 Wave Computing, Inc.
5
- // Written by:
6
- // Chris Larsen
7
- // Alexey Frunze (afrunze@wavecomp.com)
8
- //
9
- // This Source Code Form is subject to the terms of the Mozilla
10
- // Public License v. 2.0. If a copy of the MPL was not distributed
11
- // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
-
13
- #ifndef EIGEN_PACKET_MATH_MSA_H
14
- #define EIGEN_PACKET_MATH_MSA_H
15
-
16
- #include <iostream>
17
- #include <string>
18
-
19
- namespace Eigen {
20
-
21
- namespace internal {
22
-
23
- #ifndef EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD
24
- #define EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 8
25
- #endif
26
-
27
- #ifndef EIGEN_HAS_SINGLE_INSTRUCTION_MADD
28
- #define EIGEN_HAS_SINGLE_INSTRUCTION_MADD
29
- #endif
30
-
31
- #ifndef EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS
32
- #define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 32
33
- #endif
34
-
35
- #if 0
36
- #define EIGEN_MSA_DEBUG \
37
- static bool firstTime = true; \
38
- do { \
39
- if (firstTime) { \
40
- std::cout << __FILE__ << ':' << __LINE__ << ':' << __FUNCTION__ << std::endl; \
41
- firstTime = false; \
42
- } \
43
- } while (0)
44
- #else
45
- #define EIGEN_MSA_DEBUG
46
- #endif
47
-
48
- #define EIGEN_MSA_SHF_I8(a, b, c, d) (((d) << 6) | ((c) << 4) | ((b) << 2) | (a))
49
-
50
- typedef v4f32 Packet4f;
51
- typedef v4i32 Packet4i;
52
- typedef v4u32 Packet4ui;
53
-
54
- #define _EIGEN_DECLARE_CONST_Packet4f(NAME, X) const Packet4f p4f_##NAME = { X, X, X, X }
55
- #define _EIGEN_DECLARE_CONST_Packet4i(NAME, X) const Packet4i p4i_##NAME = { X, X, X, X }
56
- #define _EIGEN_DECLARE_CONST_Packet4ui(NAME, X) const Packet4ui p4ui_##NAME = { X, X, X, X }
57
-
58
- inline std::ostream& operator<<(std::ostream& os, const Packet4f& value) {
59
- os << "[ " << value[0] << ", " << value[1] << ", " << value[2] << ", " << value[3] << " ]";
60
- return os;
61
- }
62
-
63
- inline std::ostream& operator<<(std::ostream& os, const Packet4i& value) {
64
- os << "[ " << value[0] << ", " << value[1] << ", " << value[2] << ", " << value[3] << " ]";
65
- return os;
66
- }
67
-
68
- inline std::ostream& operator<<(std::ostream& os, const Packet4ui& value) {
69
- os << "[ " << value[0] << ", " << value[1] << ", " << value[2] << ", " << value[3] << " ]";
70
- return os;
71
- }
72
-
73
- template <>
74
- struct packet_traits<float> : default_packet_traits {
75
- typedef Packet4f type;
76
- typedef Packet4f half; // Packet2f intrinsics not implemented yet
77
- enum {
78
- Vectorizable = 1,
79
- AlignedOnScalar = 1,
80
- size = 4,
81
- HasHalfPacket = 0, // Packet2f intrinsics not implemented yet
82
- // FIXME check the Has*
83
- HasDiv = 1,
84
- HasSin = EIGEN_FAST_MATH,
85
- HasCos = EIGEN_FAST_MATH,
86
- HasTanh = EIGEN_FAST_MATH,
87
- HasErf = EIGEN_FAST_MATH,
88
- HasLog = 1,
89
- HasExp = 1,
90
- HasSqrt = 1,
91
- HasRsqrt = 1,
92
- HasRound = 1,
93
- HasFloor = 1,
94
- HasCeil = 1,
95
- HasBlend = 1
96
- };
97
- };
98
-
99
- template <>
100
- struct packet_traits<int32_t> : default_packet_traits {
101
- typedef Packet4i type;
102
- typedef Packet4i half; // Packet2i intrinsics not implemented yet
103
- enum {
104
- Vectorizable = 1,
105
- AlignedOnScalar = 1,
106
- size = 4,
107
- HasHalfPacket = 0, // Packet2i intrinsics not implemented yet
108
- // FIXME check the Has*
109
- HasDiv = 1,
110
- HasBlend = 1
111
- };
112
- };
113
-
114
- template <>
115
- struct unpacket_traits<Packet4f> {
116
- typedef float type;
117
- enum { size = 4, alignment = Aligned16, vectorizable=true, masked_load_available=false, masked_store_available=false };
118
- typedef Packet4f half;
119
- };
120
-
121
- template <>
122
- struct unpacket_traits<Packet4i> {
123
- typedef int32_t type;
124
- enum { size = 4, alignment = Aligned16, vectorizable=true, masked_load_available=false, masked_store_available=false };
125
- typedef Packet4i half;
126
- };
127
-
128
- template <>
129
- EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) {
130
- EIGEN_MSA_DEBUG;
131
-
132
- Packet4f v = { from, from, from, from };
133
- return v;
134
- }
135
-
136
- template <>
137
- EIGEN_STRONG_INLINE Packet4i pset1<Packet4i>(const int32_t& from) {
138
- EIGEN_MSA_DEBUG;
139
-
140
- return __builtin_msa_fill_w(from);
141
- }
142
-
143
- template <>
144
- EIGEN_STRONG_INLINE Packet4f pload1<Packet4f>(const float* from) {
145
- EIGEN_MSA_DEBUG;
146
-
147
- float f = *from;
148
- Packet4f v = { f, f, f, f };
149
- return v;
150
- }
151
-
152
- template <>
153
- EIGEN_STRONG_INLINE Packet4i pload1<Packet4i>(const int32_t* from) {
154
- EIGEN_MSA_DEBUG;
155
-
156
- return __builtin_msa_fill_w(*from);
157
- }
158
-
159
- template <>
160
- EIGEN_STRONG_INLINE Packet4f padd<Packet4f>(const Packet4f& a, const Packet4f& b) {
161
- EIGEN_MSA_DEBUG;
162
-
163
- return __builtin_msa_fadd_w(a, b);
164
- }
165
-
166
- template <>
167
- EIGEN_STRONG_INLINE Packet4i padd<Packet4i>(const Packet4i& a, const Packet4i& b) {
168
- EIGEN_MSA_DEBUG;
169
-
170
- return __builtin_msa_addv_w(a, b);
171
- }
172
-
173
- template <>
174
- EIGEN_STRONG_INLINE Packet4f plset<Packet4f>(const float& a) {
175
- EIGEN_MSA_DEBUG;
176
-
177
- static const Packet4f countdown = { 0.0f, 1.0f, 2.0f, 3.0f };
178
- return padd(pset1<Packet4f>(a), countdown);
179
- }
180
-
181
- template <>
182
- EIGEN_STRONG_INLINE Packet4i plset<Packet4i>(const int32_t& a) {
183
- EIGEN_MSA_DEBUG;
184
-
185
- static const Packet4i countdown = { 0, 1, 2, 3 };
186
- return padd(pset1<Packet4i>(a), countdown);
187
- }
188
-
189
- template <>
190
- EIGEN_STRONG_INLINE Packet4f psub<Packet4f>(const Packet4f& a, const Packet4f& b) {
191
- EIGEN_MSA_DEBUG;
192
-
193
- return __builtin_msa_fsub_w(a, b);
194
- }
195
-
196
- template <>
197
- EIGEN_STRONG_INLINE Packet4i psub<Packet4i>(const Packet4i& a, const Packet4i& b) {
198
- EIGEN_MSA_DEBUG;
199
-
200
- return __builtin_msa_subv_w(a, b);
201
- }
202
-
203
- template <>
204
- EIGEN_STRONG_INLINE Packet4f pnegate(const Packet4f& a) {
205
- EIGEN_MSA_DEBUG;
206
-
207
- return (Packet4f)__builtin_msa_bnegi_w((v4u32)a, 31);
208
- }
209
-
210
- template <>
211
- EIGEN_STRONG_INLINE Packet4i pnegate(const Packet4i& a) {
212
- EIGEN_MSA_DEBUG;
213
-
214
- return __builtin_msa_addvi_w((v4i32)__builtin_msa_nori_b((v16u8)a, 0), 1);
215
- }
216
-
217
- template <>
218
- EIGEN_STRONG_INLINE Packet4f pconj(const Packet4f& a) {
219
- EIGEN_MSA_DEBUG;
220
-
221
- return a;
222
- }
223
-
224
- template <>
225
- EIGEN_STRONG_INLINE Packet4i pconj(const Packet4i& a) {
226
- EIGEN_MSA_DEBUG;
227
-
228
- return a;
229
- }
230
-
231
- template <>
232
- EIGEN_STRONG_INLINE Packet4f pmul<Packet4f>(const Packet4f& a, const Packet4f& b) {
233
- EIGEN_MSA_DEBUG;
234
-
235
- return __builtin_msa_fmul_w(a, b);
236
- }
237
-
238
- template <>
239
- EIGEN_STRONG_INLINE Packet4i pmul<Packet4i>(const Packet4i& a, const Packet4i& b) {
240
- EIGEN_MSA_DEBUG;
241
-
242
- return __builtin_msa_mulv_w(a, b);
243
- }
244
-
245
- template <>
246
- EIGEN_STRONG_INLINE Packet4f pdiv<Packet4f>(const Packet4f& a, const Packet4f& b) {
247
- EIGEN_MSA_DEBUG;
248
-
249
- return __builtin_msa_fdiv_w(a, b);
250
- }
251
-
252
- template <>
253
- EIGEN_STRONG_INLINE Packet4i pdiv<Packet4i>(const Packet4i& a, const Packet4i& b) {
254
- EIGEN_MSA_DEBUG;
255
-
256
- return __builtin_msa_div_s_w(a, b);
257
- }
258
-
259
- template <>
260
- EIGEN_STRONG_INLINE Packet4f pmadd(const Packet4f& a, const Packet4f& b, const Packet4f& c) {
261
- EIGEN_MSA_DEBUG;
262
-
263
- return __builtin_msa_fmadd_w(c, a, b);
264
- }
265
-
266
- template <>
267
- EIGEN_STRONG_INLINE Packet4i pmadd(const Packet4i& a, const Packet4i& b, const Packet4i& c) {
268
- EIGEN_MSA_DEBUG;
269
-
270
- // Use "asm" construct to avoid __builtin_msa_maddv_w GNU C bug.
271
- Packet4i value = c;
272
- __asm__("maddv.w %w[value], %w[a], %w[b]\n"
273
- // Outputs
274
- : [value] "+f"(value)
275
- // Inputs
276
- : [a] "f"(a), [b] "f"(b));
277
- return value;
278
- }
279
-
280
- template <>
281
- EIGEN_STRONG_INLINE Packet4f pand<Packet4f>(const Packet4f& a, const Packet4f& b) {
282
- EIGEN_MSA_DEBUG;
283
-
284
- return (Packet4f)__builtin_msa_and_v((v16u8)a, (v16u8)b);
285
- }
286
-
287
- template <>
288
- EIGEN_STRONG_INLINE Packet4i pand<Packet4i>(const Packet4i& a, const Packet4i& b) {
289
- EIGEN_MSA_DEBUG;
290
-
291
- return (Packet4i)__builtin_msa_and_v((v16u8)a, (v16u8)b);
292
- }
293
-
294
- template <>
295
- EIGEN_STRONG_INLINE Packet4f por<Packet4f>(const Packet4f& a, const Packet4f& b) {
296
- EIGEN_MSA_DEBUG;
297
-
298
- return (Packet4f)__builtin_msa_or_v((v16u8)a, (v16u8)b);
299
- }
300
-
301
- template <>
302
- EIGEN_STRONG_INLINE Packet4i por<Packet4i>(const Packet4i& a, const Packet4i& b) {
303
- EIGEN_MSA_DEBUG;
304
-
305
- return (Packet4i)__builtin_msa_or_v((v16u8)a, (v16u8)b);
306
- }
307
-
308
- template <>
309
- EIGEN_STRONG_INLINE Packet4f pxor<Packet4f>(const Packet4f& a, const Packet4f& b) {
310
- EIGEN_MSA_DEBUG;
311
-
312
- return (Packet4f)__builtin_msa_xor_v((v16u8)a, (v16u8)b);
313
- }
314
-
315
- template <>
316
- EIGEN_STRONG_INLINE Packet4i pxor<Packet4i>(const Packet4i& a, const Packet4i& b) {
317
- EIGEN_MSA_DEBUG;
318
-
319
- return (Packet4i)__builtin_msa_xor_v((v16u8)a, (v16u8)b);
320
- }
321
-
322
- template <>
323
- EIGEN_STRONG_INLINE Packet4f pandnot<Packet4f>(const Packet4f& a, const Packet4f& b) {
324
- EIGEN_MSA_DEBUG;
325
-
326
- return pand(a, (Packet4f)__builtin_msa_xori_b((v16u8)b, 255));
327
- }
328
-
329
- template <>
330
- EIGEN_STRONG_INLINE Packet4i pandnot<Packet4i>(const Packet4i& a, const Packet4i& b) {
331
- EIGEN_MSA_DEBUG;
332
-
333
- return pand(a, (Packet4i)__builtin_msa_xori_b((v16u8)b, 255));
334
- }
335
-
336
- template <>
337
- EIGEN_STRONG_INLINE Packet4f pmin<Packet4f>(const Packet4f& a, const Packet4f& b) {
338
- EIGEN_MSA_DEBUG;
339
-
340
- #if EIGEN_FAST_MATH
341
- // This prefers numbers to NaNs.
342
- return __builtin_msa_fmin_w(a, b);
343
- #else
344
- // This prefers NaNs to numbers.
345
- Packet4i aNaN = __builtin_msa_fcun_w(a, a);
346
- Packet4i aMinOrNaN = por(__builtin_msa_fclt_w(a, b), aNaN);
347
- return (Packet4f)__builtin_msa_bsel_v((v16u8)aMinOrNaN, (v16u8)b, (v16u8)a);
348
- #endif
349
- }
350
-
351
- template <>
352
- EIGEN_STRONG_INLINE Packet4i pmin<Packet4i>(const Packet4i& a, const Packet4i& b) {
353
- EIGEN_MSA_DEBUG;
354
-
355
- return __builtin_msa_min_s_w(a, b);
356
- }
357
-
358
- template <>
359
- EIGEN_STRONG_INLINE Packet4f pmax<Packet4f>(const Packet4f& a, const Packet4f& b) {
360
- EIGEN_MSA_DEBUG;
361
-
362
- #if EIGEN_FAST_MATH
363
- // This prefers numbers to NaNs.
364
- return __builtin_msa_fmax_w(a, b);
365
- #else
366
- // This prefers NaNs to numbers.
367
- Packet4i aNaN = __builtin_msa_fcun_w(a, a);
368
- Packet4i aMaxOrNaN = por(__builtin_msa_fclt_w(b, a), aNaN);
369
- return (Packet4f)__builtin_msa_bsel_v((v16u8)aMaxOrNaN, (v16u8)b, (v16u8)a);
370
- #endif
371
- }
372
-
373
- template <>
374
- EIGEN_STRONG_INLINE Packet4i pmax<Packet4i>(const Packet4i& a, const Packet4i& b) {
375
- EIGEN_MSA_DEBUG;
376
-
377
- return __builtin_msa_max_s_w(a, b);
378
- }
379
-
380
- template <>
381
- EIGEN_STRONG_INLINE Packet4f pload<Packet4f>(const float* from) {
382
- EIGEN_MSA_DEBUG;
383
-
384
- EIGEN_DEBUG_ALIGNED_LOAD return (Packet4f)__builtin_msa_ld_w(const_cast<float*>(from), 0);
385
- }
386
-
387
- template <>
388
- EIGEN_STRONG_INLINE Packet4i pload<Packet4i>(const int32_t* from) {
389
- EIGEN_MSA_DEBUG;
390
-
391
- EIGEN_DEBUG_ALIGNED_LOAD return __builtin_msa_ld_w(const_cast<int32_t*>(from), 0);
392
- }
393
-
394
- template <>
395
- EIGEN_STRONG_INLINE Packet4f ploadu<Packet4f>(const float* from) {
396
- EIGEN_MSA_DEBUG;
397
-
398
- EIGEN_DEBUG_UNALIGNED_LOAD return (Packet4f)__builtin_msa_ld_w(const_cast<float*>(from), 0);
399
- }
400
-
401
- template <>
402
- EIGEN_STRONG_INLINE Packet4i ploadu<Packet4i>(const int32_t* from) {
403
- EIGEN_MSA_DEBUG;
404
-
405
- EIGEN_DEBUG_UNALIGNED_LOAD return (Packet4i)__builtin_msa_ld_w(const_cast<int32_t*>(from), 0);
406
- }
407
-
408
- template <>
409
- EIGEN_STRONG_INLINE Packet4f ploaddup<Packet4f>(const float* from) {
410
- EIGEN_MSA_DEBUG;
411
-
412
- float f0 = from[0], f1 = from[1];
413
- Packet4f v0 = { f0, f0, f0, f0 };
414
- Packet4f v1 = { f1, f1, f1, f1 };
415
- return (Packet4f)__builtin_msa_ilvr_d((v2i64)v1, (v2i64)v0);
416
- }
417
-
418
- template <>
419
- EIGEN_STRONG_INLINE Packet4i ploaddup<Packet4i>(const int32_t* from) {
420
- EIGEN_MSA_DEBUG;
421
-
422
- int32_t i0 = from[0], i1 = from[1];
423
- Packet4i v0 = { i0, i0, i0, i0 };
424
- Packet4i v1 = { i1, i1, i1, i1 };
425
- return (Packet4i)__builtin_msa_ilvr_d((v2i64)v1, (v2i64)v0);
426
- }
427
-
428
- template <>
429
- EIGEN_STRONG_INLINE void pstore<float>(float* to, const Packet4f& from) {
430
- EIGEN_MSA_DEBUG;
431
-
432
- EIGEN_DEBUG_ALIGNED_STORE __builtin_msa_st_w((Packet4i)from, to, 0);
433
- }
434
-
435
- template <>
436
- EIGEN_STRONG_INLINE void pstore<int32_t>(int32_t* to, const Packet4i& from) {
437
- EIGEN_MSA_DEBUG;
438
-
439
- EIGEN_DEBUG_ALIGNED_STORE __builtin_msa_st_w(from, to, 0);
440
- }
441
-
442
- template <>
443
- EIGEN_STRONG_INLINE void pstoreu<float>(float* to, const Packet4f& from) {
444
- EIGEN_MSA_DEBUG;
445
-
446
- EIGEN_DEBUG_UNALIGNED_STORE __builtin_msa_st_w((Packet4i)from, to, 0);
447
- }
448
-
449
- template <>
450
- EIGEN_STRONG_INLINE void pstoreu<int32_t>(int32_t* to, const Packet4i& from) {
451
- EIGEN_MSA_DEBUG;
452
-
453
- EIGEN_DEBUG_UNALIGNED_STORE __builtin_msa_st_w(from, to, 0);
454
- }
455
-
456
- template <>
457
- EIGEN_DEVICE_FUNC inline Packet4f pgather<float, Packet4f>(const float* from, Index stride) {
458
- EIGEN_MSA_DEBUG;
459
-
460
- float f = *from;
461
- Packet4f v = { f, f, f, f };
462
- v[1] = from[stride];
463
- v[2] = from[2 * stride];
464
- v[3] = from[3 * stride];
465
- return v;
466
- }
467
-
468
- template <>
469
- EIGEN_DEVICE_FUNC inline Packet4i pgather<int32_t, Packet4i>(const int32_t* from, Index stride) {
470
- EIGEN_MSA_DEBUG;
471
-
472
- int32_t i = *from;
473
- Packet4i v = { i, i, i, i };
474
- v[1] = from[stride];
475
- v[2] = from[2 * stride];
476
- v[3] = from[3 * stride];
477
- return v;
478
- }
479
-
480
- template <>
481
- EIGEN_DEVICE_FUNC inline void pscatter<float, Packet4f>(float* to, const Packet4f& from,
482
- Index stride) {
483
- EIGEN_MSA_DEBUG;
484
-
485
- *to = from[0];
486
- to += stride;
487
- *to = from[1];
488
- to += stride;
489
- *to = from[2];
490
- to += stride;
491
- *to = from[3];
492
- }
493
-
494
- template <>
495
- EIGEN_DEVICE_FUNC inline void pscatter<int32_t, Packet4i>(int32_t* to, const Packet4i& from,
496
- Index stride) {
497
- EIGEN_MSA_DEBUG;
498
-
499
- *to = from[0];
500
- to += stride;
501
- *to = from[1];
502
- to += stride;
503
- *to = from[2];
504
- to += stride;
505
- *to = from[3];
506
- }
507
-
508
- template <>
509
- EIGEN_STRONG_INLINE void prefetch<float>(const float* addr) {
510
- EIGEN_MSA_DEBUG;
511
-
512
- __builtin_prefetch(addr);
513
- }
514
-
515
- template <>
516
- EIGEN_STRONG_INLINE void prefetch<int32_t>(const int32_t* addr) {
517
- EIGEN_MSA_DEBUG;
518
-
519
- __builtin_prefetch(addr);
520
- }
521
-
522
- template <>
523
- EIGEN_STRONG_INLINE float pfirst<Packet4f>(const Packet4f& a) {
524
- EIGEN_MSA_DEBUG;
525
-
526
- return a[0];
527
- }
528
-
529
- template <>
530
- EIGEN_STRONG_INLINE int32_t pfirst<Packet4i>(const Packet4i& a) {
531
- EIGEN_MSA_DEBUG;
532
-
533
- return a[0];
534
- }
535
-
536
- template <>
537
- EIGEN_STRONG_INLINE Packet4f preverse(const Packet4f& a) {
538
- EIGEN_MSA_DEBUG;
539
-
540
- return (Packet4f)__builtin_msa_shf_w((v4i32)a, EIGEN_MSA_SHF_I8(3, 2, 1, 0));
541
- }
542
-
543
- template <>
544
- EIGEN_STRONG_INLINE Packet4i preverse(const Packet4i& a) {
545
- EIGEN_MSA_DEBUG;
546
-
547
- return __builtin_msa_shf_w(a, EIGEN_MSA_SHF_I8(3, 2, 1, 0));
548
- }
549
-
550
- template <>
551
- EIGEN_STRONG_INLINE Packet4f pabs(const Packet4f& a) {
552
- EIGEN_MSA_DEBUG;
553
-
554
- return (Packet4f)__builtin_msa_bclri_w((v4u32)a, 31);
555
- }
556
-
557
- template <>
558
- EIGEN_STRONG_INLINE Packet4i pabs(const Packet4i& a) {
559
- EIGEN_MSA_DEBUG;
560
-
561
- Packet4i zero = __builtin_msa_ldi_w(0);
562
- return __builtin_msa_add_a_w(zero, a);
563
- }
564
-
565
- template <>
566
- EIGEN_STRONG_INLINE float predux<Packet4f>(const Packet4f& a) {
567
- EIGEN_MSA_DEBUG;
568
-
569
- Packet4f s = padd(a, (Packet4f)__builtin_msa_shf_w((v4i32)a, EIGEN_MSA_SHF_I8(2, 3, 0, 1)));
570
- s = padd(s, (Packet4f)__builtin_msa_shf_w((v4i32)s, EIGEN_MSA_SHF_I8(1, 0, 3, 2)));
571
- return s[0];
572
- }
573
-
574
-
575
- template <>
576
- EIGEN_STRONG_INLINE int32_t predux<Packet4i>(const Packet4i& a) {
577
- EIGEN_MSA_DEBUG;
578
-
579
- Packet4i s = padd(a, __builtin_msa_shf_w(a, EIGEN_MSA_SHF_I8(2, 3, 0, 1)));
580
- s = padd(s, __builtin_msa_shf_w(s, EIGEN_MSA_SHF_I8(1, 0, 3, 2)));
581
- return s[0];
582
- }
583
-
584
- // Other reduction functions:
585
- // mul
586
- template <>
587
- EIGEN_STRONG_INLINE float predux_mul<Packet4f>(const Packet4f& a) {
588
- EIGEN_MSA_DEBUG;
589
-
590
- Packet4f p = pmul(a, (Packet4f)__builtin_msa_shf_w((v4i32)a, EIGEN_MSA_SHF_I8(2, 3, 0, 1)));
591
- p = pmul(p, (Packet4f)__builtin_msa_shf_w((v4i32)p, EIGEN_MSA_SHF_I8(1, 0, 3, 2)));
592
- return p[0];
593
- }
594
-
595
- template <>
596
- EIGEN_STRONG_INLINE int32_t predux_mul<Packet4i>(const Packet4i& a) {
597
- EIGEN_MSA_DEBUG;
598
-
599
- Packet4i p = pmul(a, __builtin_msa_shf_w(a, EIGEN_MSA_SHF_I8(2, 3, 0, 1)));
600
- p = pmul(p, __builtin_msa_shf_w(p, EIGEN_MSA_SHF_I8(1, 0, 3, 2)));
601
- return p[0];
602
- }
603
-
604
- // min
605
- template <>
606
- EIGEN_STRONG_INLINE float predux_min<Packet4f>(const Packet4f& a) {
607
- EIGEN_MSA_DEBUG;
608
-
609
- // Swap 64-bit halves of a.
610
- Packet4f swapped = (Packet4f)__builtin_msa_shf_w((Packet4i)a, EIGEN_MSA_SHF_I8(2, 3, 0, 1));
611
- #if !EIGEN_FAST_MATH
612
- // Detect presence of NaNs from pairs a[0]-a[2] and a[1]-a[3] as two 32-bit
613
- // masks of all zeroes/ones in low 64 bits.
614
- v16u8 unord = (v16u8)__builtin_msa_fcun_w(a, swapped);
615
- // Combine the two masks into one: 64 ones if no NaNs, otherwise 64 zeroes.
616
- unord = (v16u8)__builtin_msa_ceqi_d((v2i64)unord, 0);
617
- #endif
618
- // Continue with min computation.
619
- Packet4f v = __builtin_msa_fmin_w(a, swapped);
620
- v = __builtin_msa_fmin_w(
621
- v, (Packet4f)__builtin_msa_shf_w((Packet4i)v, EIGEN_MSA_SHF_I8(1, 0, 3, 2)));
622
- #if !EIGEN_FAST_MATH
623
- // Based on the mask select between v and 4 qNaNs.
624
- v16u8 qnans = (v16u8)__builtin_msa_fill_w(0x7FC00000);
625
- v = (Packet4f)__builtin_msa_bsel_v(unord, qnans, (v16u8)v);
626
- #endif
627
- return v[0];
628
- }
629
-
630
- template <>
631
- EIGEN_STRONG_INLINE int32_t predux_min<Packet4i>(const Packet4i& a) {
632
- EIGEN_MSA_DEBUG;
633
-
634
- Packet4i m = pmin(a, __builtin_msa_shf_w(a, EIGEN_MSA_SHF_I8(2, 3, 0, 1)));
635
- m = pmin(m, __builtin_msa_shf_w(m, EIGEN_MSA_SHF_I8(1, 0, 3, 2)));
636
- return m[0];
637
- }
638
-
639
- // max
640
- template <>
641
- EIGEN_STRONG_INLINE float predux_max<Packet4f>(const Packet4f& a) {
642
- EIGEN_MSA_DEBUG;
643
-
644
- // Swap 64-bit halves of a.
645
- Packet4f swapped = (Packet4f)__builtin_msa_shf_w((Packet4i)a, EIGEN_MSA_SHF_I8(2, 3, 0, 1));
646
- #if !EIGEN_FAST_MATH
647
- // Detect presence of NaNs from pairs a[0]-a[2] and a[1]-a[3] as two 32-bit
648
- // masks of all zeroes/ones in low 64 bits.
649
- v16u8 unord = (v16u8)__builtin_msa_fcun_w(a, swapped);
650
- // Combine the two masks into one: 64 ones if no NaNs, otherwise 64 zeroes.
651
- unord = (v16u8)__builtin_msa_ceqi_d((v2i64)unord, 0);
652
- #endif
653
- // Continue with max computation.
654
- Packet4f v = __builtin_msa_fmax_w(a, swapped);
655
- v = __builtin_msa_fmax_w(
656
- v, (Packet4f)__builtin_msa_shf_w((Packet4i)v, EIGEN_MSA_SHF_I8(1, 0, 3, 2)));
657
- #if !EIGEN_FAST_MATH
658
- // Based on the mask select between v and 4 qNaNs.
659
- v16u8 qnans = (v16u8)__builtin_msa_fill_w(0x7FC00000);
660
- v = (Packet4f)__builtin_msa_bsel_v(unord, qnans, (v16u8)v);
661
- #endif
662
- return v[0];
663
- }
664
-
665
- template <>
666
- EIGEN_STRONG_INLINE int32_t predux_max<Packet4i>(const Packet4i& a) {
667
- EIGEN_MSA_DEBUG;
668
-
669
- Packet4i m = pmax(a, __builtin_msa_shf_w(a, EIGEN_MSA_SHF_I8(2, 3, 0, 1)));
670
- m = pmax(m, __builtin_msa_shf_w(m, EIGEN_MSA_SHF_I8(1, 0, 3, 2)));
671
- return m[0];
672
- }
673
-
674
- inline std::ostream& operator<<(std::ostream& os, const PacketBlock<Packet4f, 4>& value) {
675
- os << "[ " << value.packet[0] << "," << std::endl
676
- << " " << value.packet[1] << "," << std::endl
677
- << " " << value.packet[2] << "," << std::endl
678
- << " " << value.packet[3] << " ]";
679
- return os;
680
- }
681
-
682
- EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<Packet4f, 4>& kernel) {
683
- EIGEN_MSA_DEBUG;
684
-
685
- v4i32 tmp1, tmp2, tmp3, tmp4;
686
-
687
- tmp1 = __builtin_msa_ilvr_w((v4i32)kernel.packet[1], (v4i32)kernel.packet[0]);
688
- tmp2 = __builtin_msa_ilvr_w((v4i32)kernel.packet[3], (v4i32)kernel.packet[2]);
689
- tmp3 = __builtin_msa_ilvl_w((v4i32)kernel.packet[1], (v4i32)kernel.packet[0]);
690
- tmp4 = __builtin_msa_ilvl_w((v4i32)kernel.packet[3], (v4i32)kernel.packet[2]);
691
-
692
- kernel.packet[0] = (Packet4f)__builtin_msa_ilvr_d((v2i64)tmp2, (v2i64)tmp1);
693
- kernel.packet[1] = (Packet4f)__builtin_msa_ilvod_d((v2i64)tmp2, (v2i64)tmp1);
694
- kernel.packet[2] = (Packet4f)__builtin_msa_ilvr_d((v2i64)tmp4, (v2i64)tmp3);
695
- kernel.packet[3] = (Packet4f)__builtin_msa_ilvod_d((v2i64)tmp4, (v2i64)tmp3);
696
- }
697
-
698
- inline std::ostream& operator<<(std::ostream& os, const PacketBlock<Packet4i, 4>& value) {
699
- os << "[ " << value.packet[0] << "," << std::endl
700
- << " " << value.packet[1] << "," << std::endl
701
- << " " << value.packet[2] << "," << std::endl
702
- << " " << value.packet[3] << " ]";
703
- return os;
704
- }
705
-
706
- EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<Packet4i, 4>& kernel) {
707
- EIGEN_MSA_DEBUG;
708
-
709
- v4i32 tmp1, tmp2, tmp3, tmp4;
710
-
711
- tmp1 = __builtin_msa_ilvr_w(kernel.packet[1], kernel.packet[0]);
712
- tmp2 = __builtin_msa_ilvr_w(kernel.packet[3], kernel.packet[2]);
713
- tmp3 = __builtin_msa_ilvl_w(kernel.packet[1], kernel.packet[0]);
714
- tmp4 = __builtin_msa_ilvl_w(kernel.packet[3], kernel.packet[2]);
715
-
716
- kernel.packet[0] = (Packet4i)__builtin_msa_ilvr_d((v2i64)tmp2, (v2i64)tmp1);
717
- kernel.packet[1] = (Packet4i)__builtin_msa_ilvod_d((v2i64)tmp2, (v2i64)tmp1);
718
- kernel.packet[2] = (Packet4i)__builtin_msa_ilvr_d((v2i64)tmp4, (v2i64)tmp3);
719
- kernel.packet[3] = (Packet4i)__builtin_msa_ilvod_d((v2i64)tmp4, (v2i64)tmp3);
720
- }
721
-
722
- template <>
723
- EIGEN_STRONG_INLINE Packet4f psqrt(const Packet4f& a) {
724
- EIGEN_MSA_DEBUG;
725
-
726
- return __builtin_msa_fsqrt_w(a);
727
- }
728
-
729
- template <>
730
- EIGEN_STRONG_INLINE Packet4f prsqrt(const Packet4f& a) {
731
- EIGEN_MSA_DEBUG;
732
-
733
- #if EIGEN_FAST_MATH
734
- return __builtin_msa_frsqrt_w(a);
735
- #else
736
- Packet4f ones = __builtin_msa_ffint_s_w(__builtin_msa_ldi_w(1));
737
- return pdiv(ones, psqrt(a));
738
- #endif
739
- }
740
-
741
- template <>
742
- EIGEN_STRONG_INLINE Packet4f pfloor<Packet4f>(const Packet4f& a) {
743
- Packet4f v = a;
744
- int32_t old_mode, new_mode;
745
- asm volatile(
746
- "cfcmsa %[old_mode], $1\n"
747
- "ori %[new_mode], %[old_mode], 3\n" // 3 = round towards -INFINITY.
748
- "ctcmsa $1, %[new_mode]\n"
749
- "frint.w %w[v], %w[v]\n"
750
- "ctcmsa $1, %[old_mode]\n"
751
- : // outputs
752
- [old_mode] "=r"(old_mode), [new_mode] "=r"(new_mode),
753
- [v] "+f"(v)
754
- : // inputs
755
- : // clobbers
756
- );
757
- return v;
758
- }
759
-
760
- template <>
761
- EIGEN_STRONG_INLINE Packet4f pceil<Packet4f>(const Packet4f& a) {
762
- Packet4f v = a;
763
- int32_t old_mode, new_mode;
764
- asm volatile(
765
- "cfcmsa %[old_mode], $1\n"
766
- "ori %[new_mode], %[old_mode], 3\n"
767
- "xori %[new_mode], %[new_mode], 1\n" // 2 = round towards +INFINITY.
768
- "ctcmsa $1, %[new_mode]\n"
769
- "frint.w %w[v], %w[v]\n"
770
- "ctcmsa $1, %[old_mode]\n"
771
- : // outputs
772
- [old_mode] "=r"(old_mode), [new_mode] "=r"(new_mode),
773
- [v] "+f"(v)
774
- : // inputs
775
- : // clobbers
776
- );
777
- return v;
778
- }
779
-
780
- template <>
781
- EIGEN_STRONG_INLINE Packet4f pround<Packet4f>(const Packet4f& a) {
782
- Packet4f v = a;
783
- int32_t old_mode, new_mode;
784
- asm volatile(
785
- "cfcmsa %[old_mode], $1\n"
786
- "ori %[new_mode], %[old_mode], 3\n"
787
- "xori %[new_mode], %[new_mode], 3\n" // 0 = round to nearest, ties to even.
788
- "ctcmsa $1, %[new_mode]\n"
789
- "frint.w %w[v], %w[v]\n"
790
- "ctcmsa $1, %[old_mode]\n"
791
- : // outputs
792
- [old_mode] "=r"(old_mode), [new_mode] "=r"(new_mode),
793
- [v] "+f"(v)
794
- : // inputs
795
- : // clobbers
796
- );
797
- return v;
798
- }
799
-
800
- template <>
801
- EIGEN_STRONG_INLINE Packet4f pblend(const Selector<4>& ifPacket, const Packet4f& thenPacket,
802
- const Packet4f& elsePacket) {
803
- Packet4ui select = { ifPacket.select[0], ifPacket.select[1], ifPacket.select[2],
804
- ifPacket.select[3] };
805
- Packet4i mask = __builtin_msa_ceqi_w((Packet4i)select, 0);
806
- return (Packet4f)__builtin_msa_bsel_v((v16u8)mask, (v16u8)thenPacket, (v16u8)elsePacket);
807
- }
808
-
809
- template <>
810
- EIGEN_STRONG_INLINE Packet4i pblend(const Selector<4>& ifPacket, const Packet4i& thenPacket,
811
- const Packet4i& elsePacket) {
812
- Packet4ui select = { ifPacket.select[0], ifPacket.select[1], ifPacket.select[2],
813
- ifPacket.select[3] };
814
- Packet4i mask = __builtin_msa_ceqi_w((Packet4i)select, 0);
815
- return (Packet4i)__builtin_msa_bsel_v((v16u8)mask, (v16u8)thenPacket, (v16u8)elsePacket);
816
- }
817
-
818
- //---------- double ----------
819
-
820
- typedef v2f64 Packet2d;
821
- typedef v2i64 Packet2l;
822
- typedef v2u64 Packet2ul;
823
-
824
- #define _EIGEN_DECLARE_CONST_Packet2d(NAME, X) const Packet2d p2d_##NAME = { X, X }
825
- #define _EIGEN_DECLARE_CONST_Packet2l(NAME, X) const Packet2l p2l_##NAME = { X, X }
826
- #define _EIGEN_DECLARE_CONST_Packet2ul(NAME, X) const Packet2ul p2ul_##NAME = { X, X }
827
-
828
- inline std::ostream& operator<<(std::ostream& os, const Packet2d& value) {
829
- os << "[ " << value[0] << ", " << value[1] << " ]";
830
- return os;
831
- }
832
-
833
- inline std::ostream& operator<<(std::ostream& os, const Packet2l& value) {
834
- os << "[ " << value[0] << ", " << value[1] << " ]";
835
- return os;
836
- }
837
-
838
- inline std::ostream& operator<<(std::ostream& os, const Packet2ul& value) {
839
- os << "[ " << value[0] << ", " << value[1] << " ]";
840
- return os;
841
- }
842
-
843
- template <>
844
- struct packet_traits<double> : default_packet_traits {
845
- typedef Packet2d type;
846
- typedef Packet2d half;
847
- enum {
848
- Vectorizable = 1,
849
- AlignedOnScalar = 1,
850
- size = 2,
851
- HasHalfPacket = 0,
852
- // FIXME check the Has*
853
- HasDiv = 1,
854
- HasExp = 1,
855
- HasSqrt = 1,
856
- HasRsqrt = 1,
857
- HasRound = 1,
858
- HasFloor = 1,
859
- HasCeil = 1,
860
- HasBlend = 1
861
- };
862
- };
863
-
864
- template <>
865
- struct unpacket_traits<Packet2d> {
866
- typedef double type;
867
- enum { size = 2, alignment = Aligned16, vectorizable=true, masked_load_available=false, masked_store_available=false };
868
- typedef Packet2d half;
869
- };
870
-
871
- template <>
872
- EIGEN_STRONG_INLINE Packet2d pset1<Packet2d>(const double& from) {
873
- EIGEN_MSA_DEBUG;
874
-
875
- Packet2d value = { from, from };
876
- return value;
877
- }
878
-
879
- template <>
880
- EIGEN_STRONG_INLINE Packet2d padd<Packet2d>(const Packet2d& a, const Packet2d& b) {
881
- EIGEN_MSA_DEBUG;
882
-
883
- return __builtin_msa_fadd_d(a, b);
884
- }
885
-
886
- template <>
887
- EIGEN_STRONG_INLINE Packet2d plset<Packet2d>(const double& a) {
888
- EIGEN_MSA_DEBUG;
889
-
890
- static const Packet2d countdown = { 0.0, 1.0 };
891
- return padd(pset1<Packet2d>(a), countdown);
892
- }
893
-
894
- template <>
895
- EIGEN_STRONG_INLINE Packet2d psub<Packet2d>(const Packet2d& a, const Packet2d& b) {
896
- EIGEN_MSA_DEBUG;
897
-
898
- return __builtin_msa_fsub_d(a, b);
899
- }
900
-
901
- template <>
902
- EIGEN_STRONG_INLINE Packet2d pnegate(const Packet2d& a) {
903
- EIGEN_MSA_DEBUG;
904
-
905
- return (Packet2d)__builtin_msa_bnegi_d((v2u64)a, 63);
906
- }
907
-
908
- template <>
909
- EIGEN_STRONG_INLINE Packet2d pconj(const Packet2d& a) {
910
- EIGEN_MSA_DEBUG;
911
-
912
- return a;
913
- }
914
-
915
- template <>
916
- EIGEN_STRONG_INLINE Packet2d pmul<Packet2d>(const Packet2d& a, const Packet2d& b) {
917
- EIGEN_MSA_DEBUG;
918
-
919
- return __builtin_msa_fmul_d(a, b);
920
- }
921
-
922
- template <>
923
- EIGEN_STRONG_INLINE Packet2d pdiv<Packet2d>(const Packet2d& a, const Packet2d& b) {
924
- EIGEN_MSA_DEBUG;
925
-
926
- return __builtin_msa_fdiv_d(a, b);
927
- }
928
-
929
- template <>
930
- EIGEN_STRONG_INLINE Packet2d pmadd(const Packet2d& a, const Packet2d& b, const Packet2d& c) {
931
- EIGEN_MSA_DEBUG;
932
-
933
- return __builtin_msa_fmadd_d(c, a, b);
934
- }
935
-
936
- // Logical Operations are not supported for float, so we have to reinterpret casts using MSA
937
- // intrinsics
938
- template <>
939
- EIGEN_STRONG_INLINE Packet2d pand<Packet2d>(const Packet2d& a, const Packet2d& b) {
940
- EIGEN_MSA_DEBUG;
941
-
942
- return (Packet2d)__builtin_msa_and_v((v16u8)a, (v16u8)b);
943
- }
944
-
945
- template <>
946
- EIGEN_STRONG_INLINE Packet2d por<Packet2d>(const Packet2d& a, const Packet2d& b) {
947
- EIGEN_MSA_DEBUG;
948
-
949
- return (Packet2d)__builtin_msa_or_v((v16u8)a, (v16u8)b);
950
- }
951
-
952
- template <>
953
- EIGEN_STRONG_INLINE Packet2d pxor<Packet2d>(const Packet2d& a, const Packet2d& b) {
954
- EIGEN_MSA_DEBUG;
955
-
956
- return (Packet2d)__builtin_msa_xor_v((v16u8)a, (v16u8)b);
957
- }
958
-
959
- template <>
960
- EIGEN_STRONG_INLINE Packet2d pandnot<Packet2d>(const Packet2d& a, const Packet2d& b) {
961
- EIGEN_MSA_DEBUG;
962
-
963
- return pand(a, (Packet2d)__builtin_msa_xori_b((v16u8)b, 255));
964
- }
965
-
966
- template <>
967
- EIGEN_STRONG_INLINE Packet2d pload<Packet2d>(const double* from) {
968
- EIGEN_MSA_DEBUG;
969
-
970
- EIGEN_DEBUG_UNALIGNED_LOAD return (Packet2d)__builtin_msa_ld_d(const_cast<double*>(from), 0);
971
- }
972
-
973
- template <>
974
- EIGEN_STRONG_INLINE Packet2d pmin<Packet2d>(const Packet2d& a, const Packet2d& b) {
975
- EIGEN_MSA_DEBUG;
976
-
977
- #if EIGEN_FAST_MATH
978
- // This prefers numbers to NaNs.
979
- return __builtin_msa_fmin_d(a, b);
980
- #else
981
- // This prefers NaNs to numbers.
982
- v2i64 aNaN = __builtin_msa_fcun_d(a, a);
983
- v2i64 aMinOrNaN = por(__builtin_msa_fclt_d(a, b), aNaN);
984
- return (Packet2d)__builtin_msa_bsel_v((v16u8)aMinOrNaN, (v16u8)b, (v16u8)a);
985
- #endif
986
- }
987
-
988
- template <>
989
- EIGEN_STRONG_INLINE Packet2d pmax<Packet2d>(const Packet2d& a, const Packet2d& b) {
990
- EIGEN_MSA_DEBUG;
991
-
992
- #if EIGEN_FAST_MATH
993
- // This prefers numbers to NaNs.
994
- return __builtin_msa_fmax_d(a, b);
995
- #else
996
- // This prefers NaNs to numbers.
997
- v2i64 aNaN = __builtin_msa_fcun_d(a, a);
998
- v2i64 aMaxOrNaN = por(__builtin_msa_fclt_d(b, a), aNaN);
999
- return (Packet2d)__builtin_msa_bsel_v((v16u8)aMaxOrNaN, (v16u8)b, (v16u8)a);
1000
- #endif
1001
- }
1002
-
1003
- template <>
1004
- EIGEN_STRONG_INLINE Packet2d ploadu<Packet2d>(const double* from) {
1005
- EIGEN_MSA_DEBUG;
1006
-
1007
- EIGEN_DEBUG_UNALIGNED_LOAD return (Packet2d)__builtin_msa_ld_d(const_cast<double*>(from), 0);
1008
- }
1009
-
1010
- template <>
1011
- EIGEN_STRONG_INLINE Packet2d ploaddup<Packet2d>(const double* from) {
1012
- EIGEN_MSA_DEBUG;
1013
-
1014
- Packet2d value = { *from, *from };
1015
- return value;
1016
- }
1017
-
1018
- template <>
1019
- EIGEN_STRONG_INLINE void pstore<double>(double* to, const Packet2d& from) {
1020
- EIGEN_MSA_DEBUG;
1021
-
1022
- EIGEN_DEBUG_ALIGNED_STORE __builtin_msa_st_d((v2i64)from, to, 0);
1023
- }
1024
-
1025
- template <>
1026
- EIGEN_STRONG_INLINE void pstoreu<double>(double* to, const Packet2d& from) {
1027
- EIGEN_MSA_DEBUG;
1028
-
1029
- EIGEN_DEBUG_UNALIGNED_STORE __builtin_msa_st_d((v2i64)from, to, 0);
1030
- }
1031
-
1032
- template <>
1033
- EIGEN_DEVICE_FUNC inline Packet2d pgather<double, Packet2d>(const double* from, Index stride) {
1034
- EIGEN_MSA_DEBUG;
1035
-
1036
- Packet2d value;
1037
- value[0] = *from;
1038
- from += stride;
1039
- value[1] = *from;
1040
- return value;
1041
- }
1042
-
1043
- template <>
1044
- EIGEN_DEVICE_FUNC inline void pscatter<double, Packet2d>(double* to, const Packet2d& from,
1045
- Index stride) {
1046
- EIGEN_MSA_DEBUG;
1047
-
1048
- *to = from[0];
1049
- to += stride;
1050
- *to = from[1];
1051
- }
1052
-
1053
- template <>
1054
- EIGEN_STRONG_INLINE void prefetch<double>(const double* addr) {
1055
- EIGEN_MSA_DEBUG;
1056
-
1057
- __builtin_prefetch(addr);
1058
- }
1059
-
1060
- template <>
1061
- EIGEN_STRONG_INLINE double pfirst<Packet2d>(const Packet2d& a) {
1062
- EIGEN_MSA_DEBUG;
1063
-
1064
- return a[0];
1065
- }
1066
-
1067
- template <>
1068
- EIGEN_STRONG_INLINE Packet2d preverse(const Packet2d& a) {
1069
- EIGEN_MSA_DEBUG;
1070
-
1071
- return (Packet2d)__builtin_msa_shf_w((v4i32)a, EIGEN_MSA_SHF_I8(2, 3, 0, 1));
1072
- }
1073
-
1074
- template <>
1075
- EIGEN_STRONG_INLINE Packet2d pabs(const Packet2d& a) {
1076
- EIGEN_MSA_DEBUG;
1077
-
1078
- return (Packet2d)__builtin_msa_bclri_d((v2u64)a, 63);
1079
- }
1080
-
1081
- template <>
1082
- EIGEN_STRONG_INLINE double predux<Packet2d>(const Packet2d& a) {
1083
- EIGEN_MSA_DEBUG;
1084
-
1085
- Packet2d s = padd(a, preverse(a));
1086
- return s[0];
1087
- }
1088
-
1089
- // Other reduction functions:
1090
- // mul
1091
- template <>
1092
- EIGEN_STRONG_INLINE double predux_mul<Packet2d>(const Packet2d& a) {
1093
- EIGEN_MSA_DEBUG;
1094
-
1095
- Packet2d p = pmul(a, preverse(a));
1096
- return p[0];
1097
- }
1098
-
1099
- // min
1100
- template <>
1101
- EIGEN_STRONG_INLINE double predux_min<Packet2d>(const Packet2d& a) {
1102
- EIGEN_MSA_DEBUG;
1103
-
1104
- #if EIGEN_FAST_MATH
1105
- Packet2d swapped = (Packet2d)__builtin_msa_shf_w((Packet4i)a, EIGEN_MSA_SHF_I8(2, 3, 0, 1));
1106
- Packet2d v = __builtin_msa_fmin_d(a, swapped);
1107
- return v[0];
1108
- #else
1109
- double a0 = a[0], a1 = a[1];
1110
- return ((numext::isnan)(a0) || a0 < a1) ? a0 : a1;
1111
- #endif
1112
- }
1113
-
1114
- // max
1115
- template <>
1116
- EIGEN_STRONG_INLINE double predux_max<Packet2d>(const Packet2d& a) {
1117
- EIGEN_MSA_DEBUG;
1118
-
1119
- #if EIGEN_FAST_MATH
1120
- Packet2d swapped = (Packet2d)__builtin_msa_shf_w((Packet4i)a, EIGEN_MSA_SHF_I8(2, 3, 0, 1));
1121
- Packet2d v = __builtin_msa_fmax_d(a, swapped);
1122
- return v[0];
1123
- #else
1124
- double a0 = a[0], a1 = a[1];
1125
- return ((numext::isnan)(a0) || a0 > a1) ? a0 : a1;
1126
- #endif
1127
- }
1128
-
1129
- template <>
1130
- EIGEN_STRONG_INLINE Packet2d psqrt(const Packet2d& a) {
1131
- EIGEN_MSA_DEBUG;
1132
-
1133
- return __builtin_msa_fsqrt_d(a);
1134
- }
1135
-
1136
- template <>
1137
- EIGEN_STRONG_INLINE Packet2d prsqrt(const Packet2d& a) {
1138
- EIGEN_MSA_DEBUG;
1139
-
1140
- #if EIGEN_FAST_MATH
1141
- return __builtin_msa_frsqrt_d(a);
1142
- #else
1143
- Packet2d ones = __builtin_msa_ffint_s_d(__builtin_msa_ldi_d(1));
1144
- return pdiv(ones, psqrt(a));
1145
- #endif
1146
- }
1147
-
1148
- inline std::ostream& operator<<(std::ostream& os, const PacketBlock<Packet2d, 2>& value) {
1149
- os << "[ " << value.packet[0] << "," << std::endl << " " << value.packet[1] << " ]";
1150
- return os;
1151
- }
1152
-
1153
- EIGEN_DEVICE_FUNC inline void ptranspose(PacketBlock<Packet2d, 2>& kernel) {
1154
- EIGEN_MSA_DEBUG;
1155
-
1156
- Packet2d trn1 = (Packet2d)__builtin_msa_ilvev_d((v2i64)kernel.packet[1], (v2i64)kernel.packet[0]);
1157
- Packet2d trn2 = (Packet2d)__builtin_msa_ilvod_d((v2i64)kernel.packet[1], (v2i64)kernel.packet[0]);
1158
- kernel.packet[0] = trn1;
1159
- kernel.packet[1] = trn2;
1160
- }
1161
-
1162
- template <>
1163
- EIGEN_STRONG_INLINE Packet2d pfloor<Packet2d>(const Packet2d& a) {
1164
- Packet2d v = a;
1165
- int32_t old_mode, new_mode;
1166
- asm volatile(
1167
- "cfcmsa %[old_mode], $1\n"
1168
- "ori %[new_mode], %[old_mode], 3\n" // 3 = round towards -INFINITY.
1169
- "ctcmsa $1, %[new_mode]\n"
1170
- "frint.d %w[v], %w[v]\n"
1171
- "ctcmsa $1, %[old_mode]\n"
1172
- : // outputs
1173
- [old_mode] "=r"(old_mode), [new_mode] "=r"(new_mode),
1174
- [v] "+f"(v)
1175
- : // inputs
1176
- : // clobbers
1177
- );
1178
- return v;
1179
- }
1180
-
1181
- template <>
1182
- EIGEN_STRONG_INLINE Packet2d pceil<Packet2d>(const Packet2d& a) {
1183
- Packet2d v = a;
1184
- int32_t old_mode, new_mode;
1185
- asm volatile(
1186
- "cfcmsa %[old_mode], $1\n"
1187
- "ori %[new_mode], %[old_mode], 3\n"
1188
- "xori %[new_mode], %[new_mode], 1\n" // 2 = round towards +INFINITY.
1189
- "ctcmsa $1, %[new_mode]\n"
1190
- "frint.d %w[v], %w[v]\n"
1191
- "ctcmsa $1, %[old_mode]\n"
1192
- : // outputs
1193
- [old_mode] "=r"(old_mode), [new_mode] "=r"(new_mode),
1194
- [v] "+f"(v)
1195
- : // inputs
1196
- : // clobbers
1197
- );
1198
- return v;
1199
- }
1200
-
1201
- template <>
1202
- EIGEN_STRONG_INLINE Packet2d pround<Packet2d>(const Packet2d& a) {
1203
- Packet2d v = a;
1204
- int32_t old_mode, new_mode;
1205
- asm volatile(
1206
- "cfcmsa %[old_mode], $1\n"
1207
- "ori %[new_mode], %[old_mode], 3\n"
1208
- "xori %[new_mode], %[new_mode], 3\n" // 0 = round to nearest, ties to even.
1209
- "ctcmsa $1, %[new_mode]\n"
1210
- "frint.d %w[v], %w[v]\n"
1211
- "ctcmsa $1, %[old_mode]\n"
1212
- : // outputs
1213
- [old_mode] "=r"(old_mode), [new_mode] "=r"(new_mode),
1214
- [v] "+f"(v)
1215
- : // inputs
1216
- : // clobbers
1217
- );
1218
- return v;
1219
- }
1220
-
1221
- template <>
1222
- EIGEN_STRONG_INLINE Packet2d pblend(const Selector<2>& ifPacket, const Packet2d& thenPacket,
1223
- const Packet2d& elsePacket) {
1224
- Packet2ul select = { ifPacket.select[0], ifPacket.select[1] };
1225
- Packet2l mask = __builtin_msa_ceqi_d((Packet2l)select, 0);
1226
- return (Packet2d)__builtin_msa_bsel_v((v16u8)mask, (v16u8)thenPacket, (v16u8)elsePacket);
1227
- }
1228
-
1229
- } // end namespace internal
1230
-
1231
- } // end namespace Eigen
1232
-
1233
- #endif // EIGEN_PACKET_MATH_MSA_H