xtgeo 4.10.0__cp310-cp310-macosx_11_0_arm64.whl → 4.11.0__cp310-cp310-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-310-darwin.so +0 -0
  2. xtgeo/_internal.cpython-310-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,1176 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
5
- //
6
- // This Source Code Form is subject to the terms of the Mozilla
7
- // Public License v. 2.0. If a copy of the MPL was not distributed
8
- // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
-
10
- #ifndef EIGEN_CXX11_TENSOR_TENSOR_BASE_H
11
- #define EIGEN_CXX11_TENSOR_TENSOR_BASE_H
12
-
13
- // clang-format off
14
-
15
- namespace Eigen {
16
-
17
- /** \class TensorBase
18
- * \ingroup CXX11_Tensor_Module
19
- *
20
- * \brief The tensor base class.
21
- *
22
- * This class is the common parent of the Tensor and TensorMap class, thus
23
- * making it possible to use either class interchangeably in expressions.
24
- */
25
- #ifndef EIGEN_PARSED_BY_DOXYGEN
26
- // FIXME Doxygen does not like the inheritance with different template parameters
27
- // Since there is no doxygen documentation inside, we disable it for now
28
- template<typename Derived>
29
- class TensorBase<Derived, ReadOnlyAccessors>
30
- {
31
- public:
32
- typedef internal::traits<Derived> DerivedTraits;
33
- typedef typename DerivedTraits::Scalar Scalar;
34
- typedef typename DerivedTraits::Index Index;
35
- typedef typename internal::remove_const<Scalar>::type CoeffReturnType;
36
- static const int NumDimensions = DerivedTraits::NumDimensions;
37
-
38
- // Generic nullary operation support.
39
- template <typename CustomNullaryOp> EIGEN_DEVICE_FUNC
40
- EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<CustomNullaryOp, const Derived>
41
- nullaryExpr(const CustomNullaryOp& func) const {
42
- return TensorCwiseNullaryOp<CustomNullaryOp, const Derived>(derived(), func);
43
- }
44
-
45
- // Coefficient-wise nullary operators
46
- EIGEN_DEVICE_FUNC
47
- EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived>
48
- constant(const Scalar& value) const {
49
- return nullaryExpr(internal::scalar_constant_op<Scalar>(value));
50
- }
51
-
52
- EIGEN_DEVICE_FUNC
53
- EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<internal::UniformRandomGenerator<Scalar>, const Derived>
54
- random() const {
55
- return nullaryExpr(internal::UniformRandomGenerator<Scalar>());
56
- }
57
- template <typename RandomGenerator> EIGEN_DEVICE_FUNC
58
- EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<RandomGenerator, const Derived>
59
- random(const RandomGenerator& gen = RandomGenerator()) const {
60
- return nullaryExpr(gen);
61
- }
62
-
63
- // Tensor generation
64
- template <typename Generator> EIGEN_DEVICE_FUNC
65
- EIGEN_STRONG_INLINE const TensorGeneratorOp<Generator, const Derived>
66
- generate(const Generator& generator) const {
67
- return TensorGeneratorOp<Generator, const Derived>(derived(), generator);
68
- }
69
-
70
- // Generic unary operation support.
71
- template <typename CustomUnaryOp> EIGEN_DEVICE_FUNC
72
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<CustomUnaryOp, const Derived>
73
- unaryExpr(const CustomUnaryOp& func) const {
74
- return TensorCwiseUnaryOp<CustomUnaryOp, const Derived>(derived(), func);
75
- }
76
-
77
- // Coefficient-wise unary operators
78
- EIGEN_DEVICE_FUNC
79
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_opposite_op<Scalar>, const Derived>
80
- operator-() const {
81
- return unaryExpr(internal::scalar_opposite_op<Scalar>());
82
- }
83
-
84
- EIGEN_DEVICE_FUNC
85
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived>
86
- sqrt() const {
87
- return unaryExpr(internal::scalar_sqrt_op<Scalar>());
88
- }
89
-
90
- EIGEN_DEVICE_FUNC
91
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived>
92
- sign() const {
93
- return unaryExpr(internal::scalar_sign_op<Scalar>());
94
- }
95
-
96
- EIGEN_DEVICE_FUNC
97
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_rsqrt_op<Scalar>, const Derived>
98
- rsqrt() const {
99
- return unaryExpr(internal::scalar_rsqrt_op<Scalar>());
100
- }
101
-
102
- EIGEN_DEVICE_FUNC
103
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_square_op<Scalar>, const Derived>
104
- square() const {
105
- return unaryExpr(internal::scalar_square_op<Scalar>());
106
- }
107
-
108
- EIGEN_DEVICE_FUNC
109
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_cube_op<Scalar>, const Derived>
110
- cube() const {
111
- return unaryExpr(internal::scalar_cube_op<Scalar>());
112
- }
113
-
114
- EIGEN_DEVICE_FUNC
115
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived>
116
- inverse() const {
117
- return unaryExpr(internal::scalar_inverse_op<Scalar>());
118
- }
119
-
120
- EIGEN_DEVICE_FUNC
121
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_tanh_op<Scalar>, const Derived>
122
- tanh() const {
123
- return unaryExpr(internal::scalar_tanh_op<Scalar>());
124
- }
125
-
126
- EIGEN_DEVICE_FUNC
127
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_lgamma_op<Scalar>, const Derived>
128
- lgamma() const {
129
- return unaryExpr(internal::scalar_lgamma_op<Scalar>());
130
- }
131
-
132
- EIGEN_DEVICE_FUNC
133
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_digamma_op<Scalar>, const Derived>
134
- digamma() const {
135
- return unaryExpr(internal::scalar_digamma_op<Scalar>());
136
- }
137
-
138
- EIGEN_DEVICE_FUNC
139
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_i0_op<Scalar>, const Derived>
140
- bessel_i0() const {
141
- return unaryExpr(internal::scalar_bessel_i0_op<Scalar>());
142
- }
143
-
144
- EIGEN_DEVICE_FUNC
145
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_i0e_op<Scalar>, const Derived>
146
- bessel_i0e() const {
147
- return unaryExpr(internal::scalar_bessel_i0e_op<Scalar>());
148
- }
149
-
150
- EIGEN_DEVICE_FUNC
151
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_i1_op<Scalar>, const Derived>
152
- bessel_i1() const {
153
- return unaryExpr(internal::scalar_bessel_i1_op<Scalar>());
154
- }
155
-
156
- EIGEN_DEVICE_FUNC
157
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_i1e_op<Scalar>, const Derived>
158
- bessel_i1e() const {
159
- return unaryExpr(internal::scalar_bessel_i1e_op<Scalar>());
160
- }
161
-
162
- EIGEN_DEVICE_FUNC
163
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_j0_op<Scalar>, const Derived>
164
- bessel_j0() const {
165
- return unaryExpr(internal::scalar_bessel_j0_op<Scalar>());
166
- }
167
-
168
- EIGEN_DEVICE_FUNC
169
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_y0_op<Scalar>, const Derived>
170
- bessel_y0() const {
171
- return unaryExpr(internal::scalar_bessel_y0_op<Scalar>());
172
- }
173
-
174
- EIGEN_DEVICE_FUNC
175
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_j1_op<Scalar>, const Derived>
176
- bessel_j1() const {
177
- return unaryExpr(internal::scalar_bessel_j1_op<Scalar>());
178
- }
179
-
180
- EIGEN_DEVICE_FUNC
181
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_y1_op<Scalar>, const Derived>
182
- bessel_y1() const {
183
- return unaryExpr(internal::scalar_bessel_y1_op<Scalar>());
184
- }
185
-
186
- EIGEN_DEVICE_FUNC
187
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_k0_op<Scalar>, const Derived>
188
- bessel_k0() const {
189
- return unaryExpr(internal::scalar_bessel_k0_op<Scalar>());
190
- }
191
-
192
- EIGEN_DEVICE_FUNC
193
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_k0e_op<Scalar>, const Derived>
194
- bessel_k0e() const {
195
- return unaryExpr(internal::scalar_bessel_k0e_op<Scalar>());
196
- }
197
-
198
- EIGEN_DEVICE_FUNC
199
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_k1_op<Scalar>, const Derived>
200
- bessel_k1() const {
201
- return unaryExpr(internal::scalar_bessel_k1_op<Scalar>());
202
- }
203
-
204
- EIGEN_DEVICE_FUNC
205
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_bessel_k1e_op<Scalar>, const Derived>
206
- bessel_k1e() const {
207
- return unaryExpr(internal::scalar_bessel_k1e_op<Scalar>());
208
- }
209
-
210
- // igamma(a = this, x = other)
211
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
212
- const TensorCwiseBinaryOp<internal::scalar_igamma_op<Scalar>, const Derived, const OtherDerived>
213
- igamma(const OtherDerived& other) const {
214
- return binaryExpr(other.derived(), internal::scalar_igamma_op<Scalar>());
215
- }
216
-
217
- // igamma_der_a(a = this, x = other)
218
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
219
- const TensorCwiseBinaryOp<internal::scalar_igamma_der_a_op<Scalar>, const Derived, const OtherDerived>
220
- igamma_der_a(const OtherDerived& other) const {
221
- return binaryExpr(other.derived(), internal::scalar_igamma_der_a_op<Scalar>());
222
- }
223
-
224
- // gamma_sample_der_alpha(alpha = this, sample = other)
225
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
226
- const TensorCwiseBinaryOp<internal::scalar_gamma_sample_der_alpha_op<Scalar>, const Derived, const OtherDerived>
227
- gamma_sample_der_alpha(const OtherDerived& other) const {
228
- return binaryExpr(other.derived(), internal::scalar_gamma_sample_der_alpha_op<Scalar>());
229
- }
230
-
231
- // igammac(a = this, x = other)
232
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
233
- const TensorCwiseBinaryOp<internal::scalar_igammac_op<Scalar>, const Derived, const OtherDerived>
234
- igammac(const OtherDerived& other) const {
235
- return binaryExpr(other.derived(), internal::scalar_igammac_op<Scalar>());
236
- }
237
-
238
- // zeta(x = this, q = other)
239
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
240
- const TensorCwiseBinaryOp<internal::scalar_zeta_op<Scalar>, const Derived, const OtherDerived>
241
- zeta(const OtherDerived& other) const {
242
- return binaryExpr(other.derived(), internal::scalar_zeta_op<Scalar>());
243
- }
244
-
245
- // polygamma(n = this, x = other)
246
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
247
- const TensorCwiseBinaryOp<internal::scalar_polygamma_op<Scalar>, const Derived, const OtherDerived>
248
- polygamma(const OtherDerived& other) const {
249
- return binaryExpr(other.derived(), internal::scalar_polygamma_op<Scalar>());
250
- }
251
-
252
- EIGEN_DEVICE_FUNC
253
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_erf_op<Scalar>, const Derived>
254
- erf() const {
255
- return unaryExpr(internal::scalar_erf_op<Scalar>());
256
- }
257
-
258
- EIGEN_DEVICE_FUNC
259
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_erfc_op<Scalar>, const Derived>
260
- erfc() const {
261
- return unaryExpr(internal::scalar_erfc_op<Scalar>());
262
- }
263
-
264
- EIGEN_DEVICE_FUNC
265
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_ndtri_op<Scalar>, const Derived>
266
- ndtri() const {
267
- return unaryExpr(internal::scalar_ndtri_op<Scalar>());
268
- }
269
-
270
- EIGEN_DEVICE_FUNC
271
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_logistic_op<Scalar>, const Derived>
272
- sigmoid() const {
273
- return unaryExpr(internal::scalar_logistic_op<Scalar>());
274
- }
275
-
276
- EIGEN_DEVICE_FUNC
277
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived>
278
- exp() const {
279
- return unaryExpr(internal::scalar_exp_op<Scalar>());
280
- }
281
-
282
- EIGEN_DEVICE_FUNC
283
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_expm1_op<Scalar>, const Derived>
284
- expm1() const {
285
- return unaryExpr(internal::scalar_expm1_op<Scalar>());
286
- }
287
-
288
- EIGEN_DEVICE_FUNC
289
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived>
290
- log() const {
291
- return unaryExpr(internal::scalar_log_op<Scalar>());
292
- }
293
-
294
- EIGEN_DEVICE_FUNC
295
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_log1p_op<Scalar>, const Derived>
296
- log1p() const {
297
- return unaryExpr(internal::scalar_log1p_op<Scalar>());
298
- }
299
-
300
- EIGEN_DEVICE_FUNC
301
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_log2_op<Scalar>, const Derived>
302
- log2() const {
303
- return unaryExpr(internal::scalar_log2_op<Scalar>());
304
- }
305
-
306
- EIGEN_DEVICE_FUNC
307
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived>
308
- abs() const {
309
- return unaryExpr(internal::scalar_abs_op<Scalar>());
310
- }
311
-
312
- EIGEN_DEVICE_FUNC
313
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_clamp_op<Scalar>, const Derived>
314
- clip(Scalar min, Scalar max) const {
315
- return unaryExpr(internal::scalar_clamp_op<Scalar>(min, max));
316
- }
317
-
318
- EIGEN_DEVICE_FUNC
319
- EIGEN_STRONG_INLINE const typename internal::conditional<NumTraits<CoeffReturnType>::IsComplex,
320
- TensorCwiseUnaryOp<internal::scalar_conjugate_op<Scalar>, const Derived>,
321
- Derived>::type
322
- conjugate() const {
323
- return choose(Cond<NumTraits<CoeffReturnType>::IsComplex>(), unaryExpr(internal::scalar_conjugate_op<Scalar>()), derived());
324
- }
325
-
326
- EIGEN_DEVICE_FUNC
327
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::bind2nd_op<internal::scalar_pow_op<Scalar,Scalar> >, const Derived>
328
- pow(Scalar exponent) const {
329
- return unaryExpr(internal::bind2nd_op<internal::scalar_pow_op<Scalar,Scalar> >(exponent));
330
- }
331
-
332
- EIGEN_DEVICE_FUNC
333
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_real_op<Scalar>, const Derived>
334
- real() const {
335
- return unaryExpr(internal::scalar_real_op<Scalar>());
336
- }
337
-
338
- EIGEN_DEVICE_FUNC
339
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_imag_op<Scalar>, const Derived>
340
- imag() const {
341
- return unaryExpr(internal::scalar_imag_op<Scalar>());
342
- }
343
-
344
- EIGEN_DEVICE_FUNC
345
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::bind2nd_op<internal::scalar_sum_op<Scalar,Scalar> >, const Derived>
346
- operator+ (Scalar rhs) const {
347
- return unaryExpr(internal::bind2nd_op<internal::scalar_sum_op<Scalar,Scalar> >(rhs));
348
- }
349
-
350
- EIGEN_DEVICE_FUNC
351
- EIGEN_STRONG_INLINE friend
352
- const TensorCwiseUnaryOp<internal::bind1st_op<internal::scalar_sum_op<Scalar> >, const Derived>
353
- operator+ (Scalar lhs, const Derived& rhs) {
354
- return rhs.unaryExpr(internal::bind1st_op<internal::scalar_sum_op<Scalar> >(lhs));
355
- }
356
-
357
- EIGEN_DEVICE_FUNC
358
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::bind2nd_op<internal::scalar_difference_op<Scalar,Scalar> >, const Derived>
359
- operator- (Scalar rhs) const {
360
- EIGEN_STATIC_ASSERT((NumTraits<Scalar>::IsSigned || internal::is_same<Scalar, const std::complex<float> >::value), YOU_MADE_A_PROGRAMMING_MISTAKE);
361
- return unaryExpr(internal::bind2nd_op<internal::scalar_difference_op<Scalar,Scalar> >(rhs));
362
- }
363
-
364
- EIGEN_DEVICE_FUNC
365
- EIGEN_STRONG_INLINE friend
366
- const TensorCwiseUnaryOp<internal::bind1st_op<internal::scalar_difference_op<Scalar> >, const Derived>
367
- operator- (Scalar lhs, const Derived& rhs) {
368
- return rhs.unaryExpr(internal::bind1st_op<internal::scalar_difference_op<Scalar> >(lhs));
369
- }
370
-
371
- EIGEN_DEVICE_FUNC
372
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::bind2nd_op<internal::scalar_product_op<Scalar,Scalar> >, const Derived>
373
- operator* (Scalar rhs) const {
374
- return unaryExpr(internal::bind2nd_op<internal::scalar_product_op<Scalar,Scalar> >(rhs));
375
- }
376
-
377
- EIGEN_DEVICE_FUNC
378
- EIGEN_STRONG_INLINE friend
379
- const TensorCwiseUnaryOp<internal::bind1st_op<internal::scalar_product_op<Scalar> >, const Derived>
380
- operator* (Scalar lhs, const Derived& rhs) {
381
- return rhs.unaryExpr(internal::bind1st_op<internal::scalar_product_op<Scalar> >(lhs));
382
- }
383
-
384
- EIGEN_DEVICE_FUNC
385
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::bind2nd_op<internal::scalar_quotient_op<Scalar,Scalar> >, const Derived>
386
- operator/ (Scalar rhs) const {
387
- return unaryExpr(internal::bind2nd_op<internal::scalar_quotient_op<Scalar,Scalar> >(rhs));
388
- }
389
-
390
- EIGEN_DEVICE_FUNC
391
- EIGEN_STRONG_INLINE friend
392
- const TensorCwiseUnaryOp<internal::bind1st_op<internal::scalar_quotient_op<Scalar> >, const Derived>
393
- operator/ (Scalar lhs, const Derived& rhs) {
394
- return rhs.unaryExpr(internal::bind1st_op<internal::scalar_quotient_op<Scalar> >(lhs));
395
- }
396
-
397
- EIGEN_DEVICE_FUNC
398
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_mod_op<Scalar>, const Derived>
399
- operator% (Scalar rhs) const {
400
- EIGEN_STATIC_ASSERT(NumTraits<Scalar>::IsInteger, YOU_MADE_A_PROGRAMMING_MISTAKE_TRY_MOD);
401
- return unaryExpr(internal::scalar_mod_op<Scalar>(rhs));
402
- }
403
-
404
- template <int NanPropagation=PropagateFast>
405
- EIGEN_DEVICE_FUNC
406
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar,NanPropagation>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> >
407
- cwiseMax(Scalar threshold) const {
408
- return cwiseMax<NanPropagation>(constant(threshold));
409
- }
410
-
411
- template <int NanPropagation=PropagateFast>
412
- EIGEN_DEVICE_FUNC
413
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar,NanPropagation>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> >
414
- cwiseMin(Scalar threshold) const {
415
- return cwiseMin<NanPropagation>(constant(threshold));
416
- }
417
-
418
- template<typename NewType>
419
- EIGEN_DEVICE_FUNC
420
- EIGEN_STRONG_INLINE const typename internal::conditional<internal::is_same<NewType, CoeffReturnType>::value,
421
- Derived,
422
- TensorConversionOp<NewType, const Derived> >::type
423
- cast() const {
424
- return choose(Cond<internal::is_same<NewType, CoeffReturnType>::value>(), derived(), TensorConversionOp<NewType, const Derived>(derived()));
425
- }
426
-
427
- EIGEN_DEVICE_FUNC
428
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_round_op<Scalar>, const Derived>
429
- round() const {
430
- return unaryExpr(internal::scalar_round_op<Scalar>());
431
- }
432
-
433
- EIGEN_DEVICE_FUNC
434
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_rint_op<Scalar>, const Derived>
435
- rint() const {
436
- return unaryExpr(internal::scalar_rint_op<Scalar>());
437
- }
438
-
439
- EIGEN_DEVICE_FUNC
440
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_ceil_op<Scalar>, const Derived>
441
- ceil() const {
442
- return unaryExpr(internal::scalar_ceil_op<Scalar>());
443
- }
444
-
445
- EIGEN_DEVICE_FUNC
446
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_floor_op<Scalar>, const Derived>
447
- floor() const {
448
- return unaryExpr(internal::scalar_floor_op<Scalar>());
449
- }
450
-
451
- // Generic binary operation support.
452
- template <typename CustomBinaryOp, typename OtherDerived> EIGEN_DEVICE_FUNC
453
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>
454
- binaryExpr(const OtherDerived& other, const CustomBinaryOp& func) const {
455
- return TensorCwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>(derived(), other, func);
456
- }
457
-
458
- // Coefficient-wise binary operators.
459
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
460
- const TensorCwiseBinaryOp<internal::scalar_sum_op<Scalar>, const Derived, const OtherDerived>
461
- operator+(const OtherDerived& other) const {
462
- return binaryExpr(other.derived(), internal::scalar_sum_op<Scalar>());
463
- }
464
-
465
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
466
- const TensorCwiseBinaryOp<internal::scalar_difference_op<Scalar>, const Derived, const OtherDerived>
467
- operator-(const OtherDerived& other) const {
468
- return binaryExpr(other.derived(), internal::scalar_difference_op<Scalar>());
469
- }
470
-
471
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
472
- const TensorCwiseBinaryOp<internal::scalar_product_op<Scalar>, const Derived, const OtherDerived>
473
- operator*(const OtherDerived& other) const {
474
- return binaryExpr(other.derived(), internal::scalar_product_op<Scalar>());
475
- }
476
-
477
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
478
- const TensorCwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>
479
- operator/(const OtherDerived& other) const {
480
- return binaryExpr(other.derived(), internal::scalar_quotient_op<Scalar>());
481
- }
482
-
483
- template<int NaNPropagation=PropagateFast, typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
484
- const TensorCwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar, NaNPropagation>, const Derived, const OtherDerived>
485
- cwiseMax(const OtherDerived& other) const {
486
- return binaryExpr(other.derived(), internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
487
- }
488
-
489
- template<int NaNPropagation=PropagateFast, typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
490
- const TensorCwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar, NaNPropagation>, const Derived, const OtherDerived>
491
- cwiseMin(const OtherDerived& other) const {
492
- return binaryExpr(other.derived(), internal::scalar_min_op<Scalar,Scalar, NaNPropagation>());
493
- }
494
-
495
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
496
- const TensorCwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>
497
- operator&&(const OtherDerived& other) const {
498
- return binaryExpr(other.derived(), internal::scalar_boolean_and_op());
499
- }
500
-
501
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
502
- const TensorCwiseBinaryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>
503
- operator||(const OtherDerived& other) const {
504
- return binaryExpr(other.derived(), internal::scalar_boolean_or_op());
505
- }
506
-
507
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
508
- const TensorCwiseBinaryOp<internal::scalar_boolean_xor_op, const Derived, const OtherDerived>
509
- operator^(const OtherDerived& other) const {
510
- return binaryExpr(other.derived(), internal::scalar_boolean_xor_op());
511
- }
512
-
513
- // Comparisons and tests.
514
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
515
- const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_LT>, const Derived, const OtherDerived>
516
- operator<(const OtherDerived& other) const {
517
- return binaryExpr(other.derived(), internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_LT>());
518
- }
519
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
520
- const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_LE>, const Derived, const OtherDerived>
521
- operator<=(const OtherDerived& other) const {
522
- return binaryExpr(other.derived(), internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_LE>());
523
- }
524
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
525
- const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_GT>, const Derived, const OtherDerived>
526
- operator>(const OtherDerived& other) const {
527
- return binaryExpr(other.derived(), internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_GT>());
528
- }
529
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
530
- const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_GE>, const Derived, const OtherDerived>
531
- operator>=(const OtherDerived& other) const {
532
- return binaryExpr(other.derived(), internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_GE>());
533
- }
534
-
535
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
536
- const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_EQ>, const Derived, const OtherDerived>
537
- operator==(const OtherDerived& other) const {
538
- return binaryExpr(other.derived(), internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_EQ>());
539
- }
540
-
541
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
542
- const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_NEQ>, const Derived, const OtherDerived>
543
- operator!=(const OtherDerived& other) const {
544
- return binaryExpr(other.derived(), internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_NEQ>());
545
- }
546
-
547
- // comparisons and tests for Scalars
548
- EIGEN_DEVICE_FUNC
549
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_LT>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> >
550
- operator<(Scalar threshold) const {
551
- return operator<(constant(threshold));
552
- }
553
- EIGEN_DEVICE_FUNC
554
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_LE>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> >
555
- operator<=(Scalar threshold) const {
556
- return operator<=(constant(threshold));
557
- }
558
- EIGEN_DEVICE_FUNC
559
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_GT>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> >
560
- operator>(Scalar threshold) const {
561
- return operator>(constant(threshold));
562
- }
563
- EIGEN_DEVICE_FUNC
564
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_GE>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> >
565
- operator>=(Scalar threshold) const {
566
- return operator>=(constant(threshold));
567
- }
568
- EIGEN_DEVICE_FUNC
569
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_EQ>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> >
570
- operator==(Scalar threshold) const {
571
- return operator==(constant(threshold));
572
- }
573
- EIGEN_DEVICE_FUNC
574
- EIGEN_STRONG_INLINE const TensorCwiseBinaryOp<internal::scalar_cmp_op<Scalar, Scalar, internal::cmp_NEQ>, const Derived, const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived> >
575
- operator!=(Scalar threshold) const {
576
- return operator!=(constant(threshold));
577
- }
578
-
579
- // Checks
580
- EIGEN_DEVICE_FUNC
581
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_isnan_op<Scalar>, const Derived>
582
- (isnan)() const {
583
- return unaryExpr(internal::scalar_isnan_op<Scalar>());
584
- }
585
- EIGEN_DEVICE_FUNC
586
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_isinf_op<Scalar>, const Derived>
587
- (isinf)() const {
588
- return unaryExpr(internal::scalar_isinf_op<Scalar>());
589
- }
590
- EIGEN_DEVICE_FUNC
591
- EIGEN_STRONG_INLINE const TensorCwiseUnaryOp<internal::scalar_isfinite_op<Scalar>, const Derived>
592
- (isfinite)() const {
593
- return unaryExpr(internal::scalar_isfinite_op<Scalar>());
594
- }
595
-
596
- // Coefficient-wise ternary operators.
597
- template<typename ThenDerived, typename ElseDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
598
- const TensorSelectOp<const Derived, const ThenDerived, const ElseDerived>
599
- select(const ThenDerived& thenTensor, const ElseDerived& elseTensor) const {
600
- return TensorSelectOp<const Derived, const ThenDerived, const ElseDerived>(derived(), thenTensor.derived(), elseTensor.derived());
601
- }
602
-
603
- // Contractions.
604
- typedef Eigen::IndexPair<Index> DimensionPair;
605
-
606
- template<typename OtherDerived, typename Dimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
607
- const TensorContractionOp<const Dimensions, const Derived, const OtherDerived, const NoOpOutputKernel>
608
- contract(const OtherDerived& other, const Dimensions& dims) const {
609
- return TensorContractionOp<const Dimensions, const Derived, const OtherDerived, const NoOpOutputKernel>(derived(), other.derived(), dims);
610
- }
611
-
612
- template<typename OtherDerived, typename Dimensions, typename OutputKernel> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
613
- const TensorContractionOp<const Dimensions, const Derived, const OtherDerived, const OutputKernel>
614
- contract(const OtherDerived& other, const Dimensions& dims, const OutputKernel& output_kernel) const {
615
- return TensorContractionOp<const Dimensions, const Derived, const OtherDerived, const OutputKernel>(derived(), other.derived(), dims, output_kernel);
616
- }
617
-
618
- // Convolutions.
619
- template<typename KernelDerived, typename Dimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
620
- const TensorConvolutionOp<const Dimensions, const Derived, const KernelDerived>
621
- convolve(const KernelDerived& kernel, const Dimensions& dims) const {
622
- return TensorConvolutionOp<const Dimensions, const Derived, const KernelDerived>(derived(), kernel.derived(), dims);
623
- }
624
-
625
- // Fourier transforms
626
- template <int FFTDataType, int FFTDirection, typename FFT> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
627
- const TensorFFTOp<const FFT, const Derived, FFTDataType, FFTDirection>
628
- fft(const FFT& dims) const {
629
- return TensorFFTOp<const FFT, const Derived, FFTDataType, FFTDirection>(derived(), dims);
630
- }
631
-
632
- // Scan.
633
- typedef TensorScanOp<internal::SumReducer<CoeffReturnType>, const Derived> TensorScanSumOp;
634
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
635
- const TensorScanSumOp
636
- cumsum(const Index& axis, bool exclusive = false) const {
637
- return TensorScanSumOp(derived(), axis, exclusive);
638
- }
639
-
640
- typedef TensorScanOp<internal::ProdReducer<CoeffReturnType>, const Derived> TensorScanProdOp;
641
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
642
- const TensorScanProdOp
643
- cumprod(const Index& axis, bool exclusive = false) const {
644
- return TensorScanProdOp(derived(), axis, exclusive);
645
- }
646
-
647
- template <typename Reducer>
648
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
649
- const TensorScanOp<Reducer, const Derived>
650
- scan(const Index& axis, const Reducer& reducer, bool exclusive = false) const {
651
- return TensorScanOp<Reducer, const Derived>(derived(), axis, exclusive, reducer);
652
- }
653
-
654
- // Reductions.
655
- template <typename Dims> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
656
- const TensorReductionOp<internal::SumReducer<CoeffReturnType>, const Dims, const Derived>
657
- sum(const Dims& dims) const {
658
- return TensorReductionOp<internal::SumReducer<CoeffReturnType>, const Dims, const Derived>(derived(), dims, internal::SumReducer<CoeffReturnType>());
659
- }
660
-
661
- const TensorReductionOp<internal::SumReducer<CoeffReturnType>, const DimensionList<Index, NumDimensions>, const Derived>
662
- sum() const {
663
- DimensionList<Index, NumDimensions> in_dims;
664
- return TensorReductionOp<internal::SumReducer<CoeffReturnType>, const DimensionList<Index, NumDimensions>, const Derived>(derived(), in_dims, internal::SumReducer<CoeffReturnType>());
665
- }
666
-
667
- template <typename Dims> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
668
- const TensorReductionOp<internal::MeanReducer<CoeffReturnType>, const Dims, const Derived>
669
- mean(const Dims& dims) const {
670
- return TensorReductionOp<internal::MeanReducer<CoeffReturnType>, const Dims, const Derived>(derived(), dims, internal::MeanReducer<CoeffReturnType>());
671
- }
672
-
673
- const TensorReductionOp<internal::MeanReducer<CoeffReturnType>, const DimensionList<Index, NumDimensions>, const Derived>
674
- mean() const {
675
- DimensionList<Index, NumDimensions> in_dims;
676
- return TensorReductionOp<internal::MeanReducer<CoeffReturnType>, const DimensionList<Index, NumDimensions>, const Derived>(derived(), in_dims, internal::MeanReducer<CoeffReturnType>());
677
- }
678
-
679
- template <typename Dims> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
680
- const TensorReductionOp<internal::ProdReducer<CoeffReturnType>, const Dims, const Derived>
681
- prod(const Dims& dims) const {
682
- return TensorReductionOp<internal::ProdReducer<CoeffReturnType>, const Dims, const Derived>(derived(), dims, internal::ProdReducer<CoeffReturnType>());
683
- }
684
-
685
- const TensorReductionOp<internal::ProdReducer<CoeffReturnType>, const DimensionList<Index, NumDimensions>, const Derived>
686
- prod() const {
687
- DimensionList<Index, NumDimensions> in_dims;
688
- return TensorReductionOp<internal::ProdReducer<CoeffReturnType>, const DimensionList<Index, NumDimensions>, const Derived>(derived(), in_dims, internal::ProdReducer<CoeffReturnType>());
689
- }
690
-
691
- template <typename Dims,int NanPropagation=PropagateFast> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
692
- const TensorReductionOp<internal::MaxReducer<CoeffReturnType,NanPropagation>, const Dims, const Derived>
693
- maximum(const Dims& dims) const {
694
- return TensorReductionOp<internal::MaxReducer<CoeffReturnType,NanPropagation>, const Dims, const Derived>(derived(), dims, internal::MaxReducer<CoeffReturnType,NanPropagation>());
695
- }
696
-
697
- template <int NanPropagation=PropagateFast>
698
- const TensorReductionOp<internal::MaxReducer<CoeffReturnType,NanPropagation>, const DimensionList<Index, NumDimensions>, const Derived>
699
- maximum() const {
700
- DimensionList<Index, NumDimensions> in_dims;
701
- return TensorReductionOp<internal::MaxReducer<CoeffReturnType,NanPropagation>, const DimensionList<Index, NumDimensions>, const Derived>(derived(), in_dims, internal::MaxReducer<CoeffReturnType,NanPropagation>());
702
- }
703
-
704
- template <typename Dims,int NanPropagation=PropagateFast> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
705
- const TensorReductionOp<internal::MinReducer<CoeffReturnType,NanPropagation>, const Dims, const Derived>
706
- minimum(const Dims& dims) const {
707
- return TensorReductionOp<internal::MinReducer<CoeffReturnType,NanPropagation>, const Dims, const Derived>(derived(), dims, internal::MinReducer<CoeffReturnType,NanPropagation>());
708
- }
709
-
710
- template <int NanPropagation=PropagateFast>
711
- const TensorReductionOp<internal::MinReducer<CoeffReturnType,NanPropagation>, const DimensionList<Index, NumDimensions>, const Derived>
712
- minimum() const {
713
- DimensionList<Index, NumDimensions> in_dims;
714
- return TensorReductionOp<internal::MinReducer<CoeffReturnType,NanPropagation>, const DimensionList<Index, NumDimensions>, const Derived>(derived(), in_dims, internal::MinReducer<CoeffReturnType,NanPropagation>());
715
- }
716
-
717
- template <typename Dims> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
718
- const TensorReductionOp<internal::AndReducer, const Dims, const typename internal::conditional<internal::is_same<bool, CoeffReturnType>::value, Derived, TensorConversionOp<bool, const Derived> >::type >
719
- all(const Dims& dims) const {
720
- return cast<bool>().reduce(dims, internal::AndReducer());
721
- }
722
-
723
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
724
- const TensorReductionOp<internal::AndReducer, const DimensionList<Index, NumDimensions>, const typename internal::conditional<internal::is_same<bool, CoeffReturnType>::value, Derived, TensorConversionOp<bool, const Derived> >::type >
725
- all() const {
726
- DimensionList<Index, NumDimensions> in_dims;
727
- return cast<bool>().reduce(in_dims, internal::AndReducer());
728
- }
729
-
730
- template <typename Dims> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
731
- const TensorReductionOp<internal::OrReducer, const Dims, const typename internal::conditional<internal::is_same<bool, CoeffReturnType>::value, Derived, TensorConversionOp<bool, const Derived> >::type >
732
- any(const Dims& dims) const {
733
- return cast<bool>().reduce(dims, internal::OrReducer());
734
- }
735
-
736
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
737
- const TensorReductionOp<internal::OrReducer, const DimensionList<Index, NumDimensions>, const typename internal::conditional<internal::is_same<bool, CoeffReturnType>::value, Derived, TensorConversionOp<bool, const Derived> >::type >
738
- any() const {
739
- DimensionList<Index, NumDimensions> in_dims;
740
- return cast<bool>().reduce(in_dims, internal::OrReducer());
741
- }
742
-
743
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
744
- const TensorTupleReducerOp<
745
- internal::ArgMaxTupleReducer<Tuple<Index, CoeffReturnType> >,
746
- const array<Index, NumDimensions>, const Derived>
747
- argmax() const {
748
- array<Index, NumDimensions> in_dims;
749
- for (Index d = 0; d < NumDimensions; ++d) in_dims[d] = d;
750
- return TensorTupleReducerOp<
751
- internal::ArgMaxTupleReducer<Tuple<Index, CoeffReturnType> >,
752
- const array<Index, NumDimensions>,
753
- const Derived>(derived(), internal::ArgMaxTupleReducer<Tuple<Index, CoeffReturnType> >(), -1, in_dims);
754
- }
755
-
756
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
757
- const TensorTupleReducerOp<
758
- internal::ArgMinTupleReducer<Tuple<Index, CoeffReturnType> >,
759
- const array<Index, NumDimensions>, const Derived>
760
- argmin() const {
761
- array<Index, NumDimensions> in_dims;
762
- for (Index d = 0; d < NumDimensions; ++d) in_dims[d] = d;
763
- return TensorTupleReducerOp<
764
- internal::ArgMinTupleReducer<Tuple<Index, CoeffReturnType> >,
765
- const array<Index, NumDimensions>,
766
- const Derived>(derived(), internal::ArgMinTupleReducer<Tuple<Index, CoeffReturnType> >(), -1, in_dims);
767
- }
768
-
769
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
770
- const TensorTupleReducerOp<
771
- internal::ArgMaxTupleReducer<Tuple<Index, CoeffReturnType> >,
772
- const array<Index, 1>, const Derived>
773
- argmax(const Index return_dim) const {
774
- array<Index, 1> in_dims;
775
- in_dims[0] = return_dim;
776
- return TensorTupleReducerOp<
777
- internal::ArgMaxTupleReducer<Tuple<Index, CoeffReturnType> >,
778
- const array<Index, 1>,
779
- const Derived>(derived(), internal::ArgMaxTupleReducer<Tuple<Index, CoeffReturnType> >(), return_dim, in_dims);
780
- }
781
-
782
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
783
- const TensorTupleReducerOp<
784
- internal::ArgMinTupleReducer<Tuple<Index, CoeffReturnType> >,
785
- const array<Index, 1>, const Derived>
786
- argmin(const Index return_dim) const {
787
- array<Index, 1> in_dims;
788
- in_dims[0] = return_dim;
789
- return TensorTupleReducerOp<
790
- internal::ArgMinTupleReducer<Tuple<Index, CoeffReturnType> >,
791
- const array<Index, 1>,
792
- const Derived>(derived(), internal::ArgMinTupleReducer<Tuple<Index, CoeffReturnType> >(), return_dim, in_dims);
793
- }
794
-
795
- template <typename Reducer, typename Dims> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
796
- const TensorReductionOp<Reducer, const Dims, const Derived>
797
- reduce(const Dims& dims, const Reducer& reducer) const {
798
- return TensorReductionOp<Reducer, const Dims, const Derived>(derived(), dims, reducer);
799
- }
800
-
801
- template <typename Dims> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
802
- const TensorTraceOp<const Dims, const Derived>
803
- trace(const Dims& dims) const {
804
- return TensorTraceOp<const Dims, const Derived>(derived(), dims);
805
- }
806
-
807
- const TensorTraceOp<const DimensionList<Index, NumDimensions>, const Derived>
808
- trace() const {
809
- DimensionList<Index, NumDimensions> in_dims;
810
- return TensorTraceOp<const DimensionList<Index, NumDimensions>, const Derived>(derived(), in_dims);
811
- }
812
-
813
- template <typename Broadcast> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
814
- const TensorBroadcastingOp<const Broadcast, const Derived>
815
- broadcast(const Broadcast& bcast) const {
816
- return TensorBroadcastingOp<const Broadcast, const Derived>(derived(), bcast);
817
- }
818
-
819
- template <typename Axis, typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
820
- const TensorConcatenationOp<Axis, const Derived, const OtherDerived>
821
- concatenate(const OtherDerived& other, Axis axis) const {
822
- return TensorConcatenationOp<Axis, const Derived, const OtherDerived>(derived(), other.derived(), axis);
823
- }
824
-
825
- template <typename PatchDims> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
826
- const TensorPatchOp<const PatchDims, const Derived>
827
- extract_patches(const PatchDims& patch_dims) const {
828
- return TensorPatchOp<const PatchDims, const Derived>(derived(), patch_dims);
829
- }
830
-
831
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
832
- const TensorImagePatchOp<Dynamic, Dynamic, const Derived>
833
- extract_image_patches(const Index patch_rows = 1, const Index patch_cols = 1,
834
- const Index row_stride = 1, const Index col_stride = 1,
835
- const Index in_row_stride = 1, const Index in_col_stride = 1,
836
- const PaddingType padding_type = PADDING_SAME, const Scalar padding_value = Scalar(0)) const {
837
- return TensorImagePatchOp<Dynamic, Dynamic, const Derived>(derived(), patch_rows, patch_cols, row_stride, col_stride,
838
- in_row_stride, in_col_stride, 1, 1, padding_type, padding_value);
839
- }
840
-
841
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
842
- const TensorImagePatchOp<Dynamic, Dynamic, const Derived>
843
- extract_image_patches(const Index patch_rows, const Index patch_cols,
844
- const Index row_stride, const Index col_stride,
845
- const Index in_row_stride, const Index in_col_stride,
846
- const Index row_inflate_stride, const Index col_inflate_stride,
847
- const Index padding_top, const Index padding_bottom,
848
- const Index padding_left,const Index padding_right,
849
- const Scalar padding_value) const {
850
- return TensorImagePatchOp<Dynamic, Dynamic, const Derived>(derived(), patch_rows, patch_cols, row_stride, col_stride,
851
- in_row_stride, in_col_stride, row_inflate_stride, col_inflate_stride,
852
- padding_top, padding_bottom, padding_left, padding_right, padding_value);
853
- }
854
-
855
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
856
- const TensorVolumePatchOp<Dynamic, Dynamic, Dynamic, const Derived>
857
- extract_volume_patches(const Index patch_planes, const Index patch_rows, const Index patch_cols,
858
- const Index plane_stride = 1, const Index row_stride = 1, const Index col_stride = 1,
859
- const PaddingType padding_type = PADDING_SAME, const Scalar padding_value = Scalar(0)) const {
860
- return TensorVolumePatchOp<Dynamic, Dynamic, Dynamic, const Derived>(derived(), patch_planes, patch_rows, patch_cols, plane_stride, row_stride, col_stride, 1, 1, 1, 1, 1, 1, padding_type, padding_value);
861
- }
862
-
863
-
864
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
865
- const TensorVolumePatchOp<Dynamic, Dynamic, Dynamic, const Derived>
866
- extract_volume_patches(const Index patch_planes, const Index patch_rows, const Index patch_cols,
867
- const Index plane_stride, const Index row_stride, const Index col_stride,
868
- const Index plane_inflate_stride, const Index row_inflate_stride, const Index col_inflate_stride,
869
- const Index padding_top_z, const Index padding_bottom_z,
870
- const Index padding_top, const Index padding_bottom,
871
- const Index padding_left, const Index padding_right, const Scalar padding_value = Scalar(0)) const {
872
- return TensorVolumePatchOp<Dynamic, Dynamic, Dynamic, const Derived>(derived(), patch_planes, patch_rows, patch_cols, plane_stride, row_stride, col_stride, 1, 1, 1, plane_inflate_stride, row_inflate_stride, col_inflate_stride, padding_top_z, padding_bottom_z, padding_top, padding_bottom, padding_left, padding_right, padding_value);
873
- }
874
-
875
- // Morphing operators.
876
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
877
- const TensorLayoutSwapOp<const Derived>
878
- swap_layout() const {
879
- return TensorLayoutSwapOp<const Derived>(derived());
880
- }
881
- template <typename NewDimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
882
- const TensorReshapingOp<const NewDimensions, const Derived>
883
- reshape(const NewDimensions& newDimensions) const {
884
- return TensorReshapingOp<const NewDimensions, const Derived>(derived(), newDimensions);
885
- }
886
- template <typename StartIndices, typename Sizes> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
887
- const TensorSlicingOp<const StartIndices, const Sizes, const Derived>
888
- slice(const StartIndices& startIndices, const Sizes& sizes) const {
889
- return TensorSlicingOp<const StartIndices, const Sizes, const Derived>(derived(), startIndices, sizes);
890
- }
891
- template <typename StartIndices, typename StopIndices, typename Strides> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
892
- const TensorStridingSlicingOp<const StartIndices, const StopIndices, const Strides, const Derived>
893
- stridedSlice(const StartIndices& startIndices, const StopIndices& stopIndices, const Strides& strides) const {
894
- return TensorStridingSlicingOp<const StartIndices, const StopIndices, const Strides,
895
- const Derived>(derived(), startIndices, stopIndices, strides);
896
- }
897
- template <Index DimId> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
898
- const TensorChippingOp<DimId, const Derived>
899
- chip(const Index offset) const {
900
- return TensorChippingOp<DimId, const Derived>(derived(), offset, DimId);
901
- }
902
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
903
- const TensorChippingOp<Dynamic, const Derived>
904
- chip(const Index offset, const Index dim) const {
905
- return TensorChippingOp<Dynamic, const Derived>(derived(), offset, dim);
906
- }
907
- template <typename ReverseDimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
908
- const TensorReverseOp<const ReverseDimensions, const Derived>
909
- reverse(const ReverseDimensions& rev) const {
910
- return TensorReverseOp<const ReverseDimensions, const Derived>(derived(), rev);
911
- }
912
- template <typename PaddingDimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
913
- const TensorPaddingOp<const PaddingDimensions, const Derived>
914
- pad(const PaddingDimensions& padding) const {
915
- return TensorPaddingOp<const PaddingDimensions, const Derived>(derived(), padding, internal::scalar_cast_op<int, Scalar>()(0));
916
- }
917
- template <typename PaddingDimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
918
- const TensorPaddingOp<const PaddingDimensions, const Derived>
919
- pad(const PaddingDimensions& padding, const Scalar padding_value) const {
920
- return TensorPaddingOp<const PaddingDimensions, const Derived>(derived(), padding, padding_value);
921
- }
922
- template <typename Shuffle> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
923
- const TensorShufflingOp<const Shuffle, const Derived>
924
- shuffle(const Shuffle& shfl) const {
925
- return TensorShufflingOp<const Shuffle, const Derived>(derived(), shfl);
926
- }
927
- template <typename Strides> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
928
- const TensorStridingOp<const Strides, const Derived>
929
- stride(const Strides& strides) const {
930
- return TensorStridingOp<const Strides, const Derived>(derived(), strides);
931
- }
932
- template <typename Strides> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
933
- const TensorInflationOp<const Strides, const Derived>
934
- inflate(const Strides& strides) const {
935
- return TensorInflationOp<const Strides, const Derived>(derived(), strides);
936
- }
937
-
938
- // Returns a tensor containing index/value tuples
939
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
940
- const TensorIndexTupleOp<const Derived>
941
- index_tuples() const {
942
- return TensorIndexTupleOp<const Derived>(derived());
943
- }
944
-
945
- // Support for custom unary and binary operations
946
- template <typename CustomUnaryFunc>
947
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
948
- const TensorCustomUnaryOp<const CustomUnaryFunc, const Derived> customOp(const CustomUnaryFunc& op) const {
949
- return TensorCustomUnaryOp<const CustomUnaryFunc, const Derived>(derived(), op);
950
- }
951
- template <typename OtherDerived, typename CustomBinaryFunc>
952
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
953
- const TensorCustomBinaryOp<const CustomBinaryFunc, const Derived, const OtherDerived> customOp(const OtherDerived& other, const CustomBinaryFunc& op) const {
954
- return TensorCustomBinaryOp<const CustomBinaryFunc, const Derived, const OtherDerived>(derived(), other, op);
955
- }
956
-
957
- // Force the evaluation of the expression.
958
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
959
- const TensorForcedEvalOp<const Derived> eval() const {
960
- return TensorForcedEvalOp<const Derived>(derived());
961
- }
962
-
963
- protected:
964
- template <typename Scalar, int NumIndices, int Options, typename IndexType> friend class Tensor;
965
- template <typename Scalar, typename Dimensions, int Option, typename IndexTypes> friend class TensorFixedSize;
966
- // the Eigen:: prefix is required to workaround a compilation issue with nvcc 9.0
967
- template <typename OtherDerived, int AccessLevel> friend class Eigen::TensorBase;
968
- EIGEN_DEVICE_FUNC
969
- EIGEN_STRONG_INLINE const Derived& derived() const { return *static_cast<const Derived*>(this); }
970
- };
971
-
972
- template<typename Derived, int AccessLevel = internal::accessors_level<Derived>::value>
973
- class TensorBase : public TensorBase<Derived, ReadOnlyAccessors> {
974
- public:
975
- typedef TensorBase<Derived, ReadOnlyAccessors> Base;
976
- typedef internal::traits<Derived> DerivedTraits;
977
- typedef typename DerivedTraits::Scalar Scalar;
978
- typedef typename DerivedTraits::Index Index;
979
- typedef Scalar CoeffReturnType;
980
- static const int NumDimensions = DerivedTraits::NumDimensions;
981
-
982
- template <typename Scalar, int NumIndices, int Options, typename IndexType> friend class Tensor;
983
- template <typename Scalar, typename Dimensions, int Option, typename IndexTypes> friend class TensorFixedSize;
984
- // the Eigen:: prefix is required to workaround a compilation issue with nvcc 9.0
985
- template <typename OtherDerived, int OtherAccessLevel> friend class Eigen::TensorBase;
986
-
987
- EIGEN_DEVICE_FUNC
988
- EIGEN_STRONG_INLINE Derived& setZero() {
989
- return setConstant(Scalar(0));
990
- }
991
- EIGEN_DEVICE_FUNC
992
- EIGEN_STRONG_INLINE Derived& setConstant(const Scalar& val) {
993
- return derived() = this->constant(val);
994
- }
995
- EIGEN_DEVICE_FUNC
996
- EIGEN_STRONG_INLINE Derived& setRandom() {
997
- return derived() = this->random();
998
- }
999
- template <typename RandomGenerator> EIGEN_DEVICE_FUNC
1000
- EIGEN_STRONG_INLINE Derived& setRandom() {
1001
- return derived() = this->template random<RandomGenerator>();
1002
- }
1003
-
1004
- #if EIGEN_HAS_VARIADIC_TEMPLATES
1005
- EIGEN_DEVICE_FUNC
1006
- EIGEN_STRONG_INLINE Derived& setValues(
1007
- const typename internal::Initializer<Derived, NumDimensions>::InitList& vals) {
1008
- TensorEvaluator<Derived, DefaultDevice> eval(derived(), DefaultDevice());
1009
- internal::initialize_tensor<Derived, NumDimensions>(eval, vals);
1010
- return derived();
1011
- }
1012
- #endif // EIGEN_HAS_VARIADIC_TEMPLATES
1013
-
1014
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1015
- Derived& operator+=(const OtherDerived& other) {
1016
- return derived() = derived() + other.derived();
1017
- }
1018
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1019
- Derived& operator-=(const OtherDerived& other) {
1020
- return derived() = derived() - other.derived();
1021
- }
1022
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1023
- Derived& operator*=(const OtherDerived& other) {
1024
- return derived() = derived() * other.derived();
1025
- }
1026
- template<typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1027
- Derived& operator/=(const OtherDerived& other) {
1028
- return derived() = derived() / other.derived();
1029
- }
1030
-
1031
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1032
- const TensorLayoutSwapOp<const Derived>
1033
- swap_layout() const {
1034
- return TensorLayoutSwapOp<const Derived>(derived());
1035
- }
1036
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1037
- TensorLayoutSwapOp<Derived>
1038
- swap_layout() {
1039
- return TensorLayoutSwapOp<Derived>(derived());
1040
- }
1041
-
1042
- template <typename Axis, typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1043
- const TensorConcatenationOp<const Axis, const Derived, const OtherDerived>
1044
- concatenate(const OtherDerived& other, const Axis& axis) const {
1045
- return TensorConcatenationOp<const Axis, const Derived, const OtherDerived>(derived(), other, axis);
1046
- }
1047
- template <typename Axis, typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1048
- TensorConcatenationOp<const Axis, Derived, OtherDerived>
1049
- concatenate(const OtherDerived& other, const Axis& axis) {
1050
- return TensorConcatenationOp<const Axis, Derived, OtherDerived>(derived(), other, axis);
1051
- }
1052
-
1053
- template <typename NewDimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1054
- const TensorReshapingOp<const NewDimensions, const Derived>
1055
- reshape(const NewDimensions& newDimensions) const {
1056
- return TensorReshapingOp<const NewDimensions, const Derived>(derived(), newDimensions);
1057
- }
1058
- template <typename NewDimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1059
- TensorReshapingOp<const NewDimensions, Derived>
1060
- reshape(const NewDimensions& newDimensions) {
1061
- return TensorReshapingOp<const NewDimensions, Derived>(derived(), newDimensions);
1062
- }
1063
-
1064
- template <typename StartIndices, typename Sizes> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1065
- const TensorSlicingOp<const StartIndices, const Sizes, const Derived>
1066
- slice(const StartIndices& startIndices, const Sizes& sizes) const {
1067
- return TensorSlicingOp<const StartIndices, const Sizes, const Derived>(derived(), startIndices, sizes);
1068
- }
1069
- template <typename StartIndices, typename Sizes> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1070
- TensorSlicingOp<const StartIndices, const Sizes, Derived>
1071
- slice(const StartIndices& startIndices, const Sizes& sizes) {
1072
- return TensorSlicingOp<const StartIndices, const Sizes, Derived>(derived(), startIndices, sizes);
1073
- }
1074
-
1075
- template <typename StartIndices, typename StopIndices, typename Strides> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1076
- const TensorStridingSlicingOp<const StartIndices, const StopIndices, const Strides, const Derived>
1077
- stridedSlice(const StartIndices& startIndices, const StopIndices& stopIndices, const Strides& strides) const {
1078
- return TensorStridingSlicingOp<const StartIndices, const StopIndices, const Strides,
1079
- const Derived>(derived(), startIndices, stopIndices, strides);
1080
- }
1081
- template <typename StartIndices, typename StopIndices, typename Strides> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1082
- TensorStridingSlicingOp<const StartIndices, const StopIndices, const Strides, Derived>
1083
- stridedSlice(const StartIndices& startIndices, const StopIndices& stopIndices, const Strides& strides) {
1084
- return TensorStridingSlicingOp<const StartIndices, const StopIndices, const Strides,
1085
- Derived>(derived(), startIndices, stopIndices, strides);
1086
- }
1087
-
1088
- template <DenseIndex DimId> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1089
- const TensorChippingOp<DimId, const Derived>
1090
- chip(const Index offset) const {
1091
- return TensorChippingOp<DimId, const Derived>(derived(), offset, DimId);
1092
- }
1093
- template <Index DimId> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1094
- TensorChippingOp<DimId, Derived>
1095
- chip(const Index offset) {
1096
- return TensorChippingOp<DimId, Derived>(derived(), offset, DimId);
1097
- }
1098
-
1099
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1100
- const TensorChippingOp<Dynamic, const Derived>
1101
- chip(const Index offset, const Index dim) const {
1102
- return TensorChippingOp<Dynamic, const Derived>(derived(), offset, dim);
1103
- }
1104
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1105
- TensorChippingOp<Dynamic, Derived>
1106
- chip(const Index offset, const Index dim) {
1107
- return TensorChippingOp<Dynamic, Derived>(derived(), offset, dim);
1108
- }
1109
-
1110
- template <typename ReverseDimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1111
- const TensorReverseOp<const ReverseDimensions, const Derived>
1112
- reverse(const ReverseDimensions& rev) const {
1113
- return TensorReverseOp<const ReverseDimensions, const Derived>(derived(), rev);
1114
- }
1115
- template <typename ReverseDimensions> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1116
- TensorReverseOp<const ReverseDimensions, Derived>
1117
- reverse(const ReverseDimensions& rev) {
1118
- return TensorReverseOp<const ReverseDimensions, Derived>(derived(), rev);
1119
- }
1120
-
1121
- template <typename Shuffle> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1122
- const TensorShufflingOp<const Shuffle, const Derived>
1123
- shuffle(const Shuffle& shfl) const {
1124
- return TensorShufflingOp<const Shuffle, const Derived>(derived(), shfl);
1125
- }
1126
- template <typename Shuffle> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1127
- TensorShufflingOp<const Shuffle, Derived>
1128
- shuffle(const Shuffle& shfl) {
1129
- return TensorShufflingOp<const Shuffle, Derived>(derived(), shfl);
1130
- }
1131
-
1132
- template <typename Strides> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1133
- const TensorStridingOp<const Strides, const Derived>
1134
- stride(const Strides& strides) const {
1135
- return TensorStridingOp<const Strides, const Derived>(derived(), strides);
1136
- }
1137
- template <typename Strides> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
1138
- TensorStridingOp<const Strides, Derived>
1139
- stride(const Strides& strides) {
1140
- return TensorStridingOp<const Strides, Derived>(derived(), strides);
1141
- }
1142
-
1143
- // Select the device on which to evaluate the expression.
1144
- template <typename DeviceType>
1145
- TensorDevice<Derived, DeviceType> device(const DeviceType& dev) {
1146
- return TensorDevice<Derived, DeviceType>(dev, derived());
1147
- }
1148
-
1149
- // Select the async device on which to evaluate the expression.
1150
- template <typename DeviceType, typename DoneCallback>
1151
- TensorAsyncDevice<Derived, DeviceType, DoneCallback> device(const DeviceType& dev, DoneCallback done) {
1152
- return TensorAsyncDevice<Derived, DeviceType, DoneCallback>(dev, derived(), std::move(done));
1153
- }
1154
-
1155
- protected:
1156
- EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(TensorBase)
1157
- EIGEN_DEFAULT_COPY_CONSTRUCTOR(TensorBase)
1158
-
1159
- template<typename OtherDerived> EIGEN_DEVICE_FUNC
1160
- EIGEN_STRONG_INLINE Derived& operator=(const OtherDerived& other)
1161
- {
1162
- typedef TensorAssignOp<Derived, const OtherDerived> Assign;
1163
- Assign assign(derived(), other.derived());
1164
- internal::TensorExecutor<const Assign, DefaultDevice>::run(assign, DefaultDevice());
1165
- return derived();
1166
- }
1167
-
1168
- EIGEN_DEVICE_FUNC
1169
- EIGEN_STRONG_INLINE Derived& derived() { return *static_cast<Derived*>(this); }
1170
- EIGEN_DEVICE_FUNC
1171
- EIGEN_STRONG_INLINE const Derived& derived() const { return *static_cast<const Derived*>(this); }
1172
- };
1173
- #endif // EIGEN_PARSED_BY_DOXYGEN
1174
- } // end namespace Eigen
1175
-
1176
- #endif // EIGEN_CXX11_TENSOR_TENSOR_BASE_H