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

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

Potentially problematic release.


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

Files changed (566) hide show
  1. xtgeo/_cxtgeo.cpython-313-darwin.so +0 -0
  2. xtgeo/_internal.cpython-313-darwin.so +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/include/fmt/args.h +220 -0
  8. xtgeo/include/fmt/base.h +2989 -0
  9. xtgeo/include/fmt/chrono.h +2330 -0
  10. xtgeo/include/fmt/color.h +637 -0
  11. xtgeo/include/fmt/compile.h +539 -0
  12. xtgeo/include/fmt/core.h +5 -0
  13. xtgeo/include/fmt/format-inl.h +1948 -0
  14. xtgeo/include/fmt/format.h +4244 -0
  15. xtgeo/include/fmt/os.h +427 -0
  16. xtgeo/include/fmt/ostream.h +167 -0
  17. xtgeo/include/fmt/printf.h +633 -0
  18. xtgeo/include/fmt/ranges.h +850 -0
  19. xtgeo/include/fmt/std.h +728 -0
  20. xtgeo/include/fmt/xchar.h +369 -0
  21. xtgeo/lib/cmake/fmt/fmt-config-version.cmake +43 -0
  22. xtgeo/lib/cmake/fmt/fmt-config.cmake +31 -0
  23. xtgeo/lib/cmake/fmt/fmt-targets-release.cmake +19 -0
  24. xtgeo/{share/eigen3/cmake/Eigen3Targets.cmake → lib/cmake/fmt/fmt-targets.cmake} +16 -6
  25. xtgeo/lib/libfmt.a +0 -0
  26. xtgeo/lib/pkgconfig/fmt.pc +11 -0
  27. xtgeo/metadata/metadata.py +20 -13
  28. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/METADATA +1 -1
  29. xtgeo-4.11.0.dist-info/RECORD +137 -0
  30. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/WHEEL +1 -1
  31. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  32. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  33. xtgeo/include/eigen3/Eigen/Core +0 -384
  34. xtgeo/include/eigen3/Eigen/Dense +0 -7
  35. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  36. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  37. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  38. xtgeo/include/eigen3/Eigen/Householder +0 -29
  39. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  40. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  41. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  42. xtgeo/include/eigen3/Eigen/LU +0 -47
  43. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  44. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  45. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  46. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  47. xtgeo/include/eigen3/Eigen/QR +0 -50
  48. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  49. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  50. xtgeo/include/eigen3/Eigen/SVD +0 -50
  51. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  52. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  53. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  54. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  55. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  56. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  57. xtgeo/include/eigen3/Eigen/StdList +0 -26
  58. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  59. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  60. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  61. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  62. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  63. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  64. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  65. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  66. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  67. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  68. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  69. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  70. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  71. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  72. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  73. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  74. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  75. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  76. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  77. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  78. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  79. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  80. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  81. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  82. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  83. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  84. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  85. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  86. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  87. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  88. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  89. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  90. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  91. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  92. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  93. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  94. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  95. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  96. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  97. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  98. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  99. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  100. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  101. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  102. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  103. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  104. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  105. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  106. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  107. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  108. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  109. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  110. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  111. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  112. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  113. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  114. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  115. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  116. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  117. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  118. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  119. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  120. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  121. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  122. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  123. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  124. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  125. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  126. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  127. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  128. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  129. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  130. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  131. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  132. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  133. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  134. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  135. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  136. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  166. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  167. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  168. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  169. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  170. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  171. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  172. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  173. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  174. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  175. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  176. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  177. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  178. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  179. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  180. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  181. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  182. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  183. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  184. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  185. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  186. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  187. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  188. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  189. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  190. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  191. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  192. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  193. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  194. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  195. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  196. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  197. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  198. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  199. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  200. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  201. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  202. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  203. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  204. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  205. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  206. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  207. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  208. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  209. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  210. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  211. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  212. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  213. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  214. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  215. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  216. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  217. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  218. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  219. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  220. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  221. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  222. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  223. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  224. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  225. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  226. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  227. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  228. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  229. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  230. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  231. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  232. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  233. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  234. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  235. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  236. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  237. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  238. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  239. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  240. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  241. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  242. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  243. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  244. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  245. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  246. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  247. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  248. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  249. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  250. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  251. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  252. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  253. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  254. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  255. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  256. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  257. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  258. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  259. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  260. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  261. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  262. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  263. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  264. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  265. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  266. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  267. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  268. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  269. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  270. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  271. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  272. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  273. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  274. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  275. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  276. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  277. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  278. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  279. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  280. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  281. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  282. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  283. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  284. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  285. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  286. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  287. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  288. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  289. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  290. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  291. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  292. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  293. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  294. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  295. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  296. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  297. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  308. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  309. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  310. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  311. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  312. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  313. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  314. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  315. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  316. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  317. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  318. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  319. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  320. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  321. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  322. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  323. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  324. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  325. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  326. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  327. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  328. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  329. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  330. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  331. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  332. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  333. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  334. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  335. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  336. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  337. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  338. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  339. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  340. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  341. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  342. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  343. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  344. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  345. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  346. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  347. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  348. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  349. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  350. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  351. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  352. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  353. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  354. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  355. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  356. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  357. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  358. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  359. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  360. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  361. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  362. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  363. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  364. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  365. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  366. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  367. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  368. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  369. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  370. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  371. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  372. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  373. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  444. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  445. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  446. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  447. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  448. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  449. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  450. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  451. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  452. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  453. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  454. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  455. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  456. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  457. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  458. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  459. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  460. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  461. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  462. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  463. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  464. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  465. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  466. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  467. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  468. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  469. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  470. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  471. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  472. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  473. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  474. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  475. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  476. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  477. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  478. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  479. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  480. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  481. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  482. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  483. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  484. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  485. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  486. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  487. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  488. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  489. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  490. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  491. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  492. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  493. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  494. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  495. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  496. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  497. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  498. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  499. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  500. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  501. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  502. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  503. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  504. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  505. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  506. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  507. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  508. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  509. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  510. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  511. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  512. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  513. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  514. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  515. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  516. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  517. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  518. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  519. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  520. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  521. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  522. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  523. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  524. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  525. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  526. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  527. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  528. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  529. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  530. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  531. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  538. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  539. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  540. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  541. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  542. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  543. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  544. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  545. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  546. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  547. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  548. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  549. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  550. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  551. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  552. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  553. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  554. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  555. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  556. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  557. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  558. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  559. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  560. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  561. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  562. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  563. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  564. xtgeo/share/pkgconfig/eigen3.pc +0 -9
  565. xtgeo-4.10.0.dist-info/RECORD +0 -652
  566. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,1419 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2018 Rasmus Munk Larsen <rmlarsen@google.com>
5
- // Copyright (C) 2020 Antonio Sanchez <cantonios@google.com>
6
- //
7
- // This Source Code Form is subject to the terms of the Mozilla
8
- // Public License v. 2.0. If a copy of the MPL was not distributed
9
- // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
-
11
- #ifndef EIGEN_TYPE_CASTING_NEON_H
12
- #define EIGEN_TYPE_CASTING_NEON_H
13
-
14
- namespace Eigen {
15
-
16
- namespace internal {
17
-
18
- //==============================================================================
19
- // pcast, SrcType = float
20
- //==============================================================================
21
- template <>
22
- struct type_casting_traits<float, float> {
23
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
24
- };
25
- template <>
26
- EIGEN_STRONG_INLINE Packet4f pcast<Packet4f, Packet4f>(const Packet4f& a) {
27
- return a;
28
- }
29
- template <>
30
- EIGEN_STRONG_INLINE Packet2f pcast<Packet2f, Packet2f>(const Packet2f& a) {
31
- return a;
32
- }
33
-
34
- template <>
35
- struct type_casting_traits<float, numext::int64_t> {
36
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
37
- };
38
- template <>
39
- struct type_casting_traits<float, numext::uint64_t> {
40
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
41
- };
42
- // If float64 exists, first convert to that to keep as much precision as possible.
43
- #if EIGEN_ARCH_ARM64
44
- template <>
45
- EIGEN_STRONG_INLINE Packet2l pcast<Packet4f, Packet2l>(const Packet4f& a) {
46
- // Discard second half of input.
47
- return vcvtq_s64_f64(vcvt_f64_f32(vget_low_f32(a)));
48
- }
49
- template <>
50
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet4f, Packet2ul>(const Packet4f& a) {
51
- // Discard second half of input.
52
- return vcvtq_u64_f64(vcvt_f64_f32(vget_low_f32(a)));
53
- }
54
- #else
55
- template <>
56
- EIGEN_STRONG_INLINE Packet2l pcast<Packet4f, Packet2l>(const Packet4f& a) {
57
- // Discard second half of input.
58
- return vmovl_s32(vget_low_s32(vcvtq_s32_f32(a)));
59
- }
60
- template <>
61
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet4f, Packet2ul>(const Packet4f& a) {
62
- // Discard second half of input.
63
- return vmovl_u32(vget_low_u32(vcvtq_u32_f32(a)));
64
- }
65
- #endif // EIGEN_ARCH_ARM64
66
-
67
- template <>
68
- struct type_casting_traits<float, numext::int32_t> {
69
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
70
- };
71
- template <>
72
- EIGEN_STRONG_INLINE Packet4i pcast<Packet4f, Packet4i>(const Packet4f& a) {
73
- return vcvtq_s32_f32(a);
74
- }
75
- template <>
76
- EIGEN_STRONG_INLINE Packet2i pcast<Packet2f, Packet2i>(const Packet2f& a) {
77
- return vcvt_s32_f32(a);
78
- }
79
-
80
- template <>
81
- struct type_casting_traits<float, numext::uint32_t> {
82
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
83
- };
84
- template <>
85
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet4f, Packet4ui>(const Packet4f& a) {
86
- return vcvtq_u32_f32(a);
87
- }
88
- template <>
89
- EIGEN_STRONG_INLINE Packet2ui pcast<Packet2f, Packet2ui>(const Packet2f& a) {
90
- return vcvt_u32_f32(a);
91
- }
92
-
93
- template <>
94
- struct type_casting_traits<float, numext::int16_t> {
95
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
96
- };
97
- template <>
98
- EIGEN_STRONG_INLINE Packet8s pcast<Packet4f, Packet8s>(const Packet4f& a, const Packet4f& b) {
99
- return vcombine_s16(vmovn_s32(vcvtq_s32_f32(a)), vmovn_s32(vcvtq_s32_f32(b)));
100
- }
101
- template <>
102
- EIGEN_STRONG_INLINE Packet4s pcast<Packet2f, Packet4s>(const Packet2f& a, const Packet2f& b) {
103
- return vmovn_s32(vcombine_s32(vcvt_s32_f32(a), vcvt_s32_f32(b)));
104
- }
105
-
106
- template <>
107
- struct type_casting_traits<float, numext::uint16_t> {
108
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
109
- };
110
- template <>
111
- EIGEN_STRONG_INLINE Packet8us pcast<Packet4f, Packet8us>(const Packet4f& a, const Packet4f& b) {
112
- return vcombine_u16(vmovn_u32(vcvtq_u32_f32(a)), vmovn_u32(vcvtq_u32_f32(b)));
113
- }
114
- template <>
115
- EIGEN_STRONG_INLINE Packet4us pcast<Packet2f, Packet4us>(const Packet2f& a, const Packet2f& b) {
116
- return vmovn_u32(vcombine_u32(vcvt_u32_f32(a), vcvt_u32_f32(b)));
117
- }
118
-
119
- template <>
120
- struct type_casting_traits<float, numext::int8_t> {
121
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
122
- };
123
- template <>
124
- EIGEN_STRONG_INLINE Packet16c pcast<Packet4f, Packet16c>(const Packet4f& a, const Packet4f& b, const Packet4f& c,
125
- const Packet4f& d) {
126
- const int16x8_t ab_s16 = pcast<Packet4f, Packet8s>(a, b);
127
- const int16x8_t cd_s16 = pcast<Packet4f, Packet8s>(c, d);
128
- return vcombine_s8(vmovn_s16(ab_s16), vmovn_s16(cd_s16));
129
- }
130
- template <>
131
- EIGEN_STRONG_INLINE Packet8c pcast<Packet2f, Packet8c>(const Packet2f& a, const Packet2f& b, const Packet2f& c,
132
- const Packet2f& d) {
133
- const int16x4_t ab_s16 = pcast<Packet2f, Packet4s>(a, b);
134
- const int16x4_t cd_s16 = pcast<Packet2f, Packet4s>(c, d);
135
- return vmovn_s16(vcombine_s16(ab_s16, cd_s16));
136
- }
137
-
138
- template <>
139
- struct type_casting_traits<float, numext::uint8_t> {
140
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
141
- };
142
- template <>
143
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet4f, Packet16uc>(const Packet4f& a, const Packet4f& b, const Packet4f& c,
144
- const Packet4f& d) {
145
- const uint16x8_t ab_u16 = pcast<Packet4f, Packet8us>(a, b);
146
- const uint16x8_t cd_u16 = pcast<Packet4f, Packet8us>(c, d);
147
- return vcombine_u8(vmovn_u16(ab_u16), vmovn_u16(cd_u16));
148
- }
149
- template <>
150
- EIGEN_STRONG_INLINE Packet8uc pcast<Packet2f, Packet8uc>(const Packet2f& a, const Packet2f& b, const Packet2f& c,
151
- const Packet2f& d) {
152
- const uint16x4_t ab_u16 = pcast<Packet2f, Packet4us>(a, b);
153
- const uint16x4_t cd_u16 = pcast<Packet2f, Packet4us>(c, d);
154
- return vmovn_u16(vcombine_u16(ab_u16, cd_u16));
155
- }
156
-
157
- //==============================================================================
158
- // pcast, SrcType = int8_t
159
- //==============================================================================
160
- template <>
161
- struct type_casting_traits<numext::int8_t, float> {
162
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
163
- };
164
- template <>
165
- EIGEN_STRONG_INLINE Packet4f pcast<Packet16c, Packet4f>(const Packet16c& a) {
166
- // Discard all but first 4 bytes.
167
- return vcvtq_f32_s32(vmovl_s16(vget_low_s16(vmovl_s8(vget_low_s8(a)))));
168
- }
169
- template <>
170
- EIGEN_STRONG_INLINE Packet2f pcast<Packet8c, Packet2f>(const Packet8c& a) {
171
- // Discard all but first 2 bytes.
172
- return vcvt_f32_s32(vget_low_s32(vmovl_s16(vget_low_s16(vmovl_s8(a)))));
173
- }
174
-
175
- template <>
176
- struct type_casting_traits<numext::int8_t, numext::int64_t> {
177
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 8 };
178
- };
179
- template <>
180
- EIGEN_STRONG_INLINE Packet2l pcast<Packet16c, Packet2l>(const Packet16c& a) {
181
- // Discard all but first two bytes.
182
- return vmovl_s32(vget_low_s32(vmovl_s16(vget_low_s16(vmovl_s8(vget_low_s8(a))))));
183
- }
184
-
185
- template <>
186
- struct type_casting_traits<numext::int8_t, numext::uint64_t> {
187
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 8 };
188
- };
189
- template <>
190
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet16c, Packet2ul>(const Packet16c& a) {
191
- return vreinterpretq_u64_s64(pcast<Packet16c, Packet2l>(a));
192
- }
193
-
194
- template <>
195
- struct type_casting_traits<numext::int8_t, numext::int32_t> {
196
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
197
- };
198
- template <>
199
- EIGEN_STRONG_INLINE Packet4i pcast<Packet16c, Packet4i>(const Packet16c& a) {
200
- // Discard all but first 4 bytes.
201
- return vmovl_s16(vget_low_s16(vmovl_s8(vget_low_s8(a))));
202
- }
203
- template <>
204
- EIGEN_STRONG_INLINE Packet2i pcast<Packet8c, Packet2i>(const Packet8c& a) {
205
- // Discard all but first 2 bytes.
206
- return vget_low_s32(vmovl_s16(vget_low_s16(vmovl_s8(a))));
207
- }
208
-
209
- template <>
210
- struct type_casting_traits<numext::int8_t, numext::uint32_t> {
211
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
212
- };
213
- template <>
214
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet16c, Packet4ui>(const Packet16c& a) {
215
- return vreinterpretq_u32_s32(pcast<Packet16c, Packet4i>(a));
216
- }
217
- template <>
218
- EIGEN_STRONG_INLINE Packet2ui pcast<Packet8c, Packet2ui>(const Packet8c& a) {
219
- return vreinterpret_u32_s32(pcast<Packet8c, Packet2i>(a));
220
- }
221
-
222
- template <>
223
- struct type_casting_traits<numext::int8_t, numext::int16_t> {
224
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
225
- };
226
- template <>
227
- EIGEN_STRONG_INLINE Packet8s pcast<Packet16c, Packet8s>(const Packet16c& a) {
228
- // Discard second half of input.
229
- return vmovl_s8(vget_low_s8(a));
230
- }
231
- template <>
232
- EIGEN_STRONG_INLINE Packet4s pcast<Packet8c, Packet4s>(const Packet8c& a) {
233
- // Discard second half of input.
234
- return vget_low_s16(vmovl_s8(a));
235
- }
236
-
237
- template <>
238
- struct type_casting_traits<numext::int8_t, numext::uint16_t> {
239
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
240
- };
241
- template <>
242
- EIGEN_STRONG_INLINE Packet8us pcast<Packet16c, Packet8us>(const Packet16c& a) {
243
- return vreinterpretq_u16_s16(pcast<Packet16c, Packet8s>(a));
244
- }
245
- template <>
246
- EIGEN_STRONG_INLINE Packet4us pcast<Packet8c, Packet4us>(const Packet8c& a) {
247
- return vreinterpret_u16_s16(pcast<Packet8c, Packet4s>(a));
248
- }
249
-
250
- template <>
251
- struct type_casting_traits<numext::int8_t, numext::int8_t> {
252
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
253
- };
254
- template <>
255
- EIGEN_STRONG_INLINE Packet16c pcast<Packet16c, Packet16c>(const Packet16c& a) {
256
- return a;
257
- }
258
- template <>
259
- EIGEN_STRONG_INLINE Packet8c pcast<Packet8c, Packet8c>(const Packet8c& a) {
260
- return a;
261
- }
262
- template <>
263
- EIGEN_STRONG_INLINE Packet4c pcast<Packet4c, Packet4c>(const Packet4c& a) {
264
- return a;
265
- }
266
-
267
- template <>
268
- struct type_casting_traits<numext::int8_t, numext::uint8_t> {
269
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
270
- };
271
- template <>
272
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet16c, Packet16uc>(const Packet16c& a) {
273
- return vreinterpretq_u8_s8(a);
274
- }
275
- template <>
276
- EIGEN_STRONG_INLINE Packet8uc pcast<Packet8c, Packet8uc>(const Packet8c& a) {
277
- return vreinterpret_u8_s8(a);
278
- }
279
- template <>
280
- EIGEN_STRONG_INLINE Packet4uc pcast<Packet4c, Packet4uc>(const Packet4c& a) {
281
- return static_cast<Packet4uc>(a);
282
- }
283
-
284
- //==============================================================================
285
- // pcast, SrcType = uint8_t
286
- //==============================================================================
287
- template <>
288
- struct type_casting_traits<numext::uint8_t, float> {
289
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
290
- };
291
- template <>
292
- EIGEN_STRONG_INLINE Packet4f pcast<Packet16uc, Packet4f>(const Packet16uc& a) {
293
- // Discard all but first 4 bytes.
294
- return vcvtq_f32_u32(vmovl_u16(vget_low_u16(vmovl_u8(vget_low_u8(a)))));
295
- }
296
- template <>
297
- EIGEN_STRONG_INLINE Packet2f pcast<Packet8uc, Packet2f>(const Packet8uc& a) {
298
- // Discard all but first 2 bytes.
299
- return vcvt_f32_u32(vget_low_u32(vmovl_u16(vget_low_u16(vmovl_u8(a)))));
300
- }
301
-
302
- template <>
303
- struct type_casting_traits<numext::uint8_t, numext::uint64_t> {
304
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 8 };
305
- };
306
- template <>
307
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet16uc, Packet2ul>(const Packet16uc& a) {
308
- // Discard all but first two bytes.
309
- return vmovl_u32(vget_low_u32(vmovl_u16(vget_low_u16(vmovl_u8(vget_low_u8(a))))));
310
- }
311
-
312
- template <>
313
- struct type_casting_traits<numext::uint8_t, numext::int64_t> {
314
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 8 };
315
- };
316
- template <>
317
- EIGEN_STRONG_INLINE Packet2l pcast<Packet16uc, Packet2l>(const Packet16uc& a) {
318
- return vreinterpretq_s64_u64(pcast<Packet16uc, Packet2ul>(a));
319
- }
320
-
321
- template <>
322
- struct type_casting_traits<numext::uint8_t, numext::uint32_t> {
323
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
324
- };
325
- template <>
326
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet16uc, Packet4ui>(const Packet16uc& a) {
327
- // Discard all but first 4 bytes.
328
- return vmovl_u16(vget_low_u16(vmovl_u8(vget_low_u8(a))));
329
- }
330
- template <>
331
- EIGEN_STRONG_INLINE Packet2ui pcast<Packet8uc, Packet2ui>(const Packet8uc& a) {
332
- // Discard all but first 2 bytes.
333
- return vget_low_u32(vmovl_u16(vget_low_u16(vmovl_u8(a))));
334
- }
335
-
336
- template <>
337
- struct type_casting_traits<numext::uint8_t, numext::int32_t> {
338
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
339
- };
340
- template <>
341
- EIGEN_STRONG_INLINE Packet4i pcast<Packet16uc, Packet4i>(const Packet16uc& a) {
342
- return vreinterpretq_s32_u32(pcast<Packet16uc, Packet4ui>(a));
343
- }
344
- template <>
345
- EIGEN_STRONG_INLINE Packet2i pcast<Packet8uc, Packet2i>(const Packet8uc& a) {
346
- return vreinterpret_s32_u32(pcast<Packet8uc, Packet2ui>(a));
347
- }
348
-
349
- template <>
350
- struct type_casting_traits<numext::uint8_t, numext::uint16_t> {
351
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
352
- };
353
- template <>
354
- EIGEN_STRONG_INLINE Packet8us pcast<Packet16uc, Packet8us>(const Packet16uc& a) {
355
- // Discard second half of input.
356
- return vmovl_u8(vget_low_u8(a));
357
- }
358
- template <>
359
- EIGEN_STRONG_INLINE Packet4us pcast<Packet8uc, Packet4us>(const Packet8uc& a) {
360
- // Discard second half of input.
361
- return vget_low_u16(vmovl_u8(a));
362
- }
363
-
364
- template <>
365
- struct type_casting_traits<numext::uint8_t, numext::int16_t> {
366
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
367
- };
368
- template <>
369
- EIGEN_STRONG_INLINE Packet8s pcast<Packet16uc, Packet8s>(const Packet16uc& a) {
370
- return vreinterpretq_s16_u16(pcast<Packet16uc, Packet8us>(a));
371
- }
372
- template <>
373
- EIGEN_STRONG_INLINE Packet4s pcast<Packet8uc, Packet4s>(const Packet8uc& a) {
374
- return vreinterpret_s16_u16(pcast<Packet8uc, Packet4us>(a));
375
- }
376
-
377
- template <>
378
- struct type_casting_traits<numext::uint8_t, numext::uint8_t> {
379
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
380
- };
381
- template <>
382
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet16uc, Packet16uc>(const Packet16uc& a) {
383
- return a;
384
- }
385
- template <>
386
- EIGEN_STRONG_INLINE Packet8uc pcast<Packet8uc, Packet8uc>(const Packet8uc& a) {
387
- return a;
388
- }
389
- template <>
390
- EIGEN_STRONG_INLINE Packet4uc pcast<Packet4uc, Packet4uc>(const Packet4uc& a) {
391
- return a;
392
- }
393
-
394
- template <>
395
- struct type_casting_traits<numext::uint8_t, numext::int8_t> {
396
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
397
- };
398
- template <>
399
- EIGEN_STRONG_INLINE Packet16c pcast<Packet16uc, Packet16c>(const Packet16uc& a) {
400
- return vreinterpretq_s8_u8(a);
401
- }
402
- template <>
403
- EIGEN_STRONG_INLINE Packet8c pcast<Packet8uc, Packet8c>(const Packet8uc& a) {
404
- return vreinterpret_s8_u8(a);
405
- }
406
- template <>
407
- EIGEN_STRONG_INLINE Packet4c pcast<Packet4uc, Packet4c>(const Packet4uc& a) {
408
- return static_cast<Packet4c>(a);
409
- }
410
-
411
- //==============================================================================
412
- // pcast, SrcType = int16_t
413
- //==============================================================================
414
- template <>
415
- struct type_casting_traits<numext::int16_t, float> {
416
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
417
- };
418
- template <>
419
- EIGEN_STRONG_INLINE Packet4f pcast<Packet8s, Packet4f>(const Packet8s& a) {
420
- // Discard second half of input.
421
- return vcvtq_f32_s32(vmovl_s16(vget_low_s16(a)));
422
- }
423
- template <>
424
- EIGEN_STRONG_INLINE Packet2f pcast<Packet4s, Packet2f>(const Packet4s& a) {
425
- // Discard second half of input.
426
- return vcvt_f32_s32(vget_low_s32(vmovl_s16(a)));
427
- }
428
-
429
- template <>
430
- struct type_casting_traits<numext::int16_t, numext::int64_t> {
431
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
432
- };
433
- template <>
434
- EIGEN_STRONG_INLINE Packet2l pcast<Packet8s, Packet2l>(const Packet8s& a) {
435
- // Discard all but first two values.
436
- return vmovl_s32(vget_low_s32(vmovl_s16(vget_low_s16(a))));
437
- }
438
-
439
- template <>
440
- struct type_casting_traits<numext::int16_t, numext::uint64_t> {
441
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
442
- };
443
- template <>
444
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet8s, Packet2ul>(const Packet8s& a) {
445
- return vreinterpretq_u64_s64(pcast<Packet8s, Packet2l>(a));
446
- }
447
-
448
- template <>
449
- struct type_casting_traits<numext::int16_t, numext::int32_t> {
450
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
451
- };
452
- template <>
453
- EIGEN_STRONG_INLINE Packet4i pcast<Packet8s, Packet4i>(const Packet8s& a) {
454
- // Discard second half of input.
455
- return vmovl_s16(vget_low_s16(a));
456
- }
457
- template <>
458
- EIGEN_STRONG_INLINE Packet2i pcast<Packet4s, Packet2i>(const Packet4s& a) {
459
- // Discard second half of input.
460
- return vget_low_s32(vmovl_s16(a));
461
- }
462
-
463
- template <>
464
- struct type_casting_traits<numext::int16_t, numext::uint32_t> {
465
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
466
- };
467
- template <>
468
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet8s, Packet4ui>(const Packet8s& a) {
469
- return vreinterpretq_u32_s32(pcast<Packet8s, Packet4i>(a));
470
- }
471
- template <>
472
- EIGEN_STRONG_INLINE Packet2ui pcast<Packet4s, Packet2ui>(const Packet4s& a) {
473
- return vreinterpret_u32_s32(pcast<Packet4s, Packet2i>(a));
474
- }
475
-
476
- template <>
477
- struct type_casting_traits<numext::int16_t, numext::int16_t> {
478
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
479
- };
480
- template <>
481
- EIGEN_STRONG_INLINE Packet8s pcast<Packet8s, Packet8s>(const Packet8s& a) {
482
- return a;
483
- }
484
- template <>
485
- EIGEN_STRONG_INLINE Packet4s pcast<Packet4s, Packet4s>(const Packet4s& a) {
486
- return a;
487
- }
488
-
489
- template <>
490
- struct type_casting_traits<numext::int16_t, numext::uint16_t> {
491
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
492
- };
493
- template <>
494
- EIGEN_STRONG_INLINE Packet8us pcast<Packet8s, Packet8us>(const Packet8s& a) {
495
- return vreinterpretq_u16_s16(a);
496
- }
497
- template <>
498
- EIGEN_STRONG_INLINE Packet4us pcast<Packet4s, Packet4us>(const Packet4s& a) {
499
- return vreinterpret_u16_s16(a);
500
- }
501
-
502
- template <>
503
- struct type_casting_traits<numext::int16_t, numext::int8_t> {
504
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
505
- };
506
- template <>
507
- EIGEN_STRONG_INLINE Packet16c pcast<Packet8s, Packet16c>(const Packet8s& a, const Packet8s& b) {
508
- return vcombine_s8(vmovn_s16(a), vmovn_s16(b));
509
- }
510
- template <>
511
- EIGEN_STRONG_INLINE Packet8c pcast<Packet4s, Packet8c>(const Packet4s& a, const Packet4s& b) {
512
- return vmovn_s16(vcombine_s16(a, b));
513
- }
514
-
515
- template <>
516
- struct type_casting_traits<numext::int16_t, numext::uint8_t> {
517
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
518
- };
519
- template <>
520
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet8s, Packet16uc>(const Packet8s& a, const Packet8s& b) {
521
- return vcombine_u8(vmovn_u16(vreinterpretq_u16_s16(a)), vmovn_u16(vreinterpretq_u16_s16(b)));
522
- }
523
- template <>
524
- EIGEN_STRONG_INLINE Packet8uc pcast<Packet4s, Packet8uc>(const Packet4s& a, const Packet4s& b) {
525
- return vmovn_u16(vcombine_u16(vreinterpret_u16_s16(a), vreinterpret_u16_s16(b)));
526
- }
527
-
528
- //==============================================================================
529
- // pcast, SrcType = uint16_t
530
- //==============================================================================
531
- template <>
532
- struct type_casting_traits<numext::uint16_t, float> {
533
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
534
- };
535
- template <>
536
- EIGEN_STRONG_INLINE Packet4f pcast<Packet8us, Packet4f>(const Packet8us& a) {
537
- // Discard second half of input.
538
- return vcvtq_f32_u32(vmovl_u16(vget_low_u16(a)));
539
- }
540
- template <>
541
- EIGEN_STRONG_INLINE Packet2f pcast<Packet4us, Packet2f>(const Packet4us& a) {
542
- // Discard second half of input.
543
- return vcvt_f32_u32(vget_low_u32(vmovl_u16(a)));
544
- }
545
-
546
- template <>
547
- struct type_casting_traits<numext::uint16_t, numext::uint64_t> {
548
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
549
- };
550
- template <>
551
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet8us, Packet2ul>(const Packet8us& a) {
552
- // Discard all but first two values.
553
- return vmovl_u32(vget_low_u32(vmovl_u16(vget_low_u16(a))));
554
- }
555
-
556
- template <>
557
- struct type_casting_traits<numext::uint16_t, numext::int64_t> {
558
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
559
- };
560
- template <>
561
- EIGEN_STRONG_INLINE Packet2l pcast<Packet8us, Packet2l>(const Packet8us& a) {
562
- return vreinterpretq_s64_u64(pcast<Packet8us, Packet2ul>(a));
563
- }
564
-
565
- template <>
566
- struct type_casting_traits<numext::uint16_t, numext::uint32_t> {
567
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
568
- };
569
- template <>
570
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet8us, Packet4ui>(const Packet8us& a) {
571
- // Discard second half of input.
572
- return vmovl_u16(vget_low_u16(a));
573
- }
574
- template <>
575
- EIGEN_STRONG_INLINE Packet2ui pcast<Packet4us, Packet2ui>(const Packet4us& a) {
576
- // Discard second half of input.
577
- return vget_low_u32(vmovl_u16(a));
578
- }
579
-
580
- template <>
581
- struct type_casting_traits<numext::uint16_t, numext::int32_t> {
582
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
583
- };
584
- template <>
585
- EIGEN_STRONG_INLINE Packet4i pcast<Packet8us, Packet4i>(const Packet8us& a) {
586
- return vreinterpretq_s32_u32(pcast<Packet8us, Packet4ui>(a));
587
- }
588
- template <>
589
- EIGEN_STRONG_INLINE Packet2i pcast<Packet4us, Packet2i>(const Packet4us& a) {
590
- return vreinterpret_s32_u32(pcast<Packet4us, Packet2ui>(a));
591
- }
592
-
593
- template <>
594
- struct type_casting_traits<numext::uint16_t, numext::uint16_t> {
595
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
596
- };
597
- template <>
598
- EIGEN_STRONG_INLINE Packet8us pcast<Packet8us, Packet8us>(const Packet8us& a) {
599
- return a;
600
- }
601
- template <>
602
- EIGEN_STRONG_INLINE Packet4us pcast<Packet4us, Packet4us>(const Packet4us& a) {
603
- return a;
604
- }
605
-
606
- template <>
607
- struct type_casting_traits<numext::uint16_t, numext::int16_t> {
608
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
609
- };
610
- template <>
611
- EIGEN_STRONG_INLINE Packet8s pcast<Packet8us, Packet8s>(const Packet8us& a) {
612
- return vreinterpretq_s16_u16(a);
613
- }
614
- template <>
615
- EIGEN_STRONG_INLINE Packet4s pcast<Packet4us, Packet4s>(const Packet4us& a) {
616
- return vreinterpret_s16_u16(a);
617
- }
618
-
619
- template <>
620
- struct type_casting_traits<numext::uint16_t, numext::uint8_t> {
621
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
622
- };
623
- template <>
624
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet8us, Packet16uc>(const Packet8us& a, const Packet8us& b) {
625
- return vcombine_u8(vmovn_u16(a), vmovn_u16(b));
626
- }
627
- template <>
628
- EIGEN_STRONG_INLINE Packet8uc pcast<Packet4us, Packet8uc>(const Packet4us& a, const Packet4us& b) {
629
- return vmovn_u16(vcombine_u16(a, b));
630
- }
631
-
632
- template <>
633
- struct type_casting_traits<numext::uint16_t, numext::int8_t> {
634
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
635
- };
636
- template <>
637
- EIGEN_STRONG_INLINE Packet16c pcast<Packet8us, Packet16c>(const Packet8us& a, const Packet8us& b) {
638
- return vreinterpretq_s8_u8(pcast<Packet8us, Packet16uc>(a, b));
639
- }
640
- template <>
641
- EIGEN_STRONG_INLINE Packet8c pcast<Packet4us, Packet8c>(const Packet4us& a, const Packet4us& b) {
642
- return vreinterpret_s8_u8(pcast<Packet4us, Packet8uc>(a, b));
643
- }
644
-
645
- //==============================================================================
646
- // pcast, SrcType = int32_t
647
- //==============================================================================
648
- template <>
649
- struct type_casting_traits<numext::int32_t, float> {
650
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
651
- };
652
- template <>
653
- EIGEN_STRONG_INLINE Packet4f pcast<Packet4i, Packet4f>(const Packet4i& a) {
654
- return vcvtq_f32_s32(a);
655
- }
656
- template <>
657
- EIGEN_STRONG_INLINE Packet2f pcast<Packet2i, Packet2f>(const Packet2i& a) {
658
- return vcvt_f32_s32(a);
659
- }
660
-
661
- template <>
662
- struct type_casting_traits<numext::int32_t, numext::int64_t> {
663
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
664
- };
665
- template <>
666
- EIGEN_STRONG_INLINE Packet2l pcast<Packet4i, Packet2l>(const Packet4i& a) {
667
- // Discard second half of input.
668
- return vmovl_s32(vget_low_s32(a));
669
- }
670
-
671
- template <>
672
- struct type_casting_traits<numext::int32_t, numext::uint64_t> {
673
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
674
- };
675
- template <>
676
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet4i, Packet2ul>(const Packet4i& a) {
677
- return vreinterpretq_u64_s64(pcast<Packet4i, Packet2l>(a));
678
- }
679
-
680
- template <>
681
- struct type_casting_traits<numext::int32_t, numext::int32_t> {
682
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
683
- };
684
- template <>
685
- EIGEN_STRONG_INLINE Packet4i pcast<Packet4i, Packet4i>(const Packet4i& a) {
686
- return a;
687
- }
688
- template <>
689
- EIGEN_STRONG_INLINE Packet2i pcast<Packet2i, Packet2i>(const Packet2i& a) {
690
- return a;
691
- }
692
-
693
- template <>
694
- struct type_casting_traits<numext::int32_t, numext::uint32_t> {
695
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
696
- };
697
- template <>
698
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet4i, Packet4ui>(const Packet4i& a) {
699
- return vreinterpretq_u32_s32(a);
700
- }
701
- template <>
702
- EIGEN_STRONG_INLINE Packet2ui pcast<Packet2i, Packet2ui>(const Packet2i& a) {
703
- return vreinterpret_u32_s32(a);
704
- }
705
-
706
- template <>
707
- struct type_casting_traits<numext::int32_t, numext::int16_t> {
708
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
709
- };
710
- template <>
711
- EIGEN_STRONG_INLINE Packet8s pcast<Packet4i, Packet8s>(const Packet4i& a, const Packet4i& b) {
712
- return vcombine_s16(vmovn_s32(a), vmovn_s32(b));
713
- }
714
- template <>
715
- EIGEN_STRONG_INLINE Packet4s pcast<Packet2i, Packet4s>(const Packet2i& a, const Packet2i& b) {
716
- return vmovn_s32(vcombine_s32(a, b));
717
- }
718
-
719
- template <>
720
- struct type_casting_traits<numext::int32_t, numext::uint16_t> {
721
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
722
- };
723
- template <>
724
- EIGEN_STRONG_INLINE Packet8us pcast<Packet4i, Packet8us>(const Packet4i& a, const Packet4i& b) {
725
- return vcombine_u16(vmovn_u32(vreinterpretq_u32_s32(a)), vmovn_u32(vreinterpretq_u32_s32(b)));
726
- }
727
- template <>
728
- EIGEN_STRONG_INLINE Packet4us pcast<Packet2i, Packet4us>(const Packet2i& a, const Packet2i& b) {
729
- return vmovn_u32(vreinterpretq_u32_s32(vcombine_s32(a, b)));
730
- }
731
-
732
- template <>
733
- struct type_casting_traits<numext::int32_t, numext::int8_t> {
734
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
735
- };
736
- template <>
737
- EIGEN_STRONG_INLINE Packet16c pcast<Packet4i, Packet16c>(const Packet4i& a, const Packet4i& b, const Packet4i& c,
738
- const Packet4i& d) {
739
- const int16x8_t ab_s16 = pcast<Packet4i, Packet8s>(a, b);
740
- const int16x8_t cd_s16 = pcast<Packet4i, Packet8s>(c, d);
741
- return vcombine_s8(vmovn_s16(ab_s16), vmovn_s16(cd_s16));
742
- }
743
- template <>
744
- EIGEN_STRONG_INLINE Packet8c pcast<Packet2i, Packet8c>(const Packet2i& a, const Packet2i& b, const Packet2i& c,
745
- const Packet2i& d) {
746
- const int16x4_t ab_s16 = vmovn_s32(vcombine_s32(a, b));
747
- const int16x4_t cd_s16 = vmovn_s32(vcombine_s32(c, d));
748
- return vmovn_s16(vcombine_s16(ab_s16, cd_s16));
749
- }
750
-
751
- template <>
752
- struct type_casting_traits<numext::int32_t, numext::uint8_t> {
753
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
754
- };
755
- template <>
756
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet4i, Packet16uc>(const Packet4i& a, const Packet4i& b, const Packet4i& c,
757
- const Packet4i& d) {
758
- const uint16x8_t ab_u16 = pcast<Packet4i, Packet8us>(a, b);
759
- const uint16x8_t cd_u16 = pcast<Packet4i, Packet8us>(c, d);
760
- return vcombine_u8(vmovn_u16(ab_u16), vmovn_u16(cd_u16));
761
- }
762
- template <>
763
- EIGEN_STRONG_INLINE Packet8uc pcast<Packet2i, Packet8uc>(const Packet2i& a, const Packet2i& b, const Packet2i& c,
764
- const Packet2i& d) {
765
- const uint16x4_t ab_u16 = pcast<Packet2i, Packet4us>(a, b);
766
- const uint16x4_t cd_u16 = pcast<Packet2i, Packet4us>(c, d);
767
- return vmovn_u16(vcombine_u16(ab_u16, cd_u16));
768
- }
769
-
770
- //==============================================================================
771
- // pcast, SrcType = uint32_t
772
- //==============================================================================
773
- template <>
774
- struct type_casting_traits<numext::uint32_t, float> {
775
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
776
- };
777
- template <>
778
- EIGEN_STRONG_INLINE Packet4f pcast<Packet4ui, Packet4f>(const Packet4ui& a) {
779
- return vcvtq_f32_u32(a);
780
- }
781
- template <>
782
- EIGEN_STRONG_INLINE Packet2f pcast<Packet2ui, Packet2f>(const Packet2ui& a) {
783
- return vcvt_f32_u32(a);
784
- }
785
-
786
- template <>
787
- struct type_casting_traits<numext::uint32_t, numext::uint64_t> {
788
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
789
- };
790
- template <>
791
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet4ui, Packet2ul>(const Packet4ui& a) {
792
- // Discard second half of input.
793
- return vmovl_u32(vget_low_u32(a));
794
- }
795
-
796
- template <>
797
- struct type_casting_traits<numext::uint32_t, numext::int64_t> {
798
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
799
- };
800
- template <>
801
- EIGEN_STRONG_INLINE Packet2l pcast<Packet4ui, Packet2l>(const Packet4ui& a) {
802
- return vreinterpretq_s64_u64(pcast<Packet4ui, Packet2ul>(a));
803
- }
804
-
805
- template <>
806
- struct type_casting_traits<numext::uint32_t, numext::uint32_t> {
807
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
808
- };
809
- template <>
810
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet4ui, Packet4ui>(const Packet4ui& a) {
811
- return a;
812
- }
813
- template <>
814
- EIGEN_STRONG_INLINE Packet2ui pcast<Packet2ui, Packet2ui>(const Packet2ui& a) {
815
- return a;
816
- }
817
-
818
- template <>
819
- struct type_casting_traits<numext::uint32_t, numext::int32_t> {
820
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
821
- };
822
- template <>
823
- EIGEN_STRONG_INLINE Packet4i pcast<Packet4ui, Packet4i>(const Packet4ui& a) {
824
- return vreinterpretq_s32_u32(a);
825
- }
826
- template <>
827
- EIGEN_STRONG_INLINE Packet2i pcast<Packet2ui, Packet2i>(const Packet2ui& a) {
828
- return vreinterpret_s32_u32(a);
829
- }
830
-
831
- template <>
832
- struct type_casting_traits<numext::uint32_t, numext::uint16_t> {
833
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
834
- };
835
- template <>
836
- EIGEN_STRONG_INLINE Packet8us pcast<Packet4ui, Packet8us>(const Packet4ui& a, const Packet4ui& b) {
837
- return vcombine_u16(vmovn_u32(a), vmovn_u32(b));
838
- }
839
- template <>
840
- EIGEN_STRONG_INLINE Packet4us pcast<Packet2ui, Packet4us>(const Packet2ui& a, const Packet2ui& b) {
841
- return vmovn_u32(vcombine_u32(a, b));
842
- }
843
-
844
- template <>
845
- struct type_casting_traits<numext::uint32_t, numext::int16_t> {
846
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
847
- };
848
- template <>
849
- EIGEN_STRONG_INLINE Packet8s pcast<Packet4ui, Packet8s>(const Packet4ui& a, const Packet4ui& b) {
850
- return vreinterpretq_s16_u16(pcast<Packet4ui, Packet8us>(a, b));
851
- }
852
- template <>
853
- EIGEN_STRONG_INLINE Packet4s pcast<Packet2ui, Packet4s>(const Packet2ui& a, const Packet2ui& b) {
854
- return vreinterpret_s16_u16(pcast<Packet2ui, Packet4us>(a, b));
855
- }
856
-
857
- template <>
858
- struct type_casting_traits<numext::uint32_t, numext::uint8_t> {
859
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
860
- };
861
- template <>
862
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet4ui, Packet16uc>(const Packet4ui& a, const Packet4ui& b, const Packet4ui& c,
863
- const Packet4ui& d) {
864
- const uint16x8_t ab_u16 = vcombine_u16(vmovn_u32(a), vmovn_u32(b));
865
- const uint16x8_t cd_u16 = vcombine_u16(vmovn_u32(c), vmovn_u32(d));
866
- return vcombine_u8(vmovn_u16(ab_u16), vmovn_u16(cd_u16));
867
- }
868
- template <>
869
- EIGEN_STRONG_INLINE Packet8uc pcast<Packet2ui, Packet8uc>(const Packet2ui& a, const Packet2ui& b, const Packet2ui& c,
870
- const Packet2ui& d) {
871
- const uint16x4_t ab_u16 = vmovn_u32(vcombine_u32(a, b));
872
- const uint16x4_t cd_u16 = vmovn_u32(vcombine_u32(c, d));
873
- return vmovn_u16(vcombine_u16(ab_u16, cd_u16));
874
- }
875
-
876
- template <>
877
- struct type_casting_traits<numext::uint32_t, numext::int8_t> {
878
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
879
- };
880
- template <>
881
- EIGEN_STRONG_INLINE Packet16c pcast<Packet4ui, Packet16c>(const Packet4ui& a, const Packet4ui& b, const Packet4ui& c,
882
- const Packet4ui& d) {
883
- return vreinterpretq_s8_u8(pcast<Packet4ui, Packet16uc>(a, b, c, d));
884
- }
885
- template <>
886
- EIGEN_STRONG_INLINE Packet8c pcast<Packet2ui, Packet8c>(const Packet2ui& a, const Packet2ui& b, const Packet2ui& c,
887
- const Packet2ui& d) {
888
- return vreinterpret_s8_u8(pcast<Packet2ui, Packet8uc>(a, b, c, d));
889
- }
890
-
891
- //==============================================================================
892
- // pcast, SrcType = int64_t
893
- //==============================================================================
894
- template <>
895
- struct type_casting_traits<numext::int64_t, float> {
896
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
897
- };
898
- template <>
899
- EIGEN_STRONG_INLINE Packet4f pcast<Packet2l, Packet4f>(const Packet2l& a, const Packet2l& b) {
900
- return vcvtq_f32_s32(vcombine_s32(vmovn_s64(a), vmovn_s64(b)));
901
- }
902
-
903
- template <>
904
- struct type_casting_traits<numext::int64_t, numext::int64_t> {
905
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
906
- };
907
- template <>
908
- EIGEN_STRONG_INLINE Packet2l pcast<Packet2l, Packet2l>(const Packet2l& a) {
909
- return a;
910
- }
911
-
912
- template <>
913
- struct type_casting_traits<numext::int64_t, numext::uint64_t> {
914
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
915
- };
916
- template <>
917
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet2l, Packet2ul>(const Packet2l& a) {
918
- return vreinterpretq_u64_s64(a);
919
- }
920
-
921
- template <>
922
- struct type_casting_traits<numext::int64_t, numext::int32_t> {
923
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
924
- };
925
- template <>
926
- EIGEN_STRONG_INLINE Packet4i pcast<Packet2l, Packet4i>(const Packet2l& a, const Packet2l& b) {
927
- return vcombine_s32(vmovn_s64(a), vmovn_s64(b));
928
- }
929
-
930
- template <>
931
- struct type_casting_traits<numext::int64_t, numext::uint32_t> {
932
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
933
- };
934
- template <>
935
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet2l, Packet4ui>(const Packet2l& a, const Packet2l& b) {
936
- return vcombine_u32(vmovn_u64(vreinterpretq_u64_s64(a)), vmovn_u64(vreinterpretq_u64_s64(b)));
937
- }
938
-
939
- template <>
940
- struct type_casting_traits<numext::int64_t, numext::int16_t> {
941
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
942
- };
943
- template <>
944
- EIGEN_STRONG_INLINE Packet8s pcast<Packet2l, Packet8s>(const Packet2l& a, const Packet2l& b, const Packet2l& c,
945
- const Packet2l& d) {
946
- const int32x4_t ab_s32 = pcast<Packet2l, Packet4i>(a, b);
947
- const int32x4_t cd_s32 = pcast<Packet2l, Packet4i>(c, d);
948
- return vcombine_s16(vmovn_s32(ab_s32), vmovn_s32(cd_s32));
949
- }
950
-
951
- template <>
952
- struct type_casting_traits<numext::int64_t, numext::uint16_t> {
953
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
954
- };
955
- template <>
956
- EIGEN_STRONG_INLINE Packet8us pcast<Packet2l, Packet8us>(const Packet2l& a, const Packet2l& b, const Packet2l& c,
957
- const Packet2l& d) {
958
- const uint32x4_t ab_u32 = pcast<Packet2l, Packet4ui>(a, b);
959
- const uint32x4_t cd_u32 = pcast<Packet2l, Packet4ui>(c, d);
960
- return vcombine_u16(vmovn_u32(ab_u32), vmovn_u32(cd_u32));
961
- }
962
-
963
- template <>
964
- struct type_casting_traits<numext::int64_t, numext::int8_t> {
965
- enum { VectorizedCast = 1, SrcCoeffRatio = 8, TgtCoeffRatio = 1 };
966
- };
967
- template <>
968
- EIGEN_STRONG_INLINE Packet16c pcast<Packet2l, Packet16c>(const Packet2l& a, const Packet2l& b, const Packet2l& c,
969
- const Packet2l& d, const Packet2l& e, const Packet2l& f,
970
- const Packet2l& g, const Packet2l& h) {
971
- const int16x8_t abcd_s16 = pcast<Packet2l, Packet8s>(a, b, c, d);
972
- const int16x8_t efgh_s16 = pcast<Packet2l, Packet8s>(e, f, g, h);
973
- return vcombine_s8(vmovn_s16(abcd_s16), vmovn_s16(efgh_s16));
974
- }
975
-
976
- template <>
977
- struct type_casting_traits<numext::int64_t, numext::uint8_t> {
978
- enum { VectorizedCast = 1, SrcCoeffRatio = 8, TgtCoeffRatio = 1 };
979
- };
980
- template <>
981
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet2l, Packet16uc>(const Packet2l& a, const Packet2l& b, const Packet2l& c,
982
- const Packet2l& d, const Packet2l& e, const Packet2l& f,
983
- const Packet2l& g, const Packet2l& h) {
984
- const uint16x8_t abcd_u16 = pcast<Packet2l, Packet8us>(a, b, c, d);
985
- const uint16x8_t efgh_u16 = pcast<Packet2l, Packet8us>(e, f, g, h);
986
- return vcombine_u8(vmovn_u16(abcd_u16), vmovn_u16(efgh_u16));
987
- }
988
-
989
- //==============================================================================
990
- // pcast, SrcType = uint64_t
991
- //==============================================================================
992
- template <>
993
- struct type_casting_traits<numext::uint64_t, float> {
994
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
995
- };
996
- template <>
997
- EIGEN_STRONG_INLINE Packet4f pcast<Packet2ul, Packet4f>(const Packet2ul& a, const Packet2ul& b) {
998
- return vcvtq_f32_u32(vcombine_u32(vmovn_u64(a), vmovn_u64(b)));
999
- }
1000
-
1001
- template <>
1002
- struct type_casting_traits<numext::uint64_t, numext::uint64_t> {
1003
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
1004
- };
1005
- template <>
1006
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet2ul, Packet2ul>(const Packet2ul& a) {
1007
- return a;
1008
- }
1009
-
1010
- template <>
1011
- struct type_casting_traits<numext::uint64_t, numext::int64_t> {
1012
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
1013
- };
1014
- template <>
1015
- EIGEN_STRONG_INLINE Packet2l pcast<Packet2ul, Packet2l>(const Packet2ul& a) {
1016
- return vreinterpretq_s64_u64(a);
1017
- }
1018
-
1019
- template <>
1020
- struct type_casting_traits<numext::uint64_t, numext::uint32_t> {
1021
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
1022
- };
1023
- template <>
1024
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet2ul, Packet4ui>(const Packet2ul& a, const Packet2ul& b) {
1025
- return vcombine_u32(vmovn_u64(a), vmovn_u64(b));
1026
- }
1027
-
1028
- template <>
1029
- struct type_casting_traits<numext::uint64_t, numext::int32_t> {
1030
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
1031
- };
1032
- template <>
1033
- EIGEN_STRONG_INLINE Packet4i pcast<Packet2ul, Packet4i>(const Packet2ul& a, const Packet2ul& b) {
1034
- return vreinterpretq_s32_u32(pcast<Packet2ul, Packet4ui>(a, b));
1035
- }
1036
-
1037
- template <>
1038
- struct type_casting_traits<numext::uint64_t, numext::uint16_t> {
1039
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
1040
- };
1041
- template <>
1042
- EIGEN_STRONG_INLINE Packet8us pcast<Packet2ul, Packet8us>(const Packet2ul& a, const Packet2ul& b, const Packet2ul& c,
1043
- const Packet2ul& d) {
1044
- const uint16x4_t ab_u16 = vmovn_u32(vcombine_u32(vmovn_u64(a), vmovn_u64(b)));
1045
- const uint16x4_t cd_u16 = vmovn_u32(vcombine_u32(vmovn_u64(c), vmovn_u64(d)));
1046
- return vcombine_u16(ab_u16, cd_u16);
1047
- }
1048
-
1049
- template <>
1050
- struct type_casting_traits<numext::uint64_t, numext::int16_t> {
1051
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
1052
- };
1053
- template <>
1054
- EIGEN_STRONG_INLINE Packet8s pcast<Packet2ul, Packet8s>(const Packet2ul& a, const Packet2ul& b, const Packet2ul& c,
1055
- const Packet2ul& d) {
1056
- return vreinterpretq_s16_u16(pcast<Packet2ul, Packet8us>(a, b, c, d));
1057
- }
1058
-
1059
- template <>
1060
- struct type_casting_traits<numext::uint64_t, numext::uint8_t> {
1061
- enum { VectorizedCast = 1, SrcCoeffRatio = 8, TgtCoeffRatio = 1 };
1062
- };
1063
- template <>
1064
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet2ul, Packet16uc>(const Packet2ul& a, const Packet2ul& b, const Packet2ul& c,
1065
- const Packet2ul& d, const Packet2ul& e, const Packet2ul& f,
1066
- const Packet2ul& g, const Packet2ul& h) {
1067
- const uint16x8_t abcd_u16 = pcast<Packet2ul, Packet8us>(a, b, c, d);
1068
- const uint16x8_t efgh_u16 = pcast<Packet2ul, Packet8us>(e, f, g, h);
1069
- return vcombine_u8(vmovn_u16(abcd_u16), vmovn_u16(efgh_u16));
1070
- }
1071
-
1072
- template <>
1073
- struct type_casting_traits<numext::uint64_t, numext::int8_t> {
1074
- enum { VectorizedCast = 1, SrcCoeffRatio = 8, TgtCoeffRatio = 1 };
1075
- };
1076
- template <>
1077
- EIGEN_STRONG_INLINE Packet16c pcast<Packet2ul, Packet16c>(const Packet2ul& a, const Packet2ul& b, const Packet2ul& c,
1078
- const Packet2ul& d, const Packet2ul& e, const Packet2ul& f,
1079
- const Packet2ul& g, const Packet2ul& h) {
1080
- return vreinterpretq_s8_u8(pcast<Packet2ul, Packet16uc>(a, b, c, d, e, f, g, h));
1081
- }
1082
-
1083
- //==============================================================================
1084
- // preinterpret
1085
- //==============================================================================
1086
- template <>
1087
- EIGEN_STRONG_INLINE Packet2f preinterpret<Packet2f, Packet2i>(const Packet2i& a) {
1088
- return vreinterpret_f32_s32(a);
1089
- }
1090
- template <>
1091
- EIGEN_STRONG_INLINE Packet2f preinterpret<Packet2f, Packet2ui>(const Packet2ui& a) {
1092
- return vreinterpret_f32_u32(a);
1093
- }
1094
- template <>
1095
- EIGEN_STRONG_INLINE Packet4f preinterpret<Packet4f, Packet4i>(const Packet4i& a) {
1096
- return vreinterpretq_f32_s32(a);
1097
- }
1098
- template <>
1099
- EIGEN_STRONG_INLINE Packet4f preinterpret<Packet4f, Packet4ui>(const Packet4ui& a) {
1100
- return vreinterpretq_f32_u32(a);
1101
- }
1102
-
1103
- template <>
1104
- EIGEN_STRONG_INLINE Packet4c preinterpret<Packet4c, Packet4uc>(const Packet4uc& a) {
1105
- return static_cast<Packet4c>(a);
1106
- }
1107
- template <>
1108
- EIGEN_STRONG_INLINE Packet8c preinterpret<Packet8c, Packet8uc>(const Packet8uc& a) {
1109
- return vreinterpret_s8_u8(a);
1110
- }
1111
- template <>
1112
- EIGEN_STRONG_INLINE Packet16c preinterpret<Packet16c, Packet16uc>(const Packet16uc& a) {
1113
- return vreinterpretq_s8_u8(a);
1114
- }
1115
-
1116
- template <>
1117
- EIGEN_STRONG_INLINE Packet4uc preinterpret<Packet4uc, Packet4c>(const Packet4c& a) {
1118
- return static_cast<Packet4uc>(a);
1119
- }
1120
- template <>
1121
- EIGEN_STRONG_INLINE Packet8uc preinterpret<Packet8uc, Packet8c>(const Packet8c& a) {
1122
- return vreinterpret_u8_s8(a);
1123
- }
1124
- template <>
1125
- EIGEN_STRONG_INLINE Packet16uc preinterpret<Packet16uc, Packet16c>(const Packet16c& a) {
1126
- return vreinterpretq_u8_s8(a);
1127
- }
1128
-
1129
- template <>
1130
- EIGEN_STRONG_INLINE Packet4s preinterpret<Packet4s, Packet4us>(const Packet4us& a) {
1131
- return vreinterpret_s16_u16(a);
1132
- }
1133
- template <>
1134
- EIGEN_STRONG_INLINE Packet8s preinterpret<Packet8s, Packet8us>(const Packet8us& a) {
1135
- return vreinterpretq_s16_u16(a);
1136
- }
1137
-
1138
- template <>
1139
- EIGEN_STRONG_INLINE Packet4us preinterpret<Packet4us, Packet4s>(const Packet4s& a) {
1140
- return vreinterpret_u16_s16(a);
1141
- }
1142
- template <>
1143
- EIGEN_STRONG_INLINE Packet8us preinterpret<Packet8us, Packet8s>(const Packet8s& a) {
1144
- return vreinterpretq_u16_s16(a);
1145
- }
1146
-
1147
- template <>
1148
- EIGEN_STRONG_INLINE Packet2i preinterpret<Packet2i, Packet2f>(const Packet2f& a) {
1149
- return vreinterpret_s32_f32(a);
1150
- }
1151
- template <>
1152
- EIGEN_STRONG_INLINE Packet2i preinterpret<Packet2i, Packet2ui>(const Packet2ui& a) {
1153
- return vreinterpret_s32_u32(a);
1154
- }
1155
- template <>
1156
- EIGEN_STRONG_INLINE Packet4i preinterpret<Packet4i, Packet4f>(const Packet4f& a) {
1157
- return vreinterpretq_s32_f32(a);
1158
- }
1159
- template <>
1160
- EIGEN_STRONG_INLINE Packet4i preinterpret<Packet4i, Packet4ui>(const Packet4ui& a) {
1161
- return vreinterpretq_s32_u32(a);
1162
- }
1163
-
1164
- template <>
1165
- EIGEN_STRONG_INLINE Packet2ui preinterpret<Packet2ui, Packet2f>(const Packet2f& a) {
1166
- return vreinterpret_u32_f32(a);
1167
- }
1168
- template <>
1169
- EIGEN_STRONG_INLINE Packet2ui preinterpret<Packet2ui, Packet2i>(const Packet2i& a) {
1170
- return vreinterpret_u32_s32(a);
1171
- }
1172
- template <>
1173
- EIGEN_STRONG_INLINE Packet4ui preinterpret<Packet4ui, Packet4f>(const Packet4f& a) {
1174
- return vreinterpretq_u32_f32(a);
1175
- }
1176
- template <>
1177
- EIGEN_STRONG_INLINE Packet4ui preinterpret<Packet4ui, Packet4i>(const Packet4i& a) {
1178
- return vreinterpretq_u32_s32(a);
1179
- }
1180
-
1181
- template <>
1182
- EIGEN_STRONG_INLINE Packet2l preinterpret<Packet2l, Packet2ul>(const Packet2ul& a) {
1183
- return vreinterpretq_s64_u64(a);
1184
- }
1185
- template <>
1186
- EIGEN_STRONG_INLINE Packet2ul preinterpret<Packet2ul, Packet2l>(const Packet2l& a) {
1187
- return vreinterpretq_u64_s64(a);
1188
- }
1189
-
1190
- #if EIGEN_ARCH_ARM64
1191
-
1192
- //==============================================================================
1193
- // pcast/preinterpret, Double
1194
- //==============================================================================
1195
-
1196
- template <>
1197
- struct type_casting_traits<double, double> {
1198
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
1199
- };
1200
- template <>
1201
- EIGEN_STRONG_INLINE Packet2d pcast<Packet2d, Packet2d>(const Packet2d& a) {
1202
- return a;
1203
- }
1204
-
1205
- template <>
1206
- struct type_casting_traits<double, float> {
1207
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
1208
- };
1209
- template <>
1210
- EIGEN_STRONG_INLINE Packet4f pcast<Packet2d, Packet4f>(const Packet2d& a, const Packet2d& b) {
1211
- return vcombine_f32(vcvt_f32_f64(a), vcvt_f32_f64(b));
1212
- }
1213
-
1214
- template <>
1215
- struct type_casting_traits<double, numext::int64_t> {
1216
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
1217
- };
1218
- template <>
1219
- EIGEN_STRONG_INLINE Packet2l pcast<Packet2d, Packet2l>(const Packet2d& a) {
1220
- return vcvtq_s64_f64(a);
1221
- }
1222
-
1223
- template <>
1224
- struct type_casting_traits<double, numext::uint64_t> {
1225
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
1226
- };
1227
- template <>
1228
- EIGEN_STRONG_INLINE Packet2ul pcast<Packet2d, Packet2ul>(const Packet2d& a) {
1229
- return vcvtq_u64_f64(a);
1230
- }
1231
-
1232
- template <>
1233
- struct type_casting_traits<double, numext::int32_t> {
1234
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
1235
- };
1236
- template <>
1237
- EIGEN_STRONG_INLINE Packet4i pcast<Packet2d, Packet4i>(const Packet2d& a, const Packet2d& b) {
1238
- return vcombine_s32(vmovn_s64(vcvtq_s64_f64(a)), vmovn_s64(vcvtq_s64_f64(b)));
1239
- }
1240
-
1241
- template <>
1242
- struct type_casting_traits<double, numext::uint32_t> {
1243
- enum { VectorizedCast = 1, SrcCoeffRatio = 2, TgtCoeffRatio = 1 };
1244
- };
1245
- template <>
1246
- EIGEN_STRONG_INLINE Packet4ui pcast<Packet2d, Packet4ui>(const Packet2d& a, const Packet2d& b) {
1247
- return vcombine_u32(vmovn_u64(vcvtq_u64_f64(a)), vmovn_u64(vcvtq_u64_f64(b)));
1248
- }
1249
-
1250
- template <>
1251
- struct type_casting_traits<double, numext::int16_t> {
1252
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
1253
- };
1254
- template <>
1255
- EIGEN_STRONG_INLINE Packet8s pcast<Packet2d, Packet8s>(const Packet2d& a, const Packet2d& b, const Packet2d& c,
1256
- const Packet2d& d) {
1257
- const int32x4_t ab_s32 = pcast<Packet2d, Packet4i>(a, b);
1258
- const int32x4_t cd_s32 = pcast<Packet2d, Packet4i>(c, d);
1259
- return vcombine_s16(vmovn_s32(ab_s32), vmovn_s32(cd_s32));
1260
- }
1261
-
1262
- template <>
1263
- struct type_casting_traits<double, numext::uint16_t> {
1264
- enum { VectorizedCast = 1, SrcCoeffRatio = 4, TgtCoeffRatio = 1 };
1265
- };
1266
- template <>
1267
- EIGEN_STRONG_INLINE Packet8us pcast<Packet2d, Packet8us>(const Packet2d& a, const Packet2d& b, const Packet2d& c,
1268
- const Packet2d& d) {
1269
- const uint32x4_t ab_u32 = pcast<Packet2d, Packet4ui>(a, b);
1270
- const uint32x4_t cd_u32 = pcast<Packet2d, Packet4ui>(c, d);
1271
- return vcombine_u16(vmovn_u32(ab_u32), vmovn_u32(cd_u32));
1272
- }
1273
-
1274
- template <>
1275
- struct type_casting_traits<double, numext::int8_t> {
1276
- enum { VectorizedCast = 1, SrcCoeffRatio = 8, TgtCoeffRatio = 1 };
1277
- };
1278
- template <>
1279
- EIGEN_STRONG_INLINE Packet16c pcast<Packet2d, Packet16c>(const Packet2d& a, const Packet2d& b, const Packet2d& c,
1280
- const Packet2d& d, const Packet2d& e, const Packet2d& f,
1281
- const Packet2d& g, const Packet2d& h) {
1282
- const int16x8_t abcd_s16 = pcast<Packet2d, Packet8s>(a, b, c, d);
1283
- const int16x8_t efgh_s16 = pcast<Packet2d, Packet8s>(e, f, g, h);
1284
- return vcombine_s8(vmovn_s16(abcd_s16), vmovn_s16(efgh_s16));
1285
- }
1286
-
1287
- template <>
1288
- struct type_casting_traits<double, numext::uint8_t> {
1289
- enum { VectorizedCast = 1, SrcCoeffRatio = 8, TgtCoeffRatio = 1 };
1290
- };
1291
- template <>
1292
- EIGEN_STRONG_INLINE Packet16uc pcast<Packet2d, Packet16uc>(const Packet2d& a, const Packet2d& b, const Packet2d& c,
1293
- const Packet2d& d, const Packet2d& e, const Packet2d& f,
1294
- const Packet2d& g, const Packet2d& h) {
1295
- const uint16x8_t abcd_u16 = pcast<Packet2d, Packet8us>(a, b, c, d);
1296
- const uint16x8_t efgh_u16 = pcast<Packet2d, Packet8us>(e, f, g, h);
1297
- return vcombine_u8(vmovn_u16(abcd_u16), vmovn_u16(efgh_u16));
1298
- }
1299
-
1300
- template <>
1301
- struct type_casting_traits<float, double> {
1302
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
1303
- };
1304
- template <>
1305
- EIGEN_STRONG_INLINE Packet2d pcast<Packet4f, Packet2d>(const Packet4f& a) {
1306
- // Discard second-half of input.
1307
- return vcvt_f64_f32(vget_low_f32(a));
1308
- }
1309
-
1310
- template <>
1311
- struct type_casting_traits<numext::int8_t, double> {
1312
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 8 };
1313
- };
1314
- template <>
1315
- EIGEN_STRONG_INLINE Packet2d pcast<Packet16c, Packet2d>(const Packet16c& a) {
1316
- // Discard all but first two values.
1317
- return vcvt_f64_f32(pcast<Packet8c, Packet2f>(vget_low_s8(a)));
1318
- }
1319
-
1320
- template <>
1321
- struct type_casting_traits<numext::uint8_t, double> {
1322
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 8 };
1323
- };
1324
- template <>
1325
- EIGEN_STRONG_INLINE Packet2d pcast<Packet16uc, Packet2d>(const Packet16uc& a) {
1326
- // Discard all but first two values.
1327
- return vcvt_f64_f32(pcast<Packet8uc, Packet2f>(vget_low_u8(a)));
1328
- }
1329
-
1330
- template <>
1331
- struct type_casting_traits<numext::int16_t, double> {
1332
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
1333
- };
1334
- template <>
1335
- EIGEN_STRONG_INLINE Packet2d pcast<Packet8s, Packet2d>(const Packet8s& a) {
1336
- // Discard all but first two values.
1337
- return vcvt_f64_f32(pcast<Packet4s, Packet2f>(vget_low_s16(a)));
1338
- }
1339
-
1340
- template <>
1341
- struct type_casting_traits<numext::uint16_t, double> {
1342
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 4 };
1343
- };
1344
- template <>
1345
- EIGEN_STRONG_INLINE Packet2d pcast<Packet8us, Packet2d>(const Packet8us& a) {
1346
- // Discard all but first two values.
1347
- return vcvt_f64_f32(pcast<Packet4us, Packet2f>(vget_low_u16(a)));
1348
- }
1349
-
1350
- template <>
1351
- struct type_casting_traits<numext::int32_t, double> {
1352
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
1353
- };
1354
- template <>
1355
- EIGEN_STRONG_INLINE Packet2d pcast<Packet4i, Packet2d>(const Packet4i& a) {
1356
- // Discard second half of input.
1357
- return vcvtq_f64_s64(vmovl_s32(vget_low_s32(a)));
1358
- }
1359
-
1360
- template <>
1361
- struct type_casting_traits<numext::uint32_t, double> {
1362
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 2 };
1363
- };
1364
- template <>
1365
- EIGEN_STRONG_INLINE Packet2d pcast<Packet4ui, Packet2d>(const Packet4ui& a) {
1366
- // Discard second half of input.
1367
- return vcvtq_f64_u64(vmovl_u32(vget_low_u32(a)));
1368
- }
1369
-
1370
- template <>
1371
- struct type_casting_traits<numext::int64_t, double> {
1372
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
1373
- };
1374
- template <>
1375
- EIGEN_STRONG_INLINE Packet2d pcast<Packet2l, Packet2d>(const Packet2l& a) {
1376
- return vcvtq_f64_s64(a);
1377
- }
1378
-
1379
- template <>
1380
- struct type_casting_traits<numext::uint64_t, double> {
1381
- enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
1382
- };
1383
- template <>
1384
- EIGEN_STRONG_INLINE Packet2d pcast<Packet2ul, Packet2d>(const Packet2ul& a) {
1385
- return vcvtq_f64_u64(a);
1386
- }
1387
-
1388
- template <>
1389
- EIGEN_STRONG_INLINE Packet2d preinterpret<Packet2d, Packet2l>(const Packet2l& a) {
1390
- return vreinterpretq_f64_s64(a);
1391
- }
1392
- template <>
1393
- EIGEN_STRONG_INLINE Packet2d preinterpret<Packet2d, Packet2ul>(const Packet2ul& a) {
1394
- return vreinterpretq_f64_u64(a);
1395
- }
1396
- template <>
1397
- EIGEN_STRONG_INLINE Packet2l preinterpret<Packet2l, Packet2d>(const Packet2d& a) {
1398
- return vreinterpretq_s64_f64(a);
1399
- }
1400
- template <>
1401
- EIGEN_STRONG_INLINE Packet2ul preinterpret<Packet2ul, Packet2d>(const Packet2d& a) {
1402
- return vreinterpretq_u64_f64(a);
1403
- }
1404
- template <>
1405
- EIGEN_STRONG_INLINE Packet2d preinterpret<Packet2d, Packet4i>(const Packet4i& a) {
1406
- return vreinterpretq_f64_s32(a);
1407
- }
1408
- template <>
1409
- EIGEN_STRONG_INLINE Packet4i preinterpret<Packet4i, Packet2d>(const Packet2d& a) {
1410
- return vreinterpretq_s32_f64(a);
1411
- }
1412
-
1413
- #endif // EIGEN_ARCH_ARM64
1414
-
1415
- } // end namespace internal
1416
-
1417
- } // end namespace Eigen
1418
-
1419
- #endif // EIGEN_TYPE_CASTING_NEON_H