xtgeo 4.10.0__cp310-cp310-win_amd64.whl → 4.11.0__cp310-cp310-win_amd64.whl

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

Potentially problematic release.


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

Files changed (546) hide show
  1. xtgeo/_cxtgeo.cp310-win_amd64.pyd +0 -0
  2. xtgeo/_internal.cp310-win_amd64.pyd +0 -0
  3. xtgeo/common/version.py +16 -3
  4. xtgeo/cube/_cube_window_attributes.py +13 -4
  5. xtgeo/grid3d/_grid_etc1.py +10 -5
  6. xtgeo/grid3d/grid.py +22 -6
  7. xtgeo/metadata/metadata.py +20 -13
  8. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/METADATA +1 -1
  9. xtgeo-4.11.0.dist-info/RECORD +117 -0
  10. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/WHEEL +1 -1
  11. xtgeo/include/eigen3/Eigen/Cholesky +0 -45
  12. xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
  13. xtgeo/include/eigen3/Eigen/Core +0 -384
  14. xtgeo/include/eigen3/Eigen/Dense +0 -7
  15. xtgeo/include/eigen3/Eigen/Eigen +0 -2
  16. xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
  17. xtgeo/include/eigen3/Eigen/Geometry +0 -59
  18. xtgeo/include/eigen3/Eigen/Householder +0 -29
  19. xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
  20. xtgeo/include/eigen3/Eigen/Jacobi +0 -32
  21. xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
  22. xtgeo/include/eigen3/Eigen/LU +0 -47
  23. xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
  24. xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
  25. xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
  26. xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
  27. xtgeo/include/eigen3/Eigen/QR +0 -50
  28. xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
  29. xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
  30. xtgeo/include/eigen3/Eigen/SVD +0 -50
  31. xtgeo/include/eigen3/Eigen/Sparse +0 -34
  32. xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
  33. xtgeo/include/eigen3/Eigen/SparseCore +0 -69
  34. xtgeo/include/eigen3/Eigen/SparseLU +0 -50
  35. xtgeo/include/eigen3/Eigen/SparseQR +0 -36
  36. xtgeo/include/eigen3/Eigen/StdDeque +0 -27
  37. xtgeo/include/eigen3/Eigen/StdList +0 -26
  38. xtgeo/include/eigen3/Eigen/StdVector +0 -27
  39. xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
  40. xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
  41. xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
  42. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
  43. xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
  44. xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
  45. xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
  46. xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
  47. xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
  48. xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
  49. xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
  50. xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
  51. xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
  52. xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
  53. xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
  54. xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
  55. xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
  56. xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
  57. xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
  58. xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
  59. xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
  60. xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
  61. xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
  62. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
  63. xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
  64. xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
  65. xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
  66. xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
  67. xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
  68. xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
  69. xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
  70. xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
  71. xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
  72. xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
  73. xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
  74. xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
  75. xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
  76. xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
  77. xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
  78. xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
  79. xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
  80. xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
  81. xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
  82. xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
  83. xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
  84. xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
  85. xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
  86. xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
  87. xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
  88. xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
  89. xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
  90. xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
  91. xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
  92. xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
  93. xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
  94. xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
  95. xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
  96. xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
  97. xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
  98. xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
  99. xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
  100. xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
  101. xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
  102. xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
  103. xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
  104. xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
  105. xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
  106. xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
  107. xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
  108. xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
  109. xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
  110. xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
  111. xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
  112. xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
  113. xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
  114. xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
  115. xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
  116. xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
  117. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
  118. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
  119. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
  120. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
  121. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
  122. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
  123. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
  124. xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
  125. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
  126. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
  127. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
  128. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
  129. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
  130. xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
  131. xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
  132. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
  133. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
  134. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
  135. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
  136. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
  137. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
  138. xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
  139. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
  140. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
  141. xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
  142. xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
  143. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
  144. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
  145. xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
  146. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
  147. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
  148. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
  149. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
  150. xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
  151. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
  152. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
  153. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
  154. xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
  155. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
  156. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
  157. xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
  158. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
  159. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
  160. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
  161. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
  162. xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
  163. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
  164. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
  165. xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
  166. xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
  167. xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
  168. xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
  169. xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
  170. xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
  171. xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
  172. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
  173. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
  174. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
  175. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
  176. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
  177. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
  178. xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
  179. xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
  180. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
  181. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
  182. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
  183. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
  184. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
  185. xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
  186. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
  187. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
  188. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
  189. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
  190. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
  191. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
  192. xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
  193. xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
  194. xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
  195. xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
  196. xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
  197. xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
  198. xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
  199. xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
  200. xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
  201. xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
  202. xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
  203. xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
  204. xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
  205. xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
  206. xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
  207. xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
  208. xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
  209. xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
  210. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
  211. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
  212. xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
  213. xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
  214. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
  215. xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
  216. xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
  217. xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
  218. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
  219. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
  220. xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
  221. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
  222. xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
  223. xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
  224. xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
  225. xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
  226. xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
  227. xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
  228. xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
  229. xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
  230. xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
  231. xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
  232. xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
  233. xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
  234. xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
  235. xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
  236. xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
  237. xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
  238. xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
  239. xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
  240. xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
  241. xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
  242. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
  243. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
  244. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
  245. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
  246. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
  247. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
  248. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
  249. xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
  250. xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
  251. xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
  252. xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
  253. xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
  254. xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
  255. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
  256. xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
  257. xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
  258. xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
  259. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
  260. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
  261. xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
  262. xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
  263. xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
  264. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
  265. xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
  266. xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
  267. xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
  268. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
  269. xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
  270. xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
  271. xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
  272. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
  273. xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
  274. xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
  275. xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
  276. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
  277. xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
  278. xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
  279. xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
  280. xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
  281. xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
  282. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
  283. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
  284. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
  285. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
  286. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
  287. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
  288. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
  289. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
  290. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
  291. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
  292. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
  293. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
  294. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
  295. xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
  296. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
  297. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
  298. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
  299. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
  300. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
  301. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
  302. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
  303. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
  304. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
  305. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
  306. xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
  307. xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
  308. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
  309. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
  310. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
  311. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
  312. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
  313. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
  314. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
  315. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
  316. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
  317. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
  318. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
  319. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
  320. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
  321. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
  322. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
  323. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
  324. xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
  325. xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
  326. xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
  327. xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
  328. xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
  329. xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
  330. xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
  331. xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
  332. xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
  333. xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
  334. xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
  335. xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
  336. xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
  337. xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
  338. xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
  339. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
  340. xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
  341. xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
  342. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
  343. xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
  344. xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
  345. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
  346. xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
  347. xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
  348. xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
  349. xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
  350. xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
  351. xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
  352. xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
  353. xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
  354. xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
  355. xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
  356. xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
  357. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
  358. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
  359. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
  360. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
  361. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
  362. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
  363. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
  364. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
  365. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
  366. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
  367. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
  368. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
  369. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
  370. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
  371. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
  372. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
  373. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
  374. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
  375. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
  376. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
  377. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
  378. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
  379. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
  380. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
  381. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
  382. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
  383. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
  384. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
  385. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
  386. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
  387. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
  388. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
  389. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
  390. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
  391. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
  392. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
  393. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
  394. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
  395. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
  396. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
  397. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
  398. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
  399. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
  400. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
  401. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
  402. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
  403. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
  404. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
  405. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
  406. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
  407. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
  408. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
  409. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
  410. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
  411. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
  412. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
  413. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
  414. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
  415. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
  416. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
  417. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
  418. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
  419. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
  420. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
  421. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
  422. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
  423. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
  424. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
  425. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
  426. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
  427. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
  428. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
  429. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
  430. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
  431. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
  432. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
  433. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
  434. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
  435. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
  436. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
  437. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
  438. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
  439. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
  440. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
  441. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
  442. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
  443. xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
  444. xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
  445. xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
  446. xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
  447. xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
  448. xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
  449. xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
  450. xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
  451. xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
  452. xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
  453. xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
  454. xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
  455. xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
  456. xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
  457. xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
  458. xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
  459. xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
  460. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
  461. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
  462. xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
  463. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
  464. xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
  465. xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
  466. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
  467. xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
  468. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
  469. xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
  470. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
  471. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
  472. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
  473. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
  474. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
  475. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
  476. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
  477. xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
  478. xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
  479. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
  480. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
  481. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
  482. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
  483. xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
  484. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
  485. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
  486. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
  487. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
  488. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
  489. xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
  490. xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
  491. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
  492. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
  493. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
  494. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
  495. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
  496. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
  497. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
  498. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
  499. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
  500. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
  501. xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
  502. xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
  503. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
  504. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
  505. xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
  506. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
  507. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
  508. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
  509. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
  510. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
  511. xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
  512. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
  513. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
  514. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
  515. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
  516. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
  517. xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
  518. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
  519. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
  520. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
  521. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
  522. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
  523. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
  524. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
  525. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
  526. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
  527. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
  528. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
  529. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
  530. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
  531. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
  532. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
  533. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
  534. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
  535. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
  536. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
  537. xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
  538. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
  539. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
  540. xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
  541. xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
  542. xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
  543. xtgeo/share/eigen3/cmake/Eigen3Targets.cmake +0 -106
  544. xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
  545. xtgeo-4.10.0.dist-info/RECORD +0 -651
  546. {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -1,923 +0,0 @@
1
- // This file is part of Eigen, a lightweight C++ template library
2
- // for linear algebra.
3
- //
4
- // Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
5
- // Copyright (C) 2012-2014 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
-
12
- #ifndef EIGEN_SPARSE_LU_H
13
- #define EIGEN_SPARSE_LU_H
14
-
15
- namespace Eigen {
16
-
17
- template <typename _MatrixType, typename _OrderingType = COLAMDOrdering<typename _MatrixType::StorageIndex> > class SparseLU;
18
- template <typename MappedSparseMatrixType> struct SparseLUMatrixLReturnType;
19
- template <typename MatrixLType, typename MatrixUType> struct SparseLUMatrixUReturnType;
20
-
21
- template <bool Conjugate,class SparseLUType>
22
- class SparseLUTransposeView : public SparseSolverBase<SparseLUTransposeView<Conjugate,SparseLUType> >
23
- {
24
- protected:
25
- typedef SparseSolverBase<SparseLUTransposeView<Conjugate,SparseLUType> > APIBase;
26
- using APIBase::m_isInitialized;
27
- public:
28
- typedef typename SparseLUType::Scalar Scalar;
29
- typedef typename SparseLUType::StorageIndex StorageIndex;
30
- typedef typename SparseLUType::MatrixType MatrixType;
31
- typedef typename SparseLUType::OrderingType OrderingType;
32
-
33
- enum {
34
- ColsAtCompileTime = MatrixType::ColsAtCompileTime,
35
- MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
36
- };
37
-
38
- SparseLUTransposeView() : m_sparseLU(NULL) {}
39
- SparseLUTransposeView(const SparseLUTransposeView& view) {
40
- this->m_sparseLU = view.m_sparseLU;
41
- }
42
- void setIsInitialized(const bool isInitialized) {this->m_isInitialized = isInitialized;}
43
- void setSparseLU(SparseLUType* sparseLU) {m_sparseLU = sparseLU;}
44
- using APIBase::_solve_impl;
45
- template<typename Rhs, typename Dest>
46
- bool _solve_impl(const MatrixBase<Rhs> &B, MatrixBase<Dest> &X_base) const
47
- {
48
- Dest& X(X_base.derived());
49
- eigen_assert(m_sparseLU->info() == Success && "The matrix should be factorized first");
50
- EIGEN_STATIC_ASSERT((Dest::Flags&RowMajorBit)==0,
51
- THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES);
52
-
53
-
54
- // this ugly const_cast_derived() helps to detect aliasing when applying the permutations
55
- for(Index j = 0; j < B.cols(); ++j){
56
- X.col(j) = m_sparseLU->colsPermutation() * B.const_cast_derived().col(j);
57
- }
58
- //Forward substitution with transposed or adjoint of U
59
- m_sparseLU->matrixU().template solveTransposedInPlace<Conjugate>(X);
60
-
61
- //Backward substitution with transposed or adjoint of L
62
- m_sparseLU->matrixL().template solveTransposedInPlace<Conjugate>(X);
63
-
64
- // Permute back the solution
65
- for (Index j = 0; j < B.cols(); ++j)
66
- X.col(j) = m_sparseLU->rowsPermutation().transpose() * X.col(j);
67
- return true;
68
- }
69
- inline Index rows() const { return m_sparseLU->rows(); }
70
- inline Index cols() const { return m_sparseLU->cols(); }
71
-
72
- private:
73
- SparseLUType *m_sparseLU;
74
- SparseLUTransposeView& operator=(const SparseLUTransposeView&);
75
- };
76
-
77
-
78
- /** \ingroup SparseLU_Module
79
- * \class SparseLU
80
- *
81
- * \brief Sparse supernodal LU factorization for general matrices
82
- *
83
- * This class implements the supernodal LU factorization for general matrices.
84
- * It uses the main techniques from the sequential SuperLU package
85
- * (http://crd-legacy.lbl.gov/~xiaoye/SuperLU/). It handles transparently real
86
- * and complex arithmetic with single and double precision, depending on the
87
- * scalar type of your input matrix.
88
- * The code has been optimized to provide BLAS-3 operations during supernode-panel updates.
89
- * It benefits directly from the built-in high-performant Eigen BLAS routines.
90
- * Moreover, when the size of a supernode is very small, the BLAS calls are avoided to
91
- * enable a better optimization from the compiler. For best performance,
92
- * you should compile it with NDEBUG flag to avoid the numerous bounds checking on vectors.
93
- *
94
- * An important parameter of this class is the ordering method. It is used to reorder the columns
95
- * (and eventually the rows) of the matrix to reduce the number of new elements that are created during
96
- * numerical factorization. The cheapest method available is COLAMD.
97
- * See \link OrderingMethods_Module the OrderingMethods module \endlink for the list of
98
- * built-in and external ordering methods.
99
- *
100
- * Simple example with key steps
101
- * \code
102
- * VectorXd x(n), b(n);
103
- * SparseMatrix<double> A;
104
- * SparseLU<SparseMatrix<double>, COLAMDOrdering<int> > solver;
105
- * // fill A and b;
106
- * // Compute the ordering permutation vector from the structural pattern of A
107
- * solver.analyzePattern(A);
108
- * // Compute the numerical factorization
109
- * solver.factorize(A);
110
- * //Use the factors to solve the linear system
111
- * x = solver.solve(b);
112
- * \endcode
113
- *
114
- * \warning The input matrix A should be in a \b compressed and \b column-major form.
115
- * Otherwise an expensive copy will be made. You can call the inexpensive makeCompressed() to get a compressed matrix.
116
- *
117
- * \note Unlike the initial SuperLU implementation, there is no step to equilibrate the matrix.
118
- * For badly scaled matrices, this step can be useful to reduce the pivoting during factorization.
119
- * If this is the case for your matrices, you can try the basic scaling method at
120
- * "unsupported/Eigen/src/IterativeSolvers/Scaling.h"
121
- *
122
- * \tparam _MatrixType The type of the sparse matrix. It must be a column-major SparseMatrix<>
123
- * \tparam _OrderingType The ordering method to use, either AMD, COLAMD or METIS. Default is COLMAD
124
- *
125
- * \implsparsesolverconcept
126
- *
127
- * \sa \ref TutorialSparseSolverConcept
128
- * \sa \ref OrderingMethods_Module
129
- */
130
- template <typename _MatrixType, typename _OrderingType>
131
- class SparseLU : public SparseSolverBase<SparseLU<_MatrixType,_OrderingType> >, public internal::SparseLUImpl<typename _MatrixType::Scalar, typename _MatrixType::StorageIndex>
132
- {
133
- protected:
134
- typedef SparseSolverBase<SparseLU<_MatrixType,_OrderingType> > APIBase;
135
- using APIBase::m_isInitialized;
136
- public:
137
- using APIBase::_solve_impl;
138
-
139
- typedef _MatrixType MatrixType;
140
- typedef _OrderingType OrderingType;
141
- typedef typename MatrixType::Scalar Scalar;
142
- typedef typename MatrixType::RealScalar RealScalar;
143
- typedef typename MatrixType::StorageIndex StorageIndex;
144
- typedef SparseMatrix<Scalar,ColMajor,StorageIndex> NCMatrix;
145
- typedef internal::MappedSuperNodalMatrix<Scalar, StorageIndex> SCMatrix;
146
- typedef Matrix<Scalar,Dynamic,1> ScalarVector;
147
- typedef Matrix<StorageIndex,Dynamic,1> IndexVector;
148
- typedef PermutationMatrix<Dynamic, Dynamic, StorageIndex> PermutationType;
149
- typedef internal::SparseLUImpl<Scalar, StorageIndex> Base;
150
-
151
- enum {
152
- ColsAtCompileTime = MatrixType::ColsAtCompileTime,
153
- MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
154
- };
155
-
156
- public:
157
-
158
- SparseLU():m_lastError(""),m_Ustore(0,0,0,0,0,0),m_symmetricmode(false),m_diagpivotthresh(1.0),m_detPermR(1)
159
- {
160
- initperfvalues();
161
- }
162
- explicit SparseLU(const MatrixType& matrix)
163
- : m_lastError(""),m_Ustore(0,0,0,0,0,0),m_symmetricmode(false),m_diagpivotthresh(1.0),m_detPermR(1)
164
- {
165
- initperfvalues();
166
- compute(matrix);
167
- }
168
-
169
- ~SparseLU()
170
- {
171
- // Free all explicit dynamic pointers
172
- }
173
-
174
- void analyzePattern (const MatrixType& matrix);
175
- void factorize (const MatrixType& matrix);
176
- void simplicialfactorize(const MatrixType& matrix);
177
-
178
- /**
179
- * Compute the symbolic and numeric factorization of the input sparse matrix.
180
- * The input matrix should be in column-major storage.
181
- */
182
- void compute (const MatrixType& matrix)
183
- {
184
- // Analyze
185
- analyzePattern(matrix);
186
- //Factorize
187
- factorize(matrix);
188
- }
189
-
190
- /** \returns an expression of the transposed of the factored matrix.
191
- *
192
- * A typical usage is to solve for the transposed problem A^T x = b:
193
- * \code
194
- * solver.compute(A);
195
- * x = solver.transpose().solve(b);
196
- * \endcode
197
- *
198
- * \sa adjoint(), solve()
199
- */
200
- const SparseLUTransposeView<false,SparseLU<_MatrixType,_OrderingType> > transpose()
201
- {
202
- SparseLUTransposeView<false, SparseLU<_MatrixType,_OrderingType> > transposeView;
203
- transposeView.setSparseLU(this);
204
- transposeView.setIsInitialized(this->m_isInitialized);
205
- return transposeView;
206
- }
207
-
208
-
209
- /** \returns an expression of the adjoint of the factored matrix
210
- *
211
- * A typical usage is to solve for the adjoint problem A' x = b:
212
- * \code
213
- * solver.compute(A);
214
- * x = solver.adjoint().solve(b);
215
- * \endcode
216
- *
217
- * For real scalar types, this function is equivalent to transpose().
218
- *
219
- * \sa transpose(), solve()
220
- */
221
- const SparseLUTransposeView<true, SparseLU<_MatrixType,_OrderingType> > adjoint()
222
- {
223
- SparseLUTransposeView<true, SparseLU<_MatrixType,_OrderingType> > adjointView;
224
- adjointView.setSparseLU(this);
225
- adjointView.setIsInitialized(this->m_isInitialized);
226
- return adjointView;
227
- }
228
-
229
- inline Index rows() const { return m_mat.rows(); }
230
- inline Index cols() const { return m_mat.cols(); }
231
- /** Indicate that the pattern of the input matrix is symmetric */
232
- void isSymmetric(bool sym)
233
- {
234
- m_symmetricmode = sym;
235
- }
236
-
237
- /** \returns an expression of the matrix L, internally stored as supernodes
238
- * The only operation available with this expression is the triangular solve
239
- * \code
240
- * y = b; matrixL().solveInPlace(y);
241
- * \endcode
242
- */
243
- SparseLUMatrixLReturnType<SCMatrix> matrixL() const
244
- {
245
- return SparseLUMatrixLReturnType<SCMatrix>(m_Lstore);
246
- }
247
- /** \returns an expression of the matrix U,
248
- * The only operation available with this expression is the triangular solve
249
- * \code
250
- * y = b; matrixU().solveInPlace(y);
251
- * \endcode
252
- */
253
- SparseLUMatrixUReturnType<SCMatrix,MappedSparseMatrix<Scalar,ColMajor,StorageIndex> > matrixU() const
254
- {
255
- return SparseLUMatrixUReturnType<SCMatrix, MappedSparseMatrix<Scalar,ColMajor,StorageIndex> >(m_Lstore, m_Ustore);
256
- }
257
-
258
- /**
259
- * \returns a reference to the row matrix permutation \f$ P_r \f$ such that \f$P_r A P_c^T = L U\f$
260
- * \sa colsPermutation()
261
- */
262
- inline const PermutationType& rowsPermutation() const
263
- {
264
- return m_perm_r;
265
- }
266
- /**
267
- * \returns a reference to the column matrix permutation\f$ P_c^T \f$ such that \f$P_r A P_c^T = L U\f$
268
- * \sa rowsPermutation()
269
- */
270
- inline const PermutationType& colsPermutation() const
271
- {
272
- return m_perm_c;
273
- }
274
- /** Set the threshold used for a diagonal entry to be an acceptable pivot. */
275
- void setPivotThreshold(const RealScalar& thresh)
276
- {
277
- m_diagpivotthresh = thresh;
278
- }
279
-
280
- #ifdef EIGEN_PARSED_BY_DOXYGEN
281
- /** \returns the solution X of \f$ A X = B \f$ using the current decomposition of A.
282
- *
283
- * \warning the destination matrix X in X = this->solve(B) must be colmun-major.
284
- *
285
- * \sa compute()
286
- */
287
- template<typename Rhs>
288
- inline const Solve<SparseLU, Rhs> solve(const MatrixBase<Rhs>& B) const;
289
- #endif // EIGEN_PARSED_BY_DOXYGEN
290
-
291
- /** \brief Reports whether previous computation was successful.
292
- *
293
- * \returns \c Success if computation was successful,
294
- * \c NumericalIssue if the LU factorization reports a problem, zero diagonal for instance
295
- * \c InvalidInput if the input matrix is invalid
296
- *
297
- * \sa iparm()
298
- */
299
- ComputationInfo info() const
300
- {
301
- eigen_assert(m_isInitialized && "Decomposition is not initialized.");
302
- return m_info;
303
- }
304
-
305
- /**
306
- * \returns A string describing the type of error
307
- */
308
- std::string lastErrorMessage() const
309
- {
310
- return m_lastError;
311
- }
312
-
313
- template<typename Rhs, typename Dest>
314
- bool _solve_impl(const MatrixBase<Rhs> &B, MatrixBase<Dest> &X_base) const
315
- {
316
- Dest& X(X_base.derived());
317
- eigen_assert(m_factorizationIsOk && "The matrix should be factorized first");
318
- EIGEN_STATIC_ASSERT((Dest::Flags&RowMajorBit)==0,
319
- THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES);
320
-
321
- // Permute the right hand side to form X = Pr*B
322
- // on return, X is overwritten by the computed solution
323
- X.resize(B.rows(),B.cols());
324
-
325
- // this ugly const_cast_derived() helps to detect aliasing when applying the permutations
326
- for(Index j = 0; j < B.cols(); ++j)
327
- X.col(j) = rowsPermutation() * B.const_cast_derived().col(j);
328
-
329
- //Forward substitution with L
330
- this->matrixL().solveInPlace(X);
331
- this->matrixU().solveInPlace(X);
332
-
333
- // Permute back the solution
334
- for (Index j = 0; j < B.cols(); ++j)
335
- X.col(j) = colsPermutation().inverse() * X.col(j);
336
-
337
- return true;
338
- }
339
-
340
- /**
341
- * \returns the absolute value of the determinant of the matrix of which
342
- * *this is the QR decomposition.
343
- *
344
- * \warning a determinant can be very big or small, so for matrices
345
- * of large enough dimension, there is a risk of overflow/underflow.
346
- * One way to work around that is to use logAbsDeterminant() instead.
347
- *
348
- * \sa logAbsDeterminant(), signDeterminant()
349
- */
350
- Scalar absDeterminant()
351
- {
352
- using std::abs;
353
- eigen_assert(m_factorizationIsOk && "The matrix should be factorized first.");
354
- // Initialize with the determinant of the row matrix
355
- Scalar det = Scalar(1.);
356
- // Note that the diagonal blocks of U are stored in supernodes,
357
- // which are available in the L part :)
358
- for (Index j = 0; j < this->cols(); ++j)
359
- {
360
- for (typename SCMatrix::InnerIterator it(m_Lstore, j); it; ++it)
361
- {
362
- if(it.index() == j)
363
- {
364
- det *= abs(it.value());
365
- break;
366
- }
367
- }
368
- }
369
- return det;
370
- }
371
-
372
- /** \returns the natural log of the absolute value of the determinant of the matrix
373
- * of which **this is the QR decomposition
374
- *
375
- * \note This method is useful to work around the risk of overflow/underflow that's
376
- * inherent to the determinant computation.
377
- *
378
- * \sa absDeterminant(), signDeterminant()
379
- */
380
- Scalar logAbsDeterminant() const
381
- {
382
- using std::log;
383
- using std::abs;
384
-
385
- eigen_assert(m_factorizationIsOk && "The matrix should be factorized first.");
386
- Scalar det = Scalar(0.);
387
- for (Index j = 0; j < this->cols(); ++j)
388
- {
389
- for (typename SCMatrix::InnerIterator it(m_Lstore, j); it; ++it)
390
- {
391
- if(it.row() < j) continue;
392
- if(it.row() == j)
393
- {
394
- det += log(abs(it.value()));
395
- break;
396
- }
397
- }
398
- }
399
- return det;
400
- }
401
-
402
- /** \returns A number representing the sign of the determinant
403
- *
404
- * \sa absDeterminant(), logAbsDeterminant()
405
- */
406
- Scalar signDeterminant()
407
- {
408
- eigen_assert(m_factorizationIsOk && "The matrix should be factorized first.");
409
- // Initialize with the determinant of the row matrix
410
- Index det = 1;
411
- // Note that the diagonal blocks of U are stored in supernodes,
412
- // which are available in the L part :)
413
- for (Index j = 0; j < this->cols(); ++j)
414
- {
415
- for (typename SCMatrix::InnerIterator it(m_Lstore, j); it; ++it)
416
- {
417
- if(it.index() == j)
418
- {
419
- if(it.value()<0)
420
- det = -det;
421
- else if(it.value()==0)
422
- return 0;
423
- break;
424
- }
425
- }
426
- }
427
- return det * m_detPermR * m_detPermC;
428
- }
429
-
430
- /** \returns The determinant of the matrix.
431
- *
432
- * \sa absDeterminant(), logAbsDeterminant()
433
- */
434
- Scalar determinant()
435
- {
436
- eigen_assert(m_factorizationIsOk && "The matrix should be factorized first.");
437
- // Initialize with the determinant of the row matrix
438
- Scalar det = Scalar(1.);
439
- // Note that the diagonal blocks of U are stored in supernodes,
440
- // which are available in the L part :)
441
- for (Index j = 0; j < this->cols(); ++j)
442
- {
443
- for (typename SCMatrix::InnerIterator it(m_Lstore, j); it; ++it)
444
- {
445
- if(it.index() == j)
446
- {
447
- det *= it.value();
448
- break;
449
- }
450
- }
451
- }
452
- return (m_detPermR * m_detPermC) > 0 ? det : -det;
453
- }
454
-
455
- Index nnzL() const { return m_nnzL; };
456
- Index nnzU() const { return m_nnzU; };
457
-
458
- protected:
459
- // Functions
460
- void initperfvalues()
461
- {
462
- m_perfv.panel_size = 16;
463
- m_perfv.relax = 1;
464
- m_perfv.maxsuper = 128;
465
- m_perfv.rowblk = 16;
466
- m_perfv.colblk = 8;
467
- m_perfv.fillfactor = 20;
468
- }
469
-
470
- // Variables
471
- mutable ComputationInfo m_info;
472
- bool m_factorizationIsOk;
473
- bool m_analysisIsOk;
474
- std::string m_lastError;
475
- NCMatrix m_mat; // The input (permuted ) matrix
476
- SCMatrix m_Lstore; // The lower triangular matrix (supernodal)
477
- MappedSparseMatrix<Scalar,ColMajor,StorageIndex> m_Ustore; // The upper triangular matrix
478
- PermutationType m_perm_c; // Column permutation
479
- PermutationType m_perm_r ; // Row permutation
480
- IndexVector m_etree; // Column elimination tree
481
-
482
- typename Base::GlobalLU_t m_glu;
483
-
484
- // SparseLU options
485
- bool m_symmetricmode;
486
- // values for performance
487
- internal::perfvalues m_perfv;
488
- RealScalar m_diagpivotthresh; // Specifies the threshold used for a diagonal entry to be an acceptable pivot
489
- Index m_nnzL, m_nnzU; // Nonzeros in L and U factors
490
- Index m_detPermR, m_detPermC; // Determinants of the permutation matrices
491
- private:
492
- // Disable copy constructor
493
- SparseLU (const SparseLU& );
494
- }; // End class SparseLU
495
-
496
-
497
-
498
- // Functions needed by the anaysis phase
499
- /**
500
- * Compute the column permutation to minimize the fill-in
501
- *
502
- * - Apply this permutation to the input matrix -
503
- *
504
- * - Compute the column elimination tree on the permuted matrix
505
- *
506
- * - Postorder the elimination tree and the column permutation
507
- *
508
- */
509
- template <typename MatrixType, typename OrderingType>
510
- void SparseLU<MatrixType, OrderingType>::analyzePattern(const MatrixType& mat)
511
- {
512
-
513
- //TODO It is possible as in SuperLU to compute row and columns scaling vectors to equilibrate the matrix mat.
514
-
515
- // Firstly, copy the whole input matrix.
516
- m_mat = mat;
517
-
518
- // Compute fill-in ordering
519
- OrderingType ord;
520
- ord(m_mat,m_perm_c);
521
-
522
- // Apply the permutation to the column of the input matrix
523
- if (m_perm_c.size())
524
- {
525
- m_mat.uncompress(); //NOTE: The effect of this command is only to create the InnerNonzeros pointers. FIXME : This vector is filled but not subsequently used.
526
- // Then, permute only the column pointers
527
- ei_declare_aligned_stack_constructed_variable(StorageIndex,outerIndexPtr,mat.cols()+1,mat.isCompressed()?const_cast<StorageIndex*>(mat.outerIndexPtr()):0);
528
-
529
- // If the input matrix 'mat' is uncompressed, then the outer-indices do not match the ones of m_mat, and a copy is thus needed.
530
- if(!mat.isCompressed())
531
- IndexVector::Map(outerIndexPtr, mat.cols()+1) = IndexVector::Map(m_mat.outerIndexPtr(),mat.cols()+1);
532
-
533
- // Apply the permutation and compute the nnz per column.
534
- for (Index i = 0; i < mat.cols(); i++)
535
- {
536
- m_mat.outerIndexPtr()[m_perm_c.indices()(i)] = outerIndexPtr[i];
537
- m_mat.innerNonZeroPtr()[m_perm_c.indices()(i)] = outerIndexPtr[i+1] - outerIndexPtr[i];
538
- }
539
- }
540
-
541
- // Compute the column elimination tree of the permuted matrix
542
- IndexVector firstRowElt;
543
- internal::coletree(m_mat, m_etree,firstRowElt);
544
-
545
- // In symmetric mode, do not do postorder here
546
- if (!m_symmetricmode) {
547
- IndexVector post, iwork;
548
- // Post order etree
549
- internal::treePostorder(StorageIndex(m_mat.cols()), m_etree, post);
550
-
551
-
552
- // Renumber etree in postorder
553
- Index m = m_mat.cols();
554
- iwork.resize(m+1);
555
- for (Index i = 0; i < m; ++i) iwork(post(i)) = post(m_etree(i));
556
- m_etree = iwork;
557
-
558
- // Postmultiply A*Pc by post, i.e reorder the matrix according to the postorder of the etree
559
- PermutationType post_perm(m);
560
- for (Index i = 0; i < m; i++)
561
- post_perm.indices()(i) = post(i);
562
-
563
- // Combine the two permutations : postorder the permutation for future use
564
- if(m_perm_c.size()) {
565
- m_perm_c = post_perm * m_perm_c;
566
- }
567
-
568
- } // end postordering
569
-
570
- m_analysisIsOk = true;
571
- }
572
-
573
- // Functions needed by the numerical factorization phase
574
-
575
-
576
- /**
577
- * - Numerical factorization
578
- * - Interleaved with the symbolic factorization
579
- * On exit, info is
580
- *
581
- * = 0: successful factorization
582
- *
583
- * > 0: if info = i, and i is
584
- *
585
- * <= A->ncol: U(i,i) is exactly zero. The factorization has
586
- * been completed, but the factor U is exactly singular,
587
- * and division by zero will occur if it is used to solve a
588
- * system of equations.
589
- *
590
- * > A->ncol: number of bytes allocated when memory allocation
591
- * failure occurred, plus A->ncol. If lwork = -1, it is
592
- * the estimated amount of space needed, plus A->ncol.
593
- */
594
- template <typename MatrixType, typename OrderingType>
595
- void SparseLU<MatrixType, OrderingType>::factorize(const MatrixType& matrix)
596
- {
597
- using internal::emptyIdxLU;
598
- eigen_assert(m_analysisIsOk && "analyzePattern() should be called first");
599
- eigen_assert((matrix.rows() == matrix.cols()) && "Only for squared matrices");
600
-
601
- m_isInitialized = true;
602
-
603
- // Apply the column permutation computed in analyzepattern()
604
- // m_mat = matrix * m_perm_c.inverse();
605
- m_mat = matrix;
606
- if (m_perm_c.size())
607
- {
608
- m_mat.uncompress(); //NOTE: The effect of this command is only to create the InnerNonzeros pointers.
609
- //Then, permute only the column pointers
610
- const StorageIndex * outerIndexPtr;
611
- if (matrix.isCompressed()) outerIndexPtr = matrix.outerIndexPtr();
612
- else
613
- {
614
- StorageIndex* outerIndexPtr_t = new StorageIndex[matrix.cols()+1];
615
- for(Index i = 0; i <= matrix.cols(); i++) outerIndexPtr_t[i] = m_mat.outerIndexPtr()[i];
616
- outerIndexPtr = outerIndexPtr_t;
617
- }
618
- for (Index i = 0; i < matrix.cols(); i++)
619
- {
620
- m_mat.outerIndexPtr()[m_perm_c.indices()(i)] = outerIndexPtr[i];
621
- m_mat.innerNonZeroPtr()[m_perm_c.indices()(i)] = outerIndexPtr[i+1] - outerIndexPtr[i];
622
- }
623
- if(!matrix.isCompressed()) delete[] outerIndexPtr;
624
- }
625
- else
626
- { //FIXME This should not be needed if the empty permutation is handled transparently
627
- m_perm_c.resize(matrix.cols());
628
- for(StorageIndex i = 0; i < matrix.cols(); ++i) m_perm_c.indices()(i) = i;
629
- }
630
-
631
- Index m = m_mat.rows();
632
- Index n = m_mat.cols();
633
- Index nnz = m_mat.nonZeros();
634
- Index maxpanel = m_perfv.panel_size * m;
635
- // Allocate working storage common to the factor routines
636
- Index lwork = 0;
637
- Index info = Base::memInit(m, n, nnz, lwork, m_perfv.fillfactor, m_perfv.panel_size, m_glu);
638
- if (info)
639
- {
640
- m_lastError = "UNABLE TO ALLOCATE WORKING MEMORY\n\n" ;
641
- m_factorizationIsOk = false;
642
- return ;
643
- }
644
-
645
- // Set up pointers for integer working arrays
646
- IndexVector segrep(m); segrep.setZero();
647
- IndexVector parent(m); parent.setZero();
648
- IndexVector xplore(m); xplore.setZero();
649
- IndexVector repfnz(maxpanel);
650
- IndexVector panel_lsub(maxpanel);
651
- IndexVector xprune(n); xprune.setZero();
652
- IndexVector marker(m*internal::LUNoMarker); marker.setZero();
653
-
654
- repfnz.setConstant(-1);
655
- panel_lsub.setConstant(-1);
656
-
657
- // Set up pointers for scalar working arrays
658
- ScalarVector dense;
659
- dense.setZero(maxpanel);
660
- ScalarVector tempv;
661
- tempv.setZero(internal::LUnumTempV(m, m_perfv.panel_size, m_perfv.maxsuper, /*m_perfv.rowblk*/m) );
662
-
663
- // Compute the inverse of perm_c
664
- PermutationType iperm_c(m_perm_c.inverse());
665
-
666
- // Identify initial relaxed snodes
667
- IndexVector relax_end(n);
668
- if ( m_symmetricmode == true )
669
- Base::heap_relax_snode(n, m_etree, m_perfv.relax, marker, relax_end);
670
- else
671
- Base::relax_snode(n, m_etree, m_perfv.relax, marker, relax_end);
672
-
673
-
674
- m_perm_r.resize(m);
675
- m_perm_r.indices().setConstant(-1);
676
- marker.setConstant(-1);
677
- m_detPermR = 1; // Record the determinant of the row permutation
678
-
679
- m_glu.supno(0) = emptyIdxLU; m_glu.xsup.setConstant(0);
680
- m_glu.xsup(0) = m_glu.xlsub(0) = m_glu.xusub(0) = m_glu.xlusup(0) = Index(0);
681
-
682
- // Work on one 'panel' at a time. A panel is one of the following :
683
- // (a) a relaxed supernode at the bottom of the etree, or
684
- // (b) panel_size contiguous columns, <panel_size> defined by the user
685
- Index jcol;
686
- Index pivrow; // Pivotal row number in the original row matrix
687
- Index nseg1; // Number of segments in U-column above panel row jcol
688
- Index nseg; // Number of segments in each U-column
689
- Index irep;
690
- Index i, k, jj;
691
- for (jcol = 0; jcol < n; )
692
- {
693
- // Adjust panel size so that a panel won't overlap with the next relaxed snode.
694
- Index panel_size = m_perfv.panel_size; // upper bound on panel width
695
- for (k = jcol + 1; k < (std::min)(jcol+panel_size, n); k++)
696
- {
697
- if (relax_end(k) != emptyIdxLU)
698
- {
699
- panel_size = k - jcol;
700
- break;
701
- }
702
- }
703
- if (k == n)
704
- panel_size = n - jcol;
705
-
706
- // Symbolic outer factorization on a panel of columns
707
- Base::panel_dfs(m, panel_size, jcol, m_mat, m_perm_r.indices(), nseg1, dense, panel_lsub, segrep, repfnz, xprune, marker, parent, xplore, m_glu);
708
-
709
- // Numeric sup-panel updates in topological order
710
- Base::panel_bmod(m, panel_size, jcol, nseg1, dense, tempv, segrep, repfnz, m_glu);
711
-
712
- // Sparse LU within the panel, and below the panel diagonal
713
- for ( jj = jcol; jj< jcol + panel_size; jj++)
714
- {
715
- k = (jj - jcol) * m; // Column index for w-wide arrays
716
-
717
- nseg = nseg1; // begin after all the panel segments
718
- //Depth-first-search for the current column
719
- VectorBlock<IndexVector> panel_lsubk(panel_lsub, k, m);
720
- VectorBlock<IndexVector> repfnz_k(repfnz, k, m);
721
- info = Base::column_dfs(m, jj, m_perm_r.indices(), m_perfv.maxsuper, nseg, panel_lsubk, segrep, repfnz_k, xprune, marker, parent, xplore, m_glu);
722
- if ( info )
723
- {
724
- m_lastError = "UNABLE TO EXPAND MEMORY IN COLUMN_DFS() ";
725
- m_info = NumericalIssue;
726
- m_factorizationIsOk = false;
727
- return;
728
- }
729
- // Numeric updates to this column
730
- VectorBlock<ScalarVector> dense_k(dense, k, m);
731
- VectorBlock<IndexVector> segrep_k(segrep, nseg1, m-nseg1);
732
- info = Base::column_bmod(jj, (nseg - nseg1), dense_k, tempv, segrep_k, repfnz_k, jcol, m_glu);
733
- if ( info )
734
- {
735
- m_lastError = "UNABLE TO EXPAND MEMORY IN COLUMN_BMOD() ";
736
- m_info = NumericalIssue;
737
- m_factorizationIsOk = false;
738
- return;
739
- }
740
-
741
- // Copy the U-segments to ucol(*)
742
- info = Base::copy_to_ucol(jj, nseg, segrep, repfnz_k ,m_perm_r.indices(), dense_k, m_glu);
743
- if ( info )
744
- {
745
- m_lastError = "UNABLE TO EXPAND MEMORY IN COPY_TO_UCOL() ";
746
- m_info = NumericalIssue;
747
- m_factorizationIsOk = false;
748
- return;
749
- }
750
-
751
- // Form the L-segment
752
- info = Base::pivotL(jj, m_diagpivotthresh, m_perm_r.indices(), iperm_c.indices(), pivrow, m_glu);
753
- if ( info )
754
- {
755
- m_lastError = "THE MATRIX IS STRUCTURALLY SINGULAR ... ZERO COLUMN AT ";
756
- std::ostringstream returnInfo;
757
- returnInfo << info;
758
- m_lastError += returnInfo.str();
759
- m_info = NumericalIssue;
760
- m_factorizationIsOk = false;
761
- return;
762
- }
763
-
764
- // Update the determinant of the row permutation matrix
765
- // FIXME: the following test is not correct, we should probably take iperm_c into account and pivrow is not directly the row pivot.
766
- if (pivrow != jj) m_detPermR = -m_detPermR;
767
-
768
- // Prune columns (0:jj-1) using column jj
769
- Base::pruneL(jj, m_perm_r.indices(), pivrow, nseg, segrep, repfnz_k, xprune, m_glu);
770
-
771
- // Reset repfnz for this column
772
- for (i = 0; i < nseg; i++)
773
- {
774
- irep = segrep(i);
775
- repfnz_k(irep) = emptyIdxLU;
776
- }
777
- } // end SparseLU within the panel
778
- jcol += panel_size; // Move to the next panel
779
- } // end for -- end elimination
780
-
781
- m_detPermR = m_perm_r.determinant();
782
- m_detPermC = m_perm_c.determinant();
783
-
784
- // Count the number of nonzeros in factors
785
- Base::countnz(n, m_nnzL, m_nnzU, m_glu);
786
- // Apply permutation to the L subscripts
787
- Base::fixupL(n, m_perm_r.indices(), m_glu);
788
-
789
- // Create supernode matrix L
790
- m_Lstore.setInfos(m, n, m_glu.lusup, m_glu.xlusup, m_glu.lsub, m_glu.xlsub, m_glu.supno, m_glu.xsup);
791
- // Create the column major upper sparse matrix U;
792
- new (&m_Ustore) MappedSparseMatrix<Scalar, ColMajor, StorageIndex> ( m, n, m_nnzU, m_glu.xusub.data(), m_glu.usub.data(), m_glu.ucol.data() );
793
-
794
- m_info = Success;
795
- m_factorizationIsOk = true;
796
- }
797
-
798
- template<typename MappedSupernodalType>
799
- struct SparseLUMatrixLReturnType : internal::no_assignment_operator
800
- {
801
- typedef typename MappedSupernodalType::Scalar Scalar;
802
- explicit SparseLUMatrixLReturnType(const MappedSupernodalType& mapL) : m_mapL(mapL)
803
- { }
804
- Index rows() const { return m_mapL.rows(); }
805
- Index cols() const { return m_mapL.cols(); }
806
- template<typename Dest>
807
- void solveInPlace( MatrixBase<Dest> &X) const
808
- {
809
- m_mapL.solveInPlace(X);
810
- }
811
- template<bool Conjugate, typename Dest>
812
- void solveTransposedInPlace( MatrixBase<Dest> &X) const
813
- {
814
- m_mapL.template solveTransposedInPlace<Conjugate>(X);
815
- }
816
-
817
- const MappedSupernodalType& m_mapL;
818
- };
819
-
820
- template<typename MatrixLType, typename MatrixUType>
821
- struct SparseLUMatrixUReturnType : internal::no_assignment_operator
822
- {
823
- typedef typename MatrixLType::Scalar Scalar;
824
- SparseLUMatrixUReturnType(const MatrixLType& mapL, const MatrixUType& mapU)
825
- : m_mapL(mapL),m_mapU(mapU)
826
- { }
827
- Index rows() const { return m_mapL.rows(); }
828
- Index cols() const { return m_mapL.cols(); }
829
-
830
- template<typename Dest> void solveInPlace(MatrixBase<Dest> &X) const
831
- {
832
- Index nrhs = X.cols();
833
- Index n = X.rows();
834
- // Backward solve with U
835
- for (Index k = m_mapL.nsuper(); k >= 0; k--)
836
- {
837
- Index fsupc = m_mapL.supToCol()[k];
838
- Index lda = m_mapL.colIndexPtr()[fsupc+1] - m_mapL.colIndexPtr()[fsupc]; // leading dimension
839
- Index nsupc = m_mapL.supToCol()[k+1] - fsupc;
840
- Index luptr = m_mapL.colIndexPtr()[fsupc];
841
-
842
- if (nsupc == 1)
843
- {
844
- for (Index j = 0; j < nrhs; j++)
845
- {
846
- X(fsupc, j) /= m_mapL.valuePtr()[luptr];
847
- }
848
- }
849
- else
850
- {
851
- // FIXME: the following lines should use Block expressions and not Map!
852
- Map<const Matrix<Scalar,Dynamic,Dynamic, ColMajor>, 0, OuterStride<> > A( &(m_mapL.valuePtr()[luptr]), nsupc, nsupc, OuterStride<>(lda) );
853
- Map< Matrix<Scalar,Dynamic,Dest::ColsAtCompileTime, ColMajor>, 0, OuterStride<> > U (&(X.coeffRef(fsupc,0)), nsupc, nrhs, OuterStride<>(n) );
854
- U = A.template triangularView<Upper>().solve(U);
855
- }
856
-
857
- for (Index j = 0; j < nrhs; ++j)
858
- {
859
- for (Index jcol = fsupc; jcol < fsupc + nsupc; jcol++)
860
- {
861
- typename MatrixUType::InnerIterator it(m_mapU, jcol);
862
- for ( ; it; ++it)
863
- {
864
- Index irow = it.index();
865
- X(irow, j) -= X(jcol, j) * it.value();
866
- }
867
- }
868
- }
869
- } // End For U-solve
870
- }
871
-
872
- template<bool Conjugate, typename Dest> void solveTransposedInPlace(MatrixBase<Dest> &X) const
873
- {
874
- using numext::conj;
875
- Index nrhs = X.cols();
876
- Index n = X.rows();
877
- // Forward solve with U
878
- for (Index k = 0; k <= m_mapL.nsuper(); k++)
879
- {
880
- Index fsupc = m_mapL.supToCol()[k];
881
- Index lda = m_mapL.colIndexPtr()[fsupc+1] - m_mapL.colIndexPtr()[fsupc]; // leading dimension
882
- Index nsupc = m_mapL.supToCol()[k+1] - fsupc;
883
- Index luptr = m_mapL.colIndexPtr()[fsupc];
884
-
885
- for (Index j = 0; j < nrhs; ++j)
886
- {
887
- for (Index jcol = fsupc; jcol < fsupc + nsupc; jcol++)
888
- {
889
- typename MatrixUType::InnerIterator it(m_mapU, jcol);
890
- for ( ; it; ++it)
891
- {
892
- Index irow = it.index();
893
- X(jcol, j) -= X(irow, j) * (Conjugate? conj(it.value()): it.value());
894
- }
895
- }
896
- }
897
- if (nsupc == 1)
898
- {
899
- for (Index j = 0; j < nrhs; j++)
900
- {
901
- X(fsupc, j) /= (Conjugate? conj(m_mapL.valuePtr()[luptr]) : m_mapL.valuePtr()[luptr]);
902
- }
903
- }
904
- else
905
- {
906
- Map<const Matrix<Scalar,Dynamic,Dynamic, ColMajor>, 0, OuterStride<> > A( &(m_mapL.valuePtr()[luptr]), nsupc, nsupc, OuterStride<>(lda) );
907
- Map< Matrix<Scalar,Dynamic,Dest::ColsAtCompileTime, ColMajor>, 0, OuterStride<> > U (&(X(fsupc,0)), nsupc, nrhs, OuterStride<>(n) );
908
- if(Conjugate)
909
- U = A.adjoint().template triangularView<Lower>().solve(U);
910
- else
911
- U = A.transpose().template triangularView<Lower>().solve(U);
912
- }
913
- }// End For U-solve
914
- }
915
-
916
-
917
- const MatrixLType& m_mapL;
918
- const MatrixUType& m_mapU;
919
- };
920
-
921
- } // End namespace Eigen
922
-
923
- #endif