xtgeo 4.10.0__cp312-cp312-macosx_11_0_arm64.whl → 4.10.1__cp312-cp312-macosx_11_0_arm64.whl

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

Potentially problematic release.


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

Files changed (561) hide show
  1. xtgeo/_internal.cpython-312-darwin.so +0 -0
  2. xtgeo/common/version.py +2 -2
  3. xtgeo/include/fmt/args.h +220 -0
  4. xtgeo/include/fmt/base.h +2989 -0
  5. xtgeo/include/fmt/chrono.h +2330 -0
  6. xtgeo/include/fmt/color.h +637 -0
  7. xtgeo/include/fmt/compile.h +539 -0
  8. xtgeo/include/fmt/core.h +5 -0
  9. xtgeo/include/fmt/format-inl.h +1948 -0
  10. xtgeo/include/fmt/format.h +4244 -0
  11. xtgeo/include/fmt/os.h +427 -0
  12. xtgeo/include/fmt/ostream.h +167 -0
  13. xtgeo/include/fmt/printf.h +633 -0
  14. xtgeo/include/fmt/ranges.h +850 -0
  15. xtgeo/include/fmt/std.h +728 -0
  16. xtgeo/include/fmt/xchar.h +369 -0
  17. xtgeo/lib/cmake/fmt/fmt-config-version.cmake +43 -0
  18. xtgeo/lib/cmake/fmt/fmt-config.cmake +31 -0
  19. xtgeo/lib/cmake/fmt/fmt-targets-release.cmake +19 -0
  20. xtgeo/{share/eigen3/cmake/Eigen3Targets.cmake → lib/cmake/fmt/fmt-targets.cmake} +16 -6
  21. xtgeo/lib/libfmt.a +0 -0
  22. xtgeo/lib/pkgconfig/fmt.pc +11 -0
  23. {xtgeo-4.10.0.dist-info → xtgeo-4.10.1.dist-info}/METADATA +1 -1
  24. xtgeo-4.10.1.dist-info/RECORD +137 -0
  25. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  26. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  27. xtgeo/include/eigen3/Eigen/Core +0 -384
  28. xtgeo/include/eigen3/Eigen/Dense +0 -7
  29. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  30. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  31. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  32. xtgeo/include/eigen3/Eigen/Householder +0 -29
  33. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  34. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  35. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  36. xtgeo/include/eigen3/Eigen/LU +0 -47
  37. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  38. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  39. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  40. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  41. xtgeo/include/eigen3/Eigen/QR +0 -50
  42. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  43. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  44. xtgeo/include/eigen3/Eigen/SVD +0 -50
  45. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  46. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  47. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  48. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  49. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  50. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  51. xtgeo/include/eigen3/Eigen/StdList +0 -26
  52. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  53. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  54. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  55. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  56. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  57. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  58. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  59. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  60. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  61. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  62. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  63. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  64. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  65. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  66. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  67. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  68. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  69. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  70. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  71. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  72. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  73. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  74. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  75. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  76. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  77. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  78. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  79. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  80. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  81. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  82. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  83. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  84. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  85. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  86. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  87. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  88. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  89. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  90. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  91. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  92. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  93. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  94. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  95. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  96. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  97. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  98. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  99. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  100. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  101. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  102. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  103. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  104. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  105. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  106. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  107. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  108. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  109. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  110. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  111. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  112. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  113. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  114. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  115. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  116. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  117. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  118. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  119. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  120. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  121. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  122. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  123. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  124. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  125. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  126. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  127. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  128. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  129. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  130. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  131. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  132. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  133. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  134. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  135. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  136. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  166. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  167. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  168. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  169. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  170. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  171. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  172. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  173. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  174. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  175. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  176. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  177. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  178. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  179. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  180. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  181. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  182. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  183. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  184. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  185. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  186. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  187. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  188. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  189. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  190. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  191. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  192. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  193. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  194. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  195. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  196. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  197. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  198. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  199. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  200. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  201. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  202. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  203. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  204. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  205. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  206. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  207. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  208. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  209. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  210. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  211. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  212. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  213. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  214. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  215. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  216. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  217. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  218. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  219. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  220. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  221. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  222. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  223. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  224. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  225. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  226. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  227. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  228. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  229. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  230. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  231. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  232. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  233. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  234. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  235. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  236. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  237. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  238. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  239. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  240. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  241. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  242. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  243. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  244. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  245. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  246. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  247. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  248. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  249. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  250. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  251. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  252. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  253. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  254. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  255. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  256. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  257. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  258. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  259. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  260. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  261. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  262. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  263. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  264. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  265. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  266. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  267. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  268. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  269. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  270. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  271. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  272. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  273. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  274. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  275. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  276. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  277. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  278. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  279. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  280. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  281. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  282. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  283. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  284. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  285. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  286. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  287. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  288. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  289. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  290. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  291. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  292. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  293. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  294. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  295. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  296. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  297. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  308. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  309. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  310. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  311. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  312. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  313. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  314. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  315. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  316. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  317. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  318. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  319. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  320. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  321. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  322. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  323. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  324. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  325. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  326. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  327. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  328. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  329. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  330. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  331. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  332. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  333. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  334. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  335. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  336. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  337. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  338. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  339. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  340. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  341. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  342. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  343. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  344. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  345. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  346. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  347. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  348. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  349. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  350. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  351. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  352. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  353. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  354. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  355. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  356. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  357. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  358. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  359. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  360. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  361. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  362. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  363. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  364. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  365. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  366. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  367. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  368. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  369. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  370. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  371. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  372. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  373. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  444. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  445. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  446. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  447. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  448. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  449. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  450. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  451. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  452. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  453. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  454. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  455. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  456. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  457. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  458. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  459. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  460. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  461. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  462. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  463. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  464. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  465. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  466. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  467. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  468. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  469. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  470. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  471. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  472. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  473. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  474. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  475. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  476. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  477. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  478. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  479. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  480. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  481. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  482. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  483. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  484. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  485. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  486. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  487. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  488. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  489. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  490. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  491. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  492. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  493. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  494. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  495. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  496. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  497. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  498. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  499. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  500. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  501. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  502. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  503. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  504. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  505. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  506. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  507. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  508. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  509. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  510. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  511. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  512. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  513. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  514. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  515. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  516. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  517. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  518. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  519. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  520. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  521. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  522. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  523. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  524. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  525. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  526. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  527. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  528. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  529. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  530. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  531. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  538. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  539. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  540. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  541. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  542. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  543. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  544. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  545. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  546. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  547. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  548. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  549. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  550. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  551. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  552. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  553. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  554. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  555. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  556. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  557. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  558. xtgeo/share/pkgconfig/eigen3.pc +0 -9
  559. xtgeo-4.10.0.dist-info/RECORD +0 -652
  560. {xtgeo-4.10.0.dist-info → xtgeo-4.10.1.dist-info}/WHEEL +0 -0
  561. {xtgeo-4.10.0.dist-info → xtgeo-4.10.1.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,1001 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com>
5
- // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
6
- //
7
- // This Source Code Form is subject to the terms of the Mozilla
8
- // Public License v. 2.0. If a copy of the MPL was not distributed
9
- // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
-
11
- #ifndef EIGEN_TRIANGULARMATRIX_H
12
- #define EIGEN_TRIANGULARMATRIX_H
13
-
14
- namespace Eigen {
15
-
16
- namespace internal {
17
-
18
- template<int Side, typename TriangularType, typename Rhs> struct triangular_solve_retval;
19
-
20
- }
21
-
22
- /** \class TriangularBase
23
- * \ingroup Core_Module
24
- *
25
- * \brief Base class for triangular part in a matrix
26
- */
27
- template<typename Derived> class TriangularBase : public EigenBase<Derived>
28
- {
29
- public:
30
-
31
- enum {
32
- Mode = internal::traits<Derived>::Mode,
33
- RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime,
34
- ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime,
35
- MaxRowsAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime,
36
- MaxColsAtCompileTime = internal::traits<Derived>::MaxColsAtCompileTime,
37
-
38
- SizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::RowsAtCompileTime,
39
- internal::traits<Derived>::ColsAtCompileTime>::ret),
40
- /**< This is equal to the number of coefficients, i.e. the number of
41
- * rows times the number of columns, or to \a Dynamic if this is not
42
- * known at compile-time. \sa RowsAtCompileTime, ColsAtCompileTime */
43
-
44
- MaxSizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::MaxRowsAtCompileTime,
45
- internal::traits<Derived>::MaxColsAtCompileTime>::ret)
46
-
47
- };
48
- typedef typename internal::traits<Derived>::Scalar Scalar;
49
- typedef typename internal::traits<Derived>::StorageKind StorageKind;
50
- typedef typename internal::traits<Derived>::StorageIndex StorageIndex;
51
- typedef typename internal::traits<Derived>::FullMatrixType DenseMatrixType;
52
- typedef DenseMatrixType DenseType;
53
- typedef Derived const& Nested;
54
-
55
- EIGEN_DEVICE_FUNC
56
- inline TriangularBase() { eigen_assert(!((int(Mode) & int(UnitDiag)) && (int(Mode) & int(ZeroDiag)))); }
57
-
58
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
59
- inline Index rows() const EIGEN_NOEXCEPT { return derived().rows(); }
60
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
61
- inline Index cols() const EIGEN_NOEXCEPT { return derived().cols(); }
62
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
63
- inline Index outerStride() const EIGEN_NOEXCEPT { return derived().outerStride(); }
64
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
65
- inline Index innerStride() const EIGEN_NOEXCEPT { return derived().innerStride(); }
66
-
67
- // dummy resize function
68
- EIGEN_DEVICE_FUNC
69
- void resize(Index rows, Index cols)
70
- {
71
- EIGEN_UNUSED_VARIABLE(rows);
72
- EIGEN_UNUSED_VARIABLE(cols);
73
- eigen_assert(rows==this->rows() && cols==this->cols());
74
- }
75
-
76
- EIGEN_DEVICE_FUNC
77
- inline Scalar coeff(Index row, Index col) const { return derived().coeff(row,col); }
78
- EIGEN_DEVICE_FUNC
79
- inline Scalar& coeffRef(Index row, Index col) { return derived().coeffRef(row,col); }
80
-
81
- /** \see MatrixBase::copyCoeff(row,col)
82
- */
83
- template<typename Other>
84
- EIGEN_DEVICE_FUNC
85
- EIGEN_STRONG_INLINE void copyCoeff(Index row, Index col, Other& other)
86
- {
87
- derived().coeffRef(row, col) = other.coeff(row, col);
88
- }
89
-
90
- EIGEN_DEVICE_FUNC
91
- inline Scalar operator()(Index row, Index col) const
92
- {
93
- check_coordinates(row, col);
94
- return coeff(row,col);
95
- }
96
- EIGEN_DEVICE_FUNC
97
- inline Scalar& operator()(Index row, Index col)
98
- {
99
- check_coordinates(row, col);
100
- return coeffRef(row,col);
101
- }
102
-
103
- #ifndef EIGEN_PARSED_BY_DOXYGEN
104
- EIGEN_DEVICE_FUNC
105
- inline const Derived& derived() const { return *static_cast<const Derived*>(this); }
106
- EIGEN_DEVICE_FUNC
107
- inline Derived& derived() { return *static_cast<Derived*>(this); }
108
- #endif // not EIGEN_PARSED_BY_DOXYGEN
109
-
110
- template<typename DenseDerived>
111
- EIGEN_DEVICE_FUNC
112
- void evalTo(MatrixBase<DenseDerived> &other) const;
113
- template<typename DenseDerived>
114
- EIGEN_DEVICE_FUNC
115
- void evalToLazy(MatrixBase<DenseDerived> &other) const;
116
-
117
- EIGEN_DEVICE_FUNC
118
- DenseMatrixType toDenseMatrix() const
119
- {
120
- DenseMatrixType res(rows(), cols());
121
- evalToLazy(res);
122
- return res;
123
- }
124
-
125
- protected:
126
-
127
- void check_coordinates(Index row, Index col) const
128
- {
129
- EIGEN_ONLY_USED_FOR_DEBUG(row);
130
- EIGEN_ONLY_USED_FOR_DEBUG(col);
131
- eigen_assert(col>=0 && col<cols() && row>=0 && row<rows());
132
- const int mode = int(Mode) & ~SelfAdjoint;
133
- EIGEN_ONLY_USED_FOR_DEBUG(mode);
134
- eigen_assert((mode==Upper && col>=row)
135
- || (mode==Lower && col<=row)
136
- || ((mode==StrictlyUpper || mode==UnitUpper) && col>row)
137
- || ((mode==StrictlyLower || mode==UnitLower) && col<row));
138
- }
139
-
140
- #ifdef EIGEN_INTERNAL_DEBUGGING
141
- void check_coordinates_internal(Index row, Index col) const
142
- {
143
- check_coordinates(row, col);
144
- }
145
- #else
146
- void check_coordinates_internal(Index , Index ) const {}
147
- #endif
148
-
149
- };
150
-
151
- /** \class TriangularView
152
- * \ingroup Core_Module
153
- *
154
- * \brief Expression of a triangular part in a matrix
155
- *
156
- * \param MatrixType the type of the object in which we are taking the triangular part
157
- * \param Mode the kind of triangular matrix expression to construct. Can be #Upper,
158
- * #Lower, #UnitUpper, #UnitLower, #StrictlyUpper, or #StrictlyLower.
159
- * This is in fact a bit field; it must have either #Upper or #Lower,
160
- * and additionally it may have #UnitDiag or #ZeroDiag or neither.
161
- *
162
- * This class represents a triangular part of a matrix, not necessarily square. Strictly speaking, for rectangular
163
- * matrices one should speak of "trapezoid" parts. This class is the return type
164
- * of MatrixBase::triangularView() and SparseMatrixBase::triangularView(), and most of the time this is the only way it is used.
165
- *
166
- * \sa MatrixBase::triangularView()
167
- */
168
- namespace internal {
169
- template<typename MatrixType, unsigned int _Mode>
170
- struct traits<TriangularView<MatrixType, _Mode> > : traits<MatrixType>
171
- {
172
- typedef typename ref_selector<MatrixType>::non_const_type MatrixTypeNested;
173
- typedef typename remove_reference<MatrixTypeNested>::type MatrixTypeNestedNonRef;
174
- typedef typename remove_all<MatrixTypeNested>::type MatrixTypeNestedCleaned;
175
- typedef typename MatrixType::PlainObject FullMatrixType;
176
- typedef MatrixType ExpressionType;
177
- enum {
178
- Mode = _Mode,
179
- FlagsLvalueBit = is_lvalue<MatrixType>::value ? LvalueBit : 0,
180
- Flags = (MatrixTypeNestedCleaned::Flags & (HereditaryBits | FlagsLvalueBit) & (~(PacketAccessBit | DirectAccessBit | LinearAccessBit)))
181
- };
182
- };
183
- }
184
-
185
- template<typename _MatrixType, unsigned int _Mode, typename StorageKind> class TriangularViewImpl;
186
-
187
- template<typename _MatrixType, unsigned int _Mode> class TriangularView
188
- : public TriangularViewImpl<_MatrixType, _Mode, typename internal::traits<_MatrixType>::StorageKind >
189
- {
190
- public:
191
-
192
- typedef TriangularViewImpl<_MatrixType, _Mode, typename internal::traits<_MatrixType>::StorageKind > Base;
193
- typedef typename internal::traits<TriangularView>::Scalar Scalar;
194
- typedef _MatrixType MatrixType;
195
-
196
- protected:
197
- typedef typename internal::traits<TriangularView>::MatrixTypeNested MatrixTypeNested;
198
- typedef typename internal::traits<TriangularView>::MatrixTypeNestedNonRef MatrixTypeNestedNonRef;
199
-
200
- typedef typename internal::remove_all<typename MatrixType::ConjugateReturnType>::type MatrixConjugateReturnType;
201
- typedef TriangularView<typename internal::add_const<MatrixType>::type, _Mode> ConstTriangularView;
202
-
203
- public:
204
-
205
- typedef typename internal::traits<TriangularView>::StorageKind StorageKind;
206
- typedef typename internal::traits<TriangularView>::MatrixTypeNestedCleaned NestedExpression;
207
-
208
- enum {
209
- Mode = _Mode,
210
- Flags = internal::traits<TriangularView>::Flags,
211
- TransposeMode = (Mode & Upper ? Lower : 0)
212
- | (Mode & Lower ? Upper : 0)
213
- | (Mode & (UnitDiag))
214
- | (Mode & (ZeroDiag)),
215
- IsVectorAtCompileTime = false
216
- };
217
-
218
- EIGEN_DEVICE_FUNC
219
- explicit inline TriangularView(MatrixType& matrix) : m_matrix(matrix)
220
- {}
221
-
222
- EIGEN_INHERIT_ASSIGNMENT_OPERATORS(TriangularView)
223
-
224
- /** \copydoc EigenBase::rows() */
225
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
226
- inline Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); }
227
- /** \copydoc EigenBase::cols() */
228
- EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
229
- inline Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); }
230
-
231
- /** \returns a const reference to the nested expression */
232
- EIGEN_DEVICE_FUNC
233
- const NestedExpression& nestedExpression() const { return m_matrix; }
234
-
235
- /** \returns a reference to the nested expression */
236
- EIGEN_DEVICE_FUNC
237
- NestedExpression& nestedExpression() { return m_matrix; }
238
-
239
- typedef TriangularView<const MatrixConjugateReturnType,Mode> ConjugateReturnType;
240
- /** \sa MatrixBase::conjugate() const */
241
- EIGEN_DEVICE_FUNC
242
- inline const ConjugateReturnType conjugate() const
243
- { return ConjugateReturnType(m_matrix.conjugate()); }
244
-
245
- /** \returns an expression of the complex conjugate of \c *this if Cond==true,
246
- * returns \c *this otherwise.
247
- */
248
- template<bool Cond>
249
- EIGEN_DEVICE_FUNC
250
- inline typename internal::conditional<Cond,ConjugateReturnType,ConstTriangularView>::type
251
- conjugateIf() const
252
- {
253
- typedef typename internal::conditional<Cond,ConjugateReturnType,ConstTriangularView>::type ReturnType;
254
- return ReturnType(m_matrix.template conjugateIf<Cond>());
255
- }
256
-
257
- typedef TriangularView<const typename MatrixType::AdjointReturnType,TransposeMode> AdjointReturnType;
258
- /** \sa MatrixBase::adjoint() const */
259
- EIGEN_DEVICE_FUNC
260
- inline const AdjointReturnType adjoint() const
261
- { return AdjointReturnType(m_matrix.adjoint()); }
262
-
263
- typedef TriangularView<typename MatrixType::TransposeReturnType,TransposeMode> TransposeReturnType;
264
- /** \sa MatrixBase::transpose() */
265
- EIGEN_DEVICE_FUNC
266
- inline TransposeReturnType transpose()
267
- {
268
- EIGEN_STATIC_ASSERT_LVALUE(MatrixType)
269
- typename MatrixType::TransposeReturnType tmp(m_matrix);
270
- return TransposeReturnType(tmp);
271
- }
272
-
273
- typedef TriangularView<const typename MatrixType::ConstTransposeReturnType,TransposeMode> ConstTransposeReturnType;
274
- /** \sa MatrixBase::transpose() const */
275
- EIGEN_DEVICE_FUNC
276
- inline const ConstTransposeReturnType transpose() const
277
- {
278
- return ConstTransposeReturnType(m_matrix.transpose());
279
- }
280
-
281
- template<typename Other>
282
- EIGEN_DEVICE_FUNC
283
- inline const Solve<TriangularView, Other>
284
- solve(const MatrixBase<Other>& other) const
285
- { return Solve<TriangularView, Other>(*this, other.derived()); }
286
-
287
- // workaround MSVC ICE
288
- #if EIGEN_COMP_MSVC
289
- template<int Side, typename Other>
290
- EIGEN_DEVICE_FUNC
291
- inline const internal::triangular_solve_retval<Side,TriangularView, Other>
292
- solve(const MatrixBase<Other>& other) const
293
- { return Base::template solve<Side>(other); }
294
- #else
295
- using Base::solve;
296
- #endif
297
-
298
- /** \returns a selfadjoint view of the referenced triangular part which must be either \c #Upper or \c #Lower.
299
- *
300
- * This is a shortcut for \code this->nestedExpression().selfadjointView<(*this)::Mode>() \endcode
301
- * \sa MatrixBase::selfadjointView() */
302
- EIGEN_DEVICE_FUNC
303
- SelfAdjointView<MatrixTypeNestedNonRef,Mode> selfadjointView()
304
- {
305
- EIGEN_STATIC_ASSERT((Mode&(UnitDiag|ZeroDiag))==0,PROGRAMMING_ERROR);
306
- return SelfAdjointView<MatrixTypeNestedNonRef,Mode>(m_matrix);
307
- }
308
-
309
- /** This is the const version of selfadjointView() */
310
- EIGEN_DEVICE_FUNC
311
- const SelfAdjointView<MatrixTypeNestedNonRef,Mode> selfadjointView() const
312
- {
313
- EIGEN_STATIC_ASSERT((Mode&(UnitDiag|ZeroDiag))==0,PROGRAMMING_ERROR);
314
- return SelfAdjointView<MatrixTypeNestedNonRef,Mode>(m_matrix);
315
- }
316
-
317
-
318
- /** \returns the determinant of the triangular matrix
319
- * \sa MatrixBase::determinant() */
320
- EIGEN_DEVICE_FUNC
321
- Scalar determinant() const
322
- {
323
- if (Mode & UnitDiag)
324
- return 1;
325
- else if (Mode & ZeroDiag)
326
- return 0;
327
- else
328
- return m_matrix.diagonal().prod();
329
- }
330
-
331
- protected:
332
-
333
- MatrixTypeNested m_matrix;
334
- };
335
-
336
- /** \ingroup Core_Module
337
- *
338
- * \brief Base class for a triangular part in a \b dense matrix
339
- *
340
- * This class is an abstract base class of class TriangularView, and objects of type TriangularViewImpl cannot be instantiated.
341
- * It extends class TriangularView with additional methods which available for dense expressions only.
342
- *
343
- * \sa class TriangularView, MatrixBase::triangularView()
344
- */
345
- template<typename _MatrixType, unsigned int _Mode> class TriangularViewImpl<_MatrixType,_Mode,Dense>
346
- : public TriangularBase<TriangularView<_MatrixType, _Mode> >
347
- {
348
- public:
349
-
350
- typedef TriangularView<_MatrixType, _Mode> TriangularViewType;
351
- typedef TriangularBase<TriangularViewType> Base;
352
- typedef typename internal::traits<TriangularViewType>::Scalar Scalar;
353
-
354
- typedef _MatrixType MatrixType;
355
- typedef typename MatrixType::PlainObject DenseMatrixType;
356
- typedef DenseMatrixType PlainObject;
357
-
358
- public:
359
- using Base::evalToLazy;
360
- using Base::derived;
361
-
362
- typedef typename internal::traits<TriangularViewType>::StorageKind StorageKind;
363
-
364
- enum {
365
- Mode = _Mode,
366
- Flags = internal::traits<TriangularViewType>::Flags
367
- };
368
-
369
- /** \returns the outer-stride of the underlying dense matrix
370
- * \sa DenseCoeffsBase::outerStride() */
371
- EIGEN_DEVICE_FUNC
372
- inline Index outerStride() const { return derived().nestedExpression().outerStride(); }
373
- /** \returns the inner-stride of the underlying dense matrix
374
- * \sa DenseCoeffsBase::innerStride() */
375
- EIGEN_DEVICE_FUNC
376
- inline Index innerStride() const { return derived().nestedExpression().innerStride(); }
377
-
378
- /** \sa MatrixBase::operator+=() */
379
- template<typename Other>
380
- EIGEN_DEVICE_FUNC
381
- TriangularViewType& operator+=(const DenseBase<Other>& other) {
382
- internal::call_assignment_no_alias(derived(), other.derived(), internal::add_assign_op<Scalar,typename Other::Scalar>());
383
- return derived();
384
- }
385
- /** \sa MatrixBase::operator-=() */
386
- template<typename Other>
387
- EIGEN_DEVICE_FUNC
388
- TriangularViewType& operator-=(const DenseBase<Other>& other) {
389
- internal::call_assignment_no_alias(derived(), other.derived(), internal::sub_assign_op<Scalar,typename Other::Scalar>());
390
- return derived();
391
- }
392
-
393
- /** \sa MatrixBase::operator*=() */
394
- EIGEN_DEVICE_FUNC
395
- TriangularViewType& operator*=(const typename internal::traits<MatrixType>::Scalar& other) { return *this = derived().nestedExpression() * other; }
396
- /** \sa DenseBase::operator/=() */
397
- EIGEN_DEVICE_FUNC
398
- TriangularViewType& operator/=(const typename internal::traits<MatrixType>::Scalar& other) { return *this = derived().nestedExpression() / other; }
399
-
400
- /** \sa MatrixBase::fill() */
401
- EIGEN_DEVICE_FUNC
402
- void fill(const Scalar& value) { setConstant(value); }
403
- /** \sa MatrixBase::setConstant() */
404
- EIGEN_DEVICE_FUNC
405
- TriangularViewType& setConstant(const Scalar& value)
406
- { return *this = MatrixType::Constant(derived().rows(), derived().cols(), value); }
407
- /** \sa MatrixBase::setZero() */
408
- EIGEN_DEVICE_FUNC
409
- TriangularViewType& setZero() { return setConstant(Scalar(0)); }
410
- /** \sa MatrixBase::setOnes() */
411
- EIGEN_DEVICE_FUNC
412
- TriangularViewType& setOnes() { return setConstant(Scalar(1)); }
413
-
414
- /** \sa MatrixBase::coeff()
415
- * \warning the coordinates must fit into the referenced triangular part
416
- */
417
- EIGEN_DEVICE_FUNC
418
- inline Scalar coeff(Index row, Index col) const
419
- {
420
- Base::check_coordinates_internal(row, col);
421
- return derived().nestedExpression().coeff(row, col);
422
- }
423
-
424
- /** \sa MatrixBase::coeffRef()
425
- * \warning the coordinates must fit into the referenced triangular part
426
- */
427
- EIGEN_DEVICE_FUNC
428
- inline Scalar& coeffRef(Index row, Index col)
429
- {
430
- EIGEN_STATIC_ASSERT_LVALUE(TriangularViewType);
431
- Base::check_coordinates_internal(row, col);
432
- return derived().nestedExpression().coeffRef(row, col);
433
- }
434
-
435
- /** Assigns a triangular matrix to a triangular part of a dense matrix */
436
- template<typename OtherDerived>
437
- EIGEN_DEVICE_FUNC
438
- TriangularViewType& operator=(const TriangularBase<OtherDerived>& other);
439
-
440
- /** Shortcut for\code *this = other.other.triangularView<(*this)::Mode>() \endcode */
441
- template<typename OtherDerived>
442
- EIGEN_DEVICE_FUNC
443
- TriangularViewType& operator=(const MatrixBase<OtherDerived>& other);
444
-
445
- #ifndef EIGEN_PARSED_BY_DOXYGEN
446
- EIGEN_DEVICE_FUNC
447
- TriangularViewType& operator=(const TriangularViewImpl& other)
448
- { return *this = other.derived().nestedExpression(); }
449
-
450
- template<typename OtherDerived>
451
- /** \deprecated */
452
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC
453
- void lazyAssign(const TriangularBase<OtherDerived>& other);
454
-
455
- template<typename OtherDerived>
456
- /** \deprecated */
457
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC
458
- void lazyAssign(const MatrixBase<OtherDerived>& other);
459
- #endif
460
-
461
- /** Efficient triangular matrix times vector/matrix product */
462
- template<typename OtherDerived>
463
- EIGEN_DEVICE_FUNC
464
- const Product<TriangularViewType,OtherDerived>
465
- operator*(const MatrixBase<OtherDerived>& rhs) const
466
- {
467
- return Product<TriangularViewType,OtherDerived>(derived(), rhs.derived());
468
- }
469
-
470
- /** Efficient vector/matrix times triangular matrix product */
471
- template<typename OtherDerived> friend
472
- EIGEN_DEVICE_FUNC
473
- const Product<OtherDerived,TriangularViewType>
474
- operator*(const MatrixBase<OtherDerived>& lhs, const TriangularViewImpl& rhs)
475
- {
476
- return Product<OtherDerived,TriangularViewType>(lhs.derived(),rhs.derived());
477
- }
478
-
479
- /** \returns the product of the inverse of \c *this with \a other, \a *this being triangular.
480
- *
481
- * This function computes the inverse-matrix matrix product inverse(\c *this) * \a other if
482
- * \a Side==OnTheLeft (the default), or the right-inverse-multiply \a other * inverse(\c *this) if
483
- * \a Side==OnTheRight.
484
- *
485
- * Note that the template parameter \c Side can be omitted, in which case \c Side==OnTheLeft
486
- *
487
- * The matrix \c *this must be triangular and invertible (i.e., all the coefficients of the
488
- * diagonal must be non zero). It works as a forward (resp. backward) substitution if \c *this
489
- * is an upper (resp. lower) triangular matrix.
490
- *
491
- * Example: \include Triangular_solve.cpp
492
- * Output: \verbinclude Triangular_solve.out
493
- *
494
- * This function returns an expression of the inverse-multiply and can works in-place if it is assigned
495
- * to the same matrix or vector \a other.
496
- *
497
- * For users coming from BLAS, this function (and more specifically solveInPlace()) offer
498
- * all the operations supported by the \c *TRSV and \c *TRSM BLAS routines.
499
- *
500
- * \sa TriangularView::solveInPlace()
501
- */
502
- template<int Side, typename Other>
503
- inline const internal::triangular_solve_retval<Side,TriangularViewType, Other>
504
- solve(const MatrixBase<Other>& other) const;
505
-
506
- /** "in-place" version of TriangularView::solve() where the result is written in \a other
507
- *
508
- * \warning The parameter is only marked 'const' to make the C++ compiler accept a temporary expression here.
509
- * This function will const_cast it, so constness isn't honored here.
510
- *
511
- * Note that the template parameter \c Side can be omitted, in which case \c Side==OnTheLeft
512
- *
513
- * See TriangularView:solve() for the details.
514
- */
515
- template<int Side, typename OtherDerived>
516
- EIGEN_DEVICE_FUNC
517
- void solveInPlace(const MatrixBase<OtherDerived>& other) const;
518
-
519
- template<typename OtherDerived>
520
- EIGEN_DEVICE_FUNC
521
- void solveInPlace(const MatrixBase<OtherDerived>& other) const
522
- { return solveInPlace<OnTheLeft>(other); }
523
-
524
- /** Swaps the coefficients of the common triangular parts of two matrices */
525
- template<typename OtherDerived>
526
- EIGEN_DEVICE_FUNC
527
- #ifdef EIGEN_PARSED_BY_DOXYGEN
528
- void swap(TriangularBase<OtherDerived> &other)
529
- #else
530
- void swap(TriangularBase<OtherDerived> const & other)
531
- #endif
532
- {
533
- EIGEN_STATIC_ASSERT_LVALUE(OtherDerived);
534
- call_assignment(derived(), other.const_cast_derived(), internal::swap_assign_op<Scalar>());
535
- }
536
-
537
- /** Shortcut for \code (*this).swap(other.triangularView<(*this)::Mode>()) \endcode */
538
- template<typename OtherDerived>
539
- /** \deprecated */
540
- EIGEN_DEPRECATED EIGEN_DEVICE_FUNC
541
- void swap(MatrixBase<OtherDerived> const & other)
542
- {
543
- EIGEN_STATIC_ASSERT_LVALUE(OtherDerived);
544
- call_assignment(derived(), other.const_cast_derived(), internal::swap_assign_op<Scalar>());
545
- }
546
-
547
- template<typename RhsType, typename DstType>
548
- EIGEN_DEVICE_FUNC
549
- EIGEN_STRONG_INLINE void _solve_impl(const RhsType &rhs, DstType &dst) const {
550
- if(!internal::is_same_dense(dst,rhs))
551
- dst = rhs;
552
- this->solveInPlace(dst);
553
- }
554
-
555
- template<typename ProductType>
556
- EIGEN_DEVICE_FUNC
557
- EIGEN_STRONG_INLINE TriangularViewType& _assignProduct(const ProductType& prod, const Scalar& alpha, bool beta);
558
- protected:
559
- EIGEN_DEFAULT_COPY_CONSTRUCTOR(TriangularViewImpl)
560
- EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(TriangularViewImpl)
561
-
562
- };
563
-
564
- /***************************************************************************
565
- * Implementation of triangular evaluation/assignment
566
- ***************************************************************************/
567
-
568
- #ifndef EIGEN_PARSED_BY_DOXYGEN
569
- // FIXME should we keep that possibility
570
- template<typename MatrixType, unsigned int Mode>
571
- template<typename OtherDerived>
572
- EIGEN_DEVICE_FUNC inline TriangularView<MatrixType, Mode>&
573
- TriangularViewImpl<MatrixType, Mode, Dense>::operator=(const MatrixBase<OtherDerived>& other)
574
- {
575
- internal::call_assignment_no_alias(derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
576
- return derived();
577
- }
578
-
579
- // FIXME should we keep that possibility
580
- template<typename MatrixType, unsigned int Mode>
581
- template<typename OtherDerived>
582
- EIGEN_DEVICE_FUNC void TriangularViewImpl<MatrixType, Mode, Dense>::lazyAssign(const MatrixBase<OtherDerived>& other)
583
- {
584
- internal::call_assignment_no_alias(derived(), other.template triangularView<Mode>());
585
- }
586
-
587
-
588
-
589
- template<typename MatrixType, unsigned int Mode>
590
- template<typename OtherDerived>
591
- EIGEN_DEVICE_FUNC inline TriangularView<MatrixType, Mode>&
592
- TriangularViewImpl<MatrixType, Mode, Dense>::operator=(const TriangularBase<OtherDerived>& other)
593
- {
594
- eigen_assert(Mode == int(OtherDerived::Mode));
595
- internal::call_assignment(derived(), other.derived());
596
- return derived();
597
- }
598
-
599
- template<typename MatrixType, unsigned int Mode>
600
- template<typename OtherDerived>
601
- EIGEN_DEVICE_FUNC void TriangularViewImpl<MatrixType, Mode, Dense>::lazyAssign(const TriangularBase<OtherDerived>& other)
602
- {
603
- eigen_assert(Mode == int(OtherDerived::Mode));
604
- internal::call_assignment_no_alias(derived(), other.derived());
605
- }
606
- #endif
607
-
608
- /***************************************************************************
609
- * Implementation of TriangularBase methods
610
- ***************************************************************************/
611
-
612
- /** Assigns a triangular or selfadjoint matrix to a dense matrix.
613
- * If the matrix is triangular, the opposite part is set to zero. */
614
- template<typename Derived>
615
- template<typename DenseDerived>
616
- EIGEN_DEVICE_FUNC void TriangularBase<Derived>::evalTo(MatrixBase<DenseDerived> &other) const
617
- {
618
- evalToLazy(other.derived());
619
- }
620
-
621
- /***************************************************************************
622
- * Implementation of TriangularView methods
623
- ***************************************************************************/
624
-
625
- /***************************************************************************
626
- * Implementation of MatrixBase methods
627
- ***************************************************************************/
628
-
629
- /**
630
- * \returns an expression of a triangular view extracted from the current matrix
631
- *
632
- * The parameter \a Mode can have the following values: \c #Upper, \c #StrictlyUpper, \c #UnitUpper,
633
- * \c #Lower, \c #StrictlyLower, \c #UnitLower.
634
- *
635
- * Example: \include MatrixBase_triangularView.cpp
636
- * Output: \verbinclude MatrixBase_triangularView.out
637
- *
638
- * \sa class TriangularView
639
- */
640
- template<typename Derived>
641
- template<unsigned int Mode>
642
- EIGEN_DEVICE_FUNC
643
- typename MatrixBase<Derived>::template TriangularViewReturnType<Mode>::Type
644
- MatrixBase<Derived>::triangularView()
645
- {
646
- return typename TriangularViewReturnType<Mode>::Type(derived());
647
- }
648
-
649
- /** This is the const version of MatrixBase::triangularView() */
650
- template<typename Derived>
651
- template<unsigned int Mode>
652
- EIGEN_DEVICE_FUNC
653
- typename MatrixBase<Derived>::template ConstTriangularViewReturnType<Mode>::Type
654
- MatrixBase<Derived>::triangularView() const
655
- {
656
- return typename ConstTriangularViewReturnType<Mode>::Type(derived());
657
- }
658
-
659
- /** \returns true if *this is approximately equal to an upper triangular matrix,
660
- * within the precision given by \a prec.
661
- *
662
- * \sa isLowerTriangular()
663
- */
664
- template<typename Derived>
665
- bool MatrixBase<Derived>::isUpperTriangular(const RealScalar& prec) const
666
- {
667
- RealScalar maxAbsOnUpperPart = static_cast<RealScalar>(-1);
668
- for(Index j = 0; j < cols(); ++j)
669
- {
670
- Index maxi = numext::mini(j, rows()-1);
671
- for(Index i = 0; i <= maxi; ++i)
672
- {
673
- RealScalar absValue = numext::abs(coeff(i,j));
674
- if(absValue > maxAbsOnUpperPart) maxAbsOnUpperPart = absValue;
675
- }
676
- }
677
- RealScalar threshold = maxAbsOnUpperPart * prec;
678
- for(Index j = 0; j < cols(); ++j)
679
- for(Index i = j+1; i < rows(); ++i)
680
- if(numext::abs(coeff(i, j)) > threshold) return false;
681
- return true;
682
- }
683
-
684
- /** \returns true if *this is approximately equal to a lower triangular matrix,
685
- * within the precision given by \a prec.
686
- *
687
- * \sa isUpperTriangular()
688
- */
689
- template<typename Derived>
690
- bool MatrixBase<Derived>::isLowerTriangular(const RealScalar& prec) const
691
- {
692
- RealScalar maxAbsOnLowerPart = static_cast<RealScalar>(-1);
693
- for(Index j = 0; j < cols(); ++j)
694
- for(Index i = j; i < rows(); ++i)
695
- {
696
- RealScalar absValue = numext::abs(coeff(i,j));
697
- if(absValue > maxAbsOnLowerPart) maxAbsOnLowerPart = absValue;
698
- }
699
- RealScalar threshold = maxAbsOnLowerPart * prec;
700
- for(Index j = 1; j < cols(); ++j)
701
- {
702
- Index maxi = numext::mini(j, rows()-1);
703
- for(Index i = 0; i < maxi; ++i)
704
- if(numext::abs(coeff(i, j)) > threshold) return false;
705
- }
706
- return true;
707
- }
708
-
709
-
710
- /***************************************************************************
711
- ****************************************************************************
712
- * Evaluators and Assignment of triangular expressions
713
- ***************************************************************************
714
- ***************************************************************************/
715
-
716
- namespace internal {
717
-
718
-
719
- // TODO currently a triangular expression has the form TriangularView<.,.>
720
- // in the future triangular-ness should be defined by the expression traits
721
- // such that Transpose<TriangularView<.,.> > is valid. (currently TriangularBase::transpose() is overloaded to make it work)
722
- template<typename MatrixType, unsigned int Mode>
723
- struct evaluator_traits<TriangularView<MatrixType,Mode> >
724
- {
725
- typedef typename storage_kind_to_evaluator_kind<typename MatrixType::StorageKind>::Kind Kind;
726
- typedef typename glue_shapes<typename evaluator_traits<MatrixType>::Shape, TriangularShape>::type Shape;
727
- };
728
-
729
- template<typename MatrixType, unsigned int Mode>
730
- struct unary_evaluator<TriangularView<MatrixType,Mode>, IndexBased>
731
- : evaluator<typename internal::remove_all<MatrixType>::type>
732
- {
733
- typedef TriangularView<MatrixType,Mode> XprType;
734
- typedef evaluator<typename internal::remove_all<MatrixType>::type> Base;
735
- EIGEN_DEVICE_FUNC
736
- unary_evaluator(const XprType &xpr) : Base(xpr.nestedExpression()) {}
737
- };
738
-
739
- // Additional assignment kinds:
740
- struct Triangular2Triangular {};
741
- struct Triangular2Dense {};
742
- struct Dense2Triangular {};
743
-
744
-
745
- template<typename Kernel, unsigned int Mode, int UnrollCount, bool ClearOpposite> struct triangular_assignment_loop;
746
-
747
-
748
- /** \internal Specialization of the dense assignment kernel for triangular matrices.
749
- * The main difference is that the triangular, diagonal, and opposite parts are processed through three different functions.
750
- * \tparam UpLo must be either Lower or Upper
751
- * \tparam Mode must be either 0, UnitDiag, ZeroDiag, or SelfAdjoint
752
- */
753
- template<int UpLo, int Mode, int SetOpposite, typename DstEvaluatorTypeT, typename SrcEvaluatorTypeT, typename Functor, int Version = Specialized>
754
- class triangular_dense_assignment_kernel : public generic_dense_assignment_kernel<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, Version>
755
- {
756
- protected:
757
- typedef generic_dense_assignment_kernel<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, Version> Base;
758
- typedef typename Base::DstXprType DstXprType;
759
- typedef typename Base::SrcXprType SrcXprType;
760
- using Base::m_dst;
761
- using Base::m_src;
762
- using Base::m_functor;
763
- public:
764
-
765
- typedef typename Base::DstEvaluatorType DstEvaluatorType;
766
- typedef typename Base::SrcEvaluatorType SrcEvaluatorType;
767
- typedef typename Base::Scalar Scalar;
768
- typedef typename Base::AssignmentTraits AssignmentTraits;
769
-
770
-
771
- EIGEN_DEVICE_FUNC triangular_dense_assignment_kernel(DstEvaluatorType &dst, const SrcEvaluatorType &src, const Functor &func, DstXprType& dstExpr)
772
- : Base(dst, src, func, dstExpr)
773
- {}
774
-
775
- #ifdef EIGEN_INTERNAL_DEBUGGING
776
- EIGEN_DEVICE_FUNC void assignCoeff(Index row, Index col)
777
- {
778
- eigen_internal_assert(row!=col);
779
- Base::assignCoeff(row,col);
780
- }
781
- #else
782
- using Base::assignCoeff;
783
- #endif
784
-
785
- EIGEN_DEVICE_FUNC void assignDiagonalCoeff(Index id)
786
- {
787
- if(Mode==UnitDiag && SetOpposite) m_functor.assignCoeff(m_dst.coeffRef(id,id), Scalar(1));
788
- else if(Mode==ZeroDiag && SetOpposite) m_functor.assignCoeff(m_dst.coeffRef(id,id), Scalar(0));
789
- else if(Mode==0) Base::assignCoeff(id,id);
790
- }
791
-
792
- EIGEN_DEVICE_FUNC void assignOppositeCoeff(Index row, Index col)
793
- {
794
- eigen_internal_assert(row!=col);
795
- if(SetOpposite)
796
- m_functor.assignCoeff(m_dst.coeffRef(row,col), Scalar(0));
797
- }
798
- };
799
-
800
- template<int Mode, bool SetOpposite, typename DstXprType, typename SrcXprType, typename Functor>
801
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
802
- void call_triangular_assignment_loop(DstXprType& dst, const SrcXprType& src, const Functor &func)
803
- {
804
- typedef evaluator<DstXprType> DstEvaluatorType;
805
- typedef evaluator<SrcXprType> SrcEvaluatorType;
806
-
807
- SrcEvaluatorType srcEvaluator(src);
808
-
809
- Index dstRows = src.rows();
810
- Index dstCols = src.cols();
811
- if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
812
- dst.resize(dstRows, dstCols);
813
- DstEvaluatorType dstEvaluator(dst);
814
-
815
- typedef triangular_dense_assignment_kernel< Mode&(Lower|Upper),Mode&(UnitDiag|ZeroDiag|SelfAdjoint),SetOpposite,
816
- DstEvaluatorType,SrcEvaluatorType,Functor> Kernel;
817
- Kernel kernel(dstEvaluator, srcEvaluator, func, dst.const_cast_derived());
818
-
819
- enum {
820
- unroll = DstXprType::SizeAtCompileTime != Dynamic
821
- && SrcEvaluatorType::CoeffReadCost < HugeCost
822
- && DstXprType::SizeAtCompileTime * (int(DstEvaluatorType::CoeffReadCost) + int(SrcEvaluatorType::CoeffReadCost)) / 2 <= EIGEN_UNROLLING_LIMIT
823
- };
824
-
825
- triangular_assignment_loop<Kernel, Mode, unroll ? int(DstXprType::SizeAtCompileTime) : Dynamic, SetOpposite>::run(kernel);
826
- }
827
-
828
- template<int Mode, bool SetOpposite, typename DstXprType, typename SrcXprType>
829
- EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
830
- void call_triangular_assignment_loop(DstXprType& dst, const SrcXprType& src)
831
- {
832
- call_triangular_assignment_loop<Mode,SetOpposite>(dst, src, internal::assign_op<typename DstXprType::Scalar,typename SrcXprType::Scalar>());
833
- }
834
-
835
- template<> struct AssignmentKind<TriangularShape,TriangularShape> { typedef Triangular2Triangular Kind; };
836
- template<> struct AssignmentKind<DenseShape,TriangularShape> { typedef Triangular2Dense Kind; };
837
- template<> struct AssignmentKind<TriangularShape,DenseShape> { typedef Dense2Triangular Kind; };
838
-
839
-
840
- template< typename DstXprType, typename SrcXprType, typename Functor>
841
- struct Assignment<DstXprType, SrcXprType, Functor, Triangular2Triangular>
842
- {
843
- EIGEN_DEVICE_FUNC static void run(DstXprType &dst, const SrcXprType &src, const Functor &func)
844
- {
845
- eigen_assert(int(DstXprType::Mode) == int(SrcXprType::Mode));
846
-
847
- call_triangular_assignment_loop<DstXprType::Mode, false>(dst, src, func);
848
- }
849
- };
850
-
851
- template< typename DstXprType, typename SrcXprType, typename Functor>
852
- struct Assignment<DstXprType, SrcXprType, Functor, Triangular2Dense>
853
- {
854
- EIGEN_DEVICE_FUNC static void run(DstXprType &dst, const SrcXprType &src, const Functor &func)
855
- {
856
- call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
857
- }
858
- };
859
-
860
- template< typename DstXprType, typename SrcXprType, typename Functor>
861
- struct Assignment<DstXprType, SrcXprType, Functor, Dense2Triangular>
862
- {
863
- EIGEN_DEVICE_FUNC static void run(DstXprType &dst, const SrcXprType &src, const Functor &func)
864
- {
865
- call_triangular_assignment_loop<DstXprType::Mode, false>(dst, src, func);
866
- }
867
- };
868
-
869
-
870
- template<typename Kernel, unsigned int Mode, int UnrollCount, bool SetOpposite>
871
- struct triangular_assignment_loop
872
- {
873
- // FIXME: this is not very clean, perhaps this information should be provided by the kernel?
874
- typedef typename Kernel::DstEvaluatorType DstEvaluatorType;
875
- typedef typename DstEvaluatorType::XprType DstXprType;
876
-
877
- enum {
878
- col = (UnrollCount-1) / DstXprType::RowsAtCompileTime,
879
- row = (UnrollCount-1) % DstXprType::RowsAtCompileTime
880
- };
881
-
882
- typedef typename Kernel::Scalar Scalar;
883
-
884
- EIGEN_DEVICE_FUNC
885
- static inline void run(Kernel &kernel)
886
- {
887
- triangular_assignment_loop<Kernel, Mode, UnrollCount-1, SetOpposite>::run(kernel);
888
-
889
- if(row==col)
890
- kernel.assignDiagonalCoeff(row);
891
- else if( ((Mode&Lower) && row>col) || ((Mode&Upper) && row<col) )
892
- kernel.assignCoeff(row,col);
893
- else if(SetOpposite)
894
- kernel.assignOppositeCoeff(row,col);
895
- }
896
- };
897
-
898
- // prevent buggy user code from causing an infinite recursion
899
- template<typename Kernel, unsigned int Mode, bool SetOpposite>
900
- struct triangular_assignment_loop<Kernel, Mode, 0, SetOpposite>
901
- {
902
- EIGEN_DEVICE_FUNC
903
- static inline void run(Kernel &) {}
904
- };
905
-
906
-
907
-
908
- // TODO: experiment with a recursive assignment procedure splitting the current
909
- // triangular part into one rectangular and two triangular parts.
910
-
911
-
912
- template<typename Kernel, unsigned int Mode, bool SetOpposite>
913
- struct triangular_assignment_loop<Kernel, Mode, Dynamic, SetOpposite>
914
- {
915
- typedef typename Kernel::Scalar Scalar;
916
- EIGEN_DEVICE_FUNC
917
- static inline void run(Kernel &kernel)
918
- {
919
- for(Index j = 0; j < kernel.cols(); ++j)
920
- {
921
- Index maxi = numext::mini(j, kernel.rows());
922
- Index i = 0;
923
- if (((Mode&Lower) && SetOpposite) || (Mode&Upper))
924
- {
925
- for(; i < maxi; ++i)
926
- if(Mode&Upper) kernel.assignCoeff(i, j);
927
- else kernel.assignOppositeCoeff(i, j);
928
- }
929
- else
930
- i = maxi;
931
-
932
- if(i<kernel.rows()) // then i==j
933
- kernel.assignDiagonalCoeff(i++);
934
-
935
- if (((Mode&Upper) && SetOpposite) || (Mode&Lower))
936
- {
937
- for(; i < kernel.rows(); ++i)
938
- if(Mode&Lower) kernel.assignCoeff(i, j);
939
- else kernel.assignOppositeCoeff(i, j);
940
- }
941
- }
942
- }
943
- };
944
-
945
- } // end namespace internal
946
-
947
- /** Assigns a triangular or selfadjoint matrix to a dense matrix.
948
- * If the matrix is triangular, the opposite part is set to zero. */
949
- template<typename Derived>
950
- template<typename DenseDerived>
951
- EIGEN_DEVICE_FUNC void TriangularBase<Derived>::evalToLazy(MatrixBase<DenseDerived> &other) const
952
- {
953
- other.derived().resize(this->rows(), this->cols());
954
- internal::call_triangular_assignment_loop<Derived::Mode, (int(Derived::Mode) & int(SelfAdjoint)) == 0 /* SetOpposite */>(other.derived(), derived().nestedExpression());
955
- }
956
-
957
- namespace internal {
958
-
959
- // Triangular = Product
960
- template< typename DstXprType, typename Lhs, typename Rhs, typename Scalar>
961
- struct Assignment<DstXprType, Product<Lhs,Rhs,DefaultProduct>, internal::assign_op<Scalar,typename Product<Lhs,Rhs,DefaultProduct>::Scalar>, Dense2Triangular>
962
- {
963
- typedef Product<Lhs,Rhs,DefaultProduct> SrcXprType;
964
- static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op<Scalar,typename SrcXprType::Scalar> &)
965
- {
966
- Index dstRows = src.rows();
967
- Index dstCols = src.cols();
968
- if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
969
- dst.resize(dstRows, dstCols);
970
-
971
- dst._assignProduct(src, Scalar(1), false);
972
- }
973
- };
974
-
975
- // Triangular += Product
976
- template< typename DstXprType, typename Lhs, typename Rhs, typename Scalar>
977
- struct Assignment<DstXprType, Product<Lhs,Rhs,DefaultProduct>, internal::add_assign_op<Scalar,typename Product<Lhs,Rhs,DefaultProduct>::Scalar>, Dense2Triangular>
978
- {
979
- typedef Product<Lhs,Rhs,DefaultProduct> SrcXprType;
980
- static void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op<Scalar,typename SrcXprType::Scalar> &)
981
- {
982
- dst._assignProduct(src, Scalar(1), true);
983
- }
984
- };
985
-
986
- // Triangular -= Product
987
- template< typename DstXprType, typename Lhs, typename Rhs, typename Scalar>
988
- struct Assignment<DstXprType, Product<Lhs,Rhs,DefaultProduct>, internal::sub_assign_op<Scalar,typename Product<Lhs,Rhs,DefaultProduct>::Scalar>, Dense2Triangular>
989
- {
990
- typedef Product<Lhs,Rhs,DefaultProduct> SrcXprType;
991
- static void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op<Scalar,typename SrcXprType::Scalar> &)
992
- {
993
- dst._assignProduct(src, Scalar(-1), true);
994
- }
995
- };
996
-
997
- } // end namespace internal
998
-
999
- } // end namespace Eigen
1000
-
1001
- #endif // EIGEN_TRIANGULARMATRIX_H