peigentux 2.1.0__tar.gz → 2.2.0__tar.gz

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.
Files changed (522) hide show
  1. {peigentux-2.1.0 → peigentux-2.2.0}/CHANGELOG.md +66 -1
  2. {peigentux-2.1.0 → peigentux-2.2.0}/DEV.md +19 -0
  3. {peigentux-2.1.0 → peigentux-2.2.0}/PKG-INFO +59 -14
  4. {peigentux-2.1.0 → peigentux-2.2.0}/README.md +58 -13
  5. {peigentux-2.1.0 → peigentux-2.2.0}/RELEASING.md +2 -2
  6. {peigentux-2.1.0 → peigentux-2.2.0}/benchmarks/bench_sparse.py +12 -18
  7. {peigentux-2.1.0 → peigentux-2.2.0}/pyproject.toml +1 -1
  8. {peigentux-2.1.0 → peigentux-2.2.0}/python/peigen/decomp.py +1 -0
  9. {peigentux-2.1.0 → peigentux-2.2.0}/python/peigen/sparse.py +143 -1
  10. {peigentux-2.1.0 → peigentux-2.2.0}/src/bindings/module.cpp +812 -172
  11. {peigentux-2.1.0 → peigentux-2.2.0}/tests/test_input_robustness.py +1 -1
  12. peigentux-2.2.0/tests/test_sparse_correctness.py +230 -0
  13. peigentux-2.2.0/tests/test_sparse_factors.py +115 -0
  14. peigentux-2.2.0/tests/test_sparse_lstsq.py +231 -0
  15. peigentux-2.2.0/tests/test_website_examples.py +49 -0
  16. peigentux-2.2.0/website/404.html +99 -0
  17. peigentux-2.2.0/website/CNAME +1 -0
  18. peigentux-2.2.0/website/algorithms.html +270 -0
  19. peigentux-2.2.0/website/assets/bench-cholesky-data.js +2 -0
  20. peigentux-2.2.0/website/assets/bench.js +339 -0
  21. peigentux-2.2.0/website/assets/logo.svg +1 -0
  22. peigentux-2.2.0/website/assets/site.js +204 -0
  23. peigentux-2.2.0/website/assets/style.css +1065 -0
  24. peigentux-2.2.0/website/benchmarks.html +228 -0
  25. peigentux-2.2.0/website/examples.html +378 -0
  26. peigentux-2.2.0/website/index.html +200 -0
  27. peigentux-2.2.0/website/install.html +180 -0
  28. peigentux-2.2.0/website/llms.txt +47 -0
  29. peigentux-2.2.0/website/robots.txt +4 -0
  30. peigentux-2.2.0/website/sitemap.xml +39 -0
  31. peigentux-2.1.0/tests/test_sparse_correctness.py +0 -98
  32. {peigentux-2.1.0 → peigentux-2.2.0}/.gitignore +0 -0
  33. {peigentux-2.1.0 → peigentux-2.2.0}/.gitmodules +0 -0
  34. {peigentux-2.1.0 → peigentux-2.2.0}/CMakeLists.txt +0 -0
  35. {peigentux-2.1.0 → peigentux-2.2.0}/LICENSE +0 -0
  36. {peigentux-2.1.0 → peigentux-2.2.0}/benchmarks/_table.py +0 -0
  37. {peigentux-2.1.0 → peigentux-2.2.0}/benchmarks/bench_cholesky.py +0 -0
  38. {peigentux-2.1.0 → peigentux-2.2.0}/benchmarks/bench_dense.py +0 -0
  39. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/COPYING.APACHE +0 -0
  40. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/COPYING.BSD +0 -0
  41. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/COPYING.MINPACK +0 -0
  42. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/COPYING.MPL2 +0 -0
  43. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/COPYING.README +0 -0
  44. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/AccelerateSupport +0 -0
  45. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Cholesky +0 -0
  46. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/CholmodSupport +0 -0
  47. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Core +0 -0
  48. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Dense +0 -0
  49. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Eigen +0 -0
  50. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Eigenvalues +0 -0
  51. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Geometry +0 -0
  52. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Householder +0 -0
  53. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/IterativeLinearSolvers +0 -0
  54. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Jacobi +0 -0
  55. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/KLUSupport +0 -0
  56. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/LU +0 -0
  57. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/MetisSupport +0 -0
  58. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/OrderingMethods +0 -0
  59. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/PaStiXSupport +0 -0
  60. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/PardisoSupport +0 -0
  61. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/QR +0 -0
  62. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/SPQRSupport +0 -0
  63. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/SVD +0 -0
  64. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Sparse +0 -0
  65. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/SparseCholesky +0 -0
  66. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/SparseCore +0 -0
  67. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/SparseLU +0 -0
  68. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/SparseQR +0 -0
  69. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/StdDeque +0 -0
  70. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/StdList +0 -0
  71. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/StdVector +0 -0
  72. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/SuperLUSupport +0 -0
  73. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/ThreadPool +0 -0
  74. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/UmfPackSupport +0 -0
  75. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/Version +0 -0
  76. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/AccelerateSupport/AccelerateSupport.h +0 -0
  77. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/AccelerateSupport/InternalHeaderCheck.h +0 -0
  78. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Cholesky/BunchKaufman.h +0 -0
  79. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Cholesky/InternalHeaderCheck.h +0 -0
  80. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Cholesky/LDLT.h +0 -0
  81. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Cholesky/LLT.h +0 -0
  82. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -0
  83. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/CholmodSupport/CholmodSupport.h +0 -0
  84. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/CholmodSupport/InternalHeaderCheck.h +0 -0
  85. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ApproxComparisons.h +0 -0
  86. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ArithmeticSequence.h +0 -0
  87. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Array.h +0 -0
  88. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ArrayBase.h +0 -0
  89. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ArrayWrapper.h +0 -0
  90. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Assign.h +0 -0
  91. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/AssignEvaluator.h +0 -0
  92. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Assign_AOCL.h +0 -0
  93. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Assign_MKL.h +0 -0
  94. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/BandMatrix.h +0 -0
  95. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Block.h +0 -0
  96. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/CommaInitializer.h +0 -0
  97. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ConcatOp.h +0 -0
  98. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ConditionEstimator.h +0 -0
  99. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/CoreEvaluators.h +0 -0
  100. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/CoreIterators.h +0 -0
  101. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/CwiseBinaryOp.h +0 -0
  102. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/CwiseNullaryOp.h +0 -0
  103. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/CwiseTernaryOp.h +0 -0
  104. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/CwiseUnaryOp.h +0 -0
  105. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/CwiseUnaryView.h +0 -0
  106. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/DenseBase.h +0 -0
  107. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/DenseCoeffsBase.h +0 -0
  108. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/DenseStorage.h +0 -0
  109. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/DeviceWrapper.h +0 -0
  110. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Diagonal.h +0 -0
  111. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/DiagonalMatrix.h +0 -0
  112. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/DiagonalProduct.h +0 -0
  113. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Dot.h +0 -0
  114. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/EigenBase.h +0 -0
  115. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Fill.h +0 -0
  116. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/FindCoeff.h +0 -0
  117. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/GeneralProduct.h +0 -0
  118. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/GenericPacketMath.h +0 -0
  119. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/GlobalFunctions.h +0 -0
  120. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/IO.h +0 -0
  121. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/IndexedView.h +0 -0
  122. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/InnerProduct.h +0 -0
  123. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/IntegerDivision.h +0 -0
  124. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/InternalHeaderCheck.h +0 -0
  125. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Inverse.h +0 -0
  126. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Map.h +0 -0
  127. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/MapBase.h +0 -0
  128. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/MathFunctions.h +0 -0
  129. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/MathFunctionsImpl.h +0 -0
  130. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Matrix.h +0 -0
  131. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/MatrixBase.h +0 -0
  132. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/MatrixNorms.h +0 -0
  133. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/NestByValue.h +0 -0
  134. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/NoAlias.h +0 -0
  135. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/NumTraits.h +0 -0
  136. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/PartialReduxEvaluator.h +0 -0
  137. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/PermutationMatrix.h +0 -0
  138. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/PlainObjectBase.h +0 -0
  139. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Predicator.h +0 -0
  140. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Product.h +0 -0
  141. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ProductEvaluators.h +0 -0
  142. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Random.h +0 -0
  143. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/RandomImpl.h +0 -0
  144. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/RankRevealingBase.h +0 -0
  145. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/RealView.h +0 -0
  146. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Redux.h +0 -0
  147. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Ref.h +0 -0
  148. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Replicate.h +0 -0
  149. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Reshaped.h +0 -0
  150. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ReturnByValue.h +0 -0
  151. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Reverse.h +0 -0
  152. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/SafeScaling.h +0 -0
  153. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/ScaledPermutationMatrix.h +0 -0
  154. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Select.h +0 -0
  155. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/SelfAdjointView.h +0 -0
  156. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -0
  157. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/SkewSymmetricMatrix3.h +0 -0
  158. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Solve.h +0 -0
  159. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/SolveTriangular.h +0 -0
  160. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/SolverBase.h +0 -0
  161. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/StableNorm.h +0 -0
  162. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/StlIterators.h +0 -0
  163. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Stride.h +0 -0
  164. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/StructuredBindings.h +0 -0
  165. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Swap.h +0 -0
  166. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Transpose.h +0 -0
  167. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Transpositions.h +0 -0
  168. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/TriangularInPlace.h +0 -0
  169. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/TriangularMatrix.h +0 -0
  170. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/VectorBlock.h +0 -0
  171. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/VectorwiseOp.h +0 -0
  172. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/Visitor.h +0 -0
  173. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX/Complex.h +0 -0
  174. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -0
  175. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX/PacketMath.h +0 -0
  176. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX/Reductions.h +0 -0
  177. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -0
  178. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/Complex.h +0 -0
  179. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/GemmKernel.h +0 -0
  180. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -0
  181. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/MathFunctionsFP16.h +0 -0
  182. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -0
  183. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/PacketMathFP16.h +0 -0
  184. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/Reductions.h +0 -0
  185. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/TrsmKernel.h +0 -0
  186. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/TrsmUnrolls.inc +0 -0
  187. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -0
  188. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AVX512/TypeCastingFP16.h +0 -0
  189. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/Complex.h +0 -0
  190. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -0
  191. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -0
  192. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -0
  193. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -0
  194. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +0 -0
  195. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.inc +0 -0
  196. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -0
  197. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/AltiVec/TypeCasting.h +0 -0
  198. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/BFloat16.h +0 -0
  199. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/ConjHelper.h +0 -0
  200. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/GenericPacketMathComplex.h +0 -0
  201. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/GenericPacketMathDoubleWord.h +0 -0
  202. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/GenericPacketMathFrexpLdexp.h +0 -0
  203. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -0
  204. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -0
  205. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/GenericPacketMathPolynomials.h +0 -0
  206. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/GenericPacketMathPow.h +0 -0
  207. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/GenericPacketMathTrig.h +0 -0
  208. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/Half.h +0 -0
  209. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/Default/Settings.h +0 -0
  210. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/GPU/Complex.h +0 -0
  211. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -0
  212. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/GPU/PacketMath.h +0 -0
  213. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/GPU/Tuple.h +0 -0
  214. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -0
  215. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/HVX/PacketMath.h +0 -0
  216. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/LSX/Complex.h +0 -0
  217. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/LSX/GeneralBlockPanelKernel.h +0 -0
  218. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/LSX/MathFunctions.h +0 -0
  219. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/LSX/PacketMath.h +0 -0
  220. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/LSX/TypeCasting.h +0 -0
  221. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/MSA/Complex.h +0 -0
  222. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -0
  223. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/MSA/PacketMath.h +0 -0
  224. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/NEON/Complex.h +0 -0
  225. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -0
  226. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -0
  227. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/NEON/PacketMath.h +0 -0
  228. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/NEON/PacketMathBF16.h +0 -0
  229. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -0
  230. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/NEON/UnaryFunctors.h +0 -0
  231. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/Complex.h +0 -0
  232. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/Complex2.h +0 -0
  233. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/GeneralBlockPanelKernel.h +0 -0
  234. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/MathFunctions.h +0 -0
  235. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/PacketMath.h +0 -0
  236. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/PacketMath2.h +0 -0
  237. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/PacketMath4.h +0 -0
  238. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/PacketMathBF16.h +0 -0
  239. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/PacketMathDecl.h +0 -0
  240. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/PacketMathFP16.h +0 -0
  241. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/RVV10/TypeCasting.h +0 -0
  242. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SME/GeneralBlockPanelKernel.h +0 -0
  243. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SME/PacketMath.h +0 -0
  244. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SME/VectorKernels.h +0 -0
  245. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SSE/Complex.h +0 -0
  246. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -0
  247. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SSE/PacketMath.h +0 -0
  248. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SSE/Reductions.h +0 -0
  249. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -0
  250. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SVE/Complex.h +0 -0
  251. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SVE/GeneralBlockPanelKernel.h +0 -0
  252. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -0
  253. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SVE/PacketMath.h +0 -0
  254. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -0
  255. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -0
  256. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -0
  257. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -0
  258. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -0
  259. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/ZVector/Complex.h +0 -0
  260. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -0
  261. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -0
  262. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/clang/Complex.h +0 -0
  263. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/clang/MathFunctions.h +0 -0
  264. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/clang/PacketMath.h +0 -0
  265. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/clang/Reductions.h +0 -0
  266. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/arch/clang/TypeCasting.h +0 -0
  267. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/functors/AssignmentFunctors.h +0 -0
  268. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/functors/BinaryFunctors.h +0 -0
  269. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/functors/NullaryFunctors.h +0 -0
  270. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/functors/StlFunctors.h +0 -0
  271. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/functors/TernaryFunctors.h +0 -0
  272. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/functors/UnaryFunctors.h +0 -0
  273. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -0
  274. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -0
  275. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -0
  276. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -0
  277. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -0
  278. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/GeneralMatrixVector.h +0 -0
  279. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -0
  280. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/Parallelizer.h +0 -0
  281. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -0
  282. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -0
  283. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -0
  284. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -0
  285. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/SelfadjointProduct.h +0 -0
  286. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -0
  287. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -0
  288. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -0
  289. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/TriangularMatrixVector.h +0 -0
  290. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -0
  291. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -0
  292. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -0
  293. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/products/TriangularSolverVector.h +0 -0
  294. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/AOCL_Support.h +0 -0
  295. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/Assert.h +0 -0
  296. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/BlasTypes.h +0 -0
  297. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/BlasUtil.h +0 -0
  298. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/ConfigureVectorization.h +0 -0
  299. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/Constants.h +0 -0
  300. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/DisableStupidWarnings.h +0 -0
  301. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/EmulateArray.h +0 -0
  302. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/ForwardDeclarations.h +0 -0
  303. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/GpuHipCudaDefines.inc +0 -0
  304. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/GpuHipCudaUndefines.inc +0 -0
  305. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/GpuRuntime.h +0 -0
  306. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/IndexedViewHelper.h +0 -0
  307. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/IntegralConstant.h +0 -0
  308. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/LruCache.h +0 -0
  309. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/MKL_support.h +0 -0
  310. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/Macros.h +0 -0
  311. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/MaxSizeVector.h +0 -0
  312. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/Memory.h +0 -0
  313. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/Meta.h +0 -0
  314. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/MoreMeta.h +0 -0
  315. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -0
  316. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/ReshapedHelper.h +0 -0
  317. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/Serializer.h +0 -0
  318. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/ShapeChecks.h +0 -0
  319. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/StaticAssert.h +0 -0
  320. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/SymbolicIndex.h +0 -0
  321. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/XprHelper.h +0 -0
  322. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Core/util/blas.h +0 -0
  323. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -0
  324. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/ComplexQZ.h +0 -0
  325. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/ComplexSchur.h +0 -0
  326. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -0
  327. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/EigenSolver.h +0 -0
  328. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -0
  329. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -0
  330. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -0
  331. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/InternalHeaderCheck.h +0 -0
  332. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -0
  333. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/RealQZ.h +0 -0
  334. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/RealSchur.h +0 -0
  335. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -0
  336. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -0
  337. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -0
  338. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/TridiagonalBisection.h +0 -0
  339. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/TridiagonalEigenSolver.h +0 -0
  340. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/TridiagonalInverseIteration.h +0 -0
  341. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -0
  342. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/AlignedBox.h +0 -0
  343. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/AngleAxis.h +0 -0
  344. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/EulerAngles.h +0 -0
  345. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/Homogeneous.h +0 -0
  346. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/Hyperplane.h +0 -0
  347. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/InternalHeaderCheck.h +0 -0
  348. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/OrthoMethods.h +0 -0
  349. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/ParametrizedLine.h +0 -0
  350. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/Quaternion.h +0 -0
  351. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/Rotation2D.h +0 -0
  352. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/RotationBase.h +0 -0
  353. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/Scaling.h +0 -0
  354. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/Transform.h +0 -0
  355. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/Translation.h +0 -0
  356. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/Umeyama.h +0 -0
  357. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -0
  358. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Householder/BlockHouseholder.h +0 -0
  359. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Householder/Householder.h +0 -0
  360. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Householder/HouseholderSequence.h +0 -0
  361. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Householder/InternalHeaderCheck.h +0 -0
  362. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -0
  363. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -0
  364. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/BiCGSTABL.h +0 -0
  365. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -0
  366. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/DGMRES.h +0 -0
  367. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/GMRES.h +0 -0
  368. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/IDRS.h +0 -0
  369. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/IDRSTABL.h +0 -0
  370. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -0
  371. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/IncompleteLU.h +0 -0
  372. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -0
  373. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/InternalHeaderCheck.h +0 -0
  374. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -0
  375. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/LSMR.h +0 -0
  376. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -0
  377. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/MINRES.h +0 -0
  378. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/Scaling.h +0 -0
  379. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -0
  380. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Jacobi/InternalHeaderCheck.h +0 -0
  381. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/Jacobi/Jacobi.h +0 -0
  382. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/KLUSupport/InternalHeaderCheck.h +0 -0
  383. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/KLUSupport/KLUSupport.h +0 -0
  384. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LAPACKESupport/InternalHeaderCheck.h +0 -0
  385. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LAPACKESupport/lapacke.h +0 -0
  386. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LAPACKESupport/lapacke_helpers.h +0 -0
  387. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LAPACKESupport/lapacke_mangling.h +0 -0
  388. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LU/Determinant.h +0 -0
  389. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LU/FullPivLU.h +0 -0
  390. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LU/InternalHeaderCheck.h +0 -0
  391. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LU/InverseImpl.h +0 -0
  392. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LU/PartialPivLU.h +0 -0
  393. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -0
  394. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/LU/arch/InverseSize4.h +0 -0
  395. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/MetisSupport/InternalHeaderCheck.h +0 -0
  396. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/MetisSupport/MetisSupport.h +0 -0
  397. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/OrderingMethods/Amd.h +0 -0
  398. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -0
  399. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/OrderingMethods/InternalHeaderCheck.h +0 -0
  400. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/OrderingMethods/Ordering.h +0 -0
  401. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/PaStiXSupport/InternalHeaderCheck.h +0 -0
  402. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -0
  403. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/PardisoSupport/InternalHeaderCheck.h +0 -0
  404. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/PardisoSupport/PardisoSupport.h +0 -0
  405. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/QR/ColPivHouseholderQR.h +0 -0
  406. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -0
  407. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -0
  408. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/QR/FullPivHouseholderQR.h +0 -0
  409. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/QR/HouseholderQR.h +0 -0
  410. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -0
  411. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/QR/InternalHeaderCheck.h +0 -0
  412. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/QR/RandColPivHouseholderQR.h +0 -0
  413. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SPQRSupport/InternalHeaderCheck.h +0 -0
  414. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -0
  415. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SVD/BDCSVD.h +0 -0
  416. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SVD/BDCSVDImpl.h +0 -0
  417. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SVD/BDCSVD_LAPACKE.h +0 -0
  418. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SVD/InternalHeaderCheck.h +0 -0
  419. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SVD/JacobiSVD.h +0 -0
  420. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -0
  421. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SVD/SVDBase.h +0 -0
  422. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SVD/UpperBidiagonalization.h +0 -0
  423. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCholesky/InternalHeaderCheck.h +0 -0
  424. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCholesky/MultifrontalLDLT.h +0 -0
  425. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -0
  426. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -0
  427. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/AmbiVector.h +0 -0
  428. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/BlockSparseMatrix.h +0 -0
  429. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/CompressedStorage.h +0 -0
  430. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -0
  431. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/InternalHeaderCheck.h +0 -0
  432. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseApproxComparisons.h +0 -0
  433. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseAssign.h +0 -0
  434. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseBlock.h +0 -0
  435. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseColEtree.h +0 -0
  436. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseCompressedBase.h +0 -0
  437. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -0
  438. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -0
  439. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseDenseProduct.h +0 -0
  440. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -0
  441. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseDot.h +0 -0
  442. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseMap.h +0 -0
  443. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseMatrix.h +0 -0
  444. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseMatrixBase.h +0 -0
  445. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparsePermutation.h +0 -0
  446. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseProduct.h +0 -0
  447. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseRedux.h +0 -0
  448. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseRef.h +0 -0
  449. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseScatter.h +0 -0
  450. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -0
  451. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseSolverBase.h +0 -0
  452. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -0
  453. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseTranspose.h +0 -0
  454. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseTriangularView.h +0 -0
  455. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseUtil.h +0 -0
  456. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseVector.h +0 -0
  457. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparseView.h +0 -0
  458. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/SparsityPatternRef.h +0 -0
  459. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/ThreadedSparseProduct.h +0 -0
  460. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/TriangularReachSolver.h +0 -0
  461. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseCore/TriangularSolver.h +0 -0
  462. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/InternalHeaderCheck.h +0 -0
  463. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU.h +0 -0
  464. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLUImpl.h +0 -0
  465. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_Memory.h +0 -0
  466. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_Structs.h +0 -0
  467. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -0
  468. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_Utils.h +0 -0
  469. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -0
  470. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -0
  471. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -0
  472. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -0
  473. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -0
  474. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -0
  475. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -0
  476. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -0
  477. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -0
  478. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -0
  479. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseQR/InternalHeaderCheck.h +0 -0
  480. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SparseQR/SparseQR.h +0 -0
  481. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/StlSupport/StdDeque.h +0 -0
  482. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/StlSupport/StdList.h +0 -0
  483. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/StlSupport/StdVector.h +0 -0
  484. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/StlSupport/details.h +0 -0
  485. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SuperLUSupport/InternalHeaderCheck.h +0 -0
  486. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -0
  487. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/Barrier.h +0 -0
  488. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/CoreThreadPoolDevice.h +0 -0
  489. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/EventCount.h +0 -0
  490. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/ForkJoin.h +0 -0
  491. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/InternalHeaderCheck.h +0 -0
  492. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/NonBlockingThreadPool.h +0 -0
  493. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/RunQueue.h +0 -0
  494. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/ThreadEnvironment.h +0 -0
  495. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/ThreadLocal.h +0 -0
  496. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/ThreadPoolInterface.h +0 -0
  497. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/ThreadPool/ThreadYield.h +0 -0
  498. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/UmfPackSupport/InternalHeaderCheck.h +0 -0
  499. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -0
  500. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/ArrayCwiseBinaryOps.inc +0 -0
  501. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/ArrayCwiseUnaryOps.inc +0 -0
  502. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/BlockMethods.inc +0 -0
  503. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/CommonCwiseBinaryOps.inc +0 -0
  504. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/CommonCwiseUnaryOps.inc +0 -0
  505. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/IndexedViewMethods.inc +0 -0
  506. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/InternalHeaderCheck.inc +0 -0
  507. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/MatrixCwiseBinaryOps.inc +0 -0
  508. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/MatrixCwiseUnaryOps.inc +0 -0
  509. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/Eigen/src/plugins/ReshapedMethods.inc +0 -0
  510. {peigentux-2.1.0 → peigentux-2.2.0}/eigen/README.md +0 -0
  511. {peigentux-2.1.0 → peigentux-2.2.0}/python/peigen/__init__.py +0 -0
  512. {peigentux-2.1.0 → peigentux-2.2.0}/python/peigen/_utils.py +0 -0
  513. {peigentux-2.1.0 → peigentux-2.2.0}/python/peigen/linalg.py +0 -0
  514. {peigentux-2.1.0 → peigentux-2.2.0}/scripts/bench_report.sh +0 -0
  515. {peigentux-2.1.0 → peigentux-2.2.0}/src/bindings/lapack_decls.h +0 -0
  516. {peigentux-2.1.0 → peigentux-2.2.0}/tests/test_build_config.py +0 -0
  517. {peigentux-2.1.0 → peigentux-2.2.0}/tests/test_decomp_correctness.py +0 -0
  518. {peigentux-2.1.0 → peigentux-2.2.0}/tests/test_dense_correctness.py +0 -0
  519. {peigentux-2.1.0 → peigentux-2.2.0}/tests/test_errors.py +0 -0
  520. {peigentux-2.1.0 → peigentux-2.2.0}/tests/test_interop_copy_semantics.py +0 -0
  521. {peigentux-2.1.0 → peigentux-2.2.0}/tests/test_sparse_cholesky.py +0 -0
  522. {peigentux-2.1.0 → peigentux-2.2.0}/tests/test_sparse_multifrontal.py +0 -0
@@ -5,6 +5,70 @@ All notable changes to pEigen are documented here. The project follows
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.2.0] - 2026-11-29
9
+
10
+ Sparse least squares, the factors of a sparse Cholesky factorization, an incomplete Cholesky
11
+ preconditioner for CG, faster sparse products, and a fix for iterative solves that could report
12
+ success with an inaccurate answer. No breaking changes. The default `sparse.lstsq` method runs
13
+ on the multifrontal LDLᵀ factorization, which is still marked experimental in
14
+ `sparse.cholesky`.
15
+
16
+ ### Added
17
+
18
+ - `sparse.lstsq(a, b, method=..., damp=0.0)` and the reusable `sparse.SparseLeastSquares`
19
+ (also `decomp.SparseLeastSquares`): sparse least squares, minimizing
20
+ `||A x - b||^2 + damp^2 ||x||^2`. Methods:
21
+ - `"augmented"` (default): multifrontal LDLᵀ of the augmented system. Never forms `AᵀA`, so
22
+ one dense row costs 5 ms instead of 11.6 s with `"normal"` at n = 4,900.
23
+ - `"normal"`: Cholesky of `AᵀA + damp²I`.
24
+ - `"qr"`: Eigen `SparseQR`, with the rows first matched to the COLAMD-ordered columns. Without
25
+ that, Eigen's SparseQR fills R almost completely on matrices whose rows are in arbitrary
26
+ order (500× slower in a measured case).
27
+
28
+ `"augmented"` and `"normal"` refine iteratively to dense-QR accuracy while cond(A) is below
29
+ about 1e7, and raise `LinAlgError` beyond that, or on rank deficiency with `damp=0`. `"qr"`
30
+ handles both cases.
31
+ - `SparseCholesky.L()`, `D()` and `P()`: the factors as SciPy CSC matrices and the fill-reducing
32
+ permutation as an index array, with `(A + shift*I)[p][:, p] == L @ D @ L.T` (scikit-sparse's
33
+ convention) for every mode. `L` stores its diagonal (unit except for `llt`); `D` is diagonal, has
34
+ 2x2 blocks for `multifrontal`, and is the identity for `llt`. This enables sampling from a
35
+ GMRF / Gaussian process given its precision matrix, and triangular solves with `L`.
36
+ - `sparse.solve(..., method="cg", preconditioner="ichol")`: zero-fill incomplete Cholesky (Eigen
37
+ `IncompleteCholesky`, in the matrix's own ordering), a symmetric preconditioner suited to CG. On
38
+ 2D 5-point Laplacians it roughly halves CG's iteration count (100x100: 186 → 77).
39
+ - `sparse.solve_stats` also returns `"residual"`, the true relative residual
40
+ `‖b − Ax‖ / ‖b‖` of the solution (`"error"` remains Eigen's recursive estimate).
41
+
42
+ ### Changed
43
+
44
+ - `sparse.spmm` is rewritten with row-major kernels (CSR rows gathered, CSC columns scattered) and
45
+ accepts CSR input without converting it to CSC. It was 2.3–32× slower than SciPy's `A @ B`,
46
+ worst for large matrices and many columns, because Eigen's generic product strided through
47
+ row-major data; it now matches SciPy on large matrices (n=1M, 8 columns: 110 ms → 11 ms vs SciPy's 10.6 ms;
48
+ 64 columns at n=262k: 539 ms → 17 ms) and is within 7–16% on small ones. It also releases the GIL.
49
+ - `sparse.spspmm` uses Eigen's conservative product and drops exact zeros afterwards instead of
50
+ `(A * B).pruned()`, which selects a slower algorithm: `A @ A` on 2D Laplacians is about 25% faster (now 1.2–1.7×
51
+ SciPy's time). Products with a diagonal matrix are unchanged at about 2× SciPy's time.
52
+
53
+ ### Fixed
54
+
55
+ - BiCGSTAB (and CG) could report success while the true residual was far above `tol`: Eigen
56
+ stops on a recursively updated residual that can drift from `b − Ax`. For example, BiCGSTAB on
57
+ a 1D upwind convection–diffusion problem with `tol=1e-10` returned a solution with
58
+ `‖Ax − b‖ / ‖b‖ ≈ 1.8e-3`. `sparse.solve` and `solve_stats` now recompute the true residual
59
+ after every iterative solve; if it is more than 10x above `tol` the solver restarts from the
60
+ current iterate (at most 5 times, within the same `maxiter` budget), and raises `RuntimeError`
61
+ if the residual still misses. A `tol` that double precision can't reach for the problem now
62
+ raises instead of returning a less accurate answer.
63
+
64
+ ### Deprecated
65
+
66
+ - `preconditioner="ilu"` with `method="cg"` emits a `DeprecationWarning` and will be removed in
67
+ 3.0. `IncompleteLUT` is not symmetric, so CG can fail with it: at the default
68
+ `ilu_fill_factor=10` it did not converge on 2D Laplacians of 30², 60² or 100² unknowns, where
69
+ plain CG takes 54–186 iterations. It still works as before (a large fill factor makes it
70
+ converge); its non-convergence error now points to `"ichol"`.
71
+
8
72
  ## [2.1.0] - 2026-11-25
9
73
 
10
74
  ### Added
@@ -87,6 +151,7 @@ the import name is still `peigen`. The unrelated `peigen` project on PyPI is not
87
151
  Boost.Python bindings exposing `dense_matrix` / `sparse_matrix` objects and decomposition methods
88
152
  (module `libpeigen`), built from source only and never published to PyPI. Not maintained.
89
153
 
90
- [Unreleased]: https://github.com/TtheBC01/pEigen/compare/v2.1.0...HEAD
154
+ [Unreleased]: https://github.com/TtheBC01/pEigen/compare/v2.2.0...HEAD
155
+ [2.2.0]: https://github.com/TtheBC01/pEigen/compare/v2.1.0...v2.2.0
91
156
  [2.1.0]: https://github.com/TtheBC01/pEigen/compare/v2.0.0...v2.1.0
92
157
  [2.0.0]: https://github.com/TtheBC01/pEigen/releases/tag/v2.0.0
@@ -87,3 +87,22 @@ For local experiments:
87
87
  ```bash
88
88
  CMAKE_ARGS="-DPEIGEN_USE_OPENMP=ON" python -m pip install -e .
89
89
  ```
90
+
91
+ ## Website
92
+
93
+ `website/` is the static site for [peigentux.com](https://peigentux.com): plain HTML, CSS and
94
+ JavaScript with no build step. Edit the files directly and preview them with any static server:
95
+
96
+ ```bash
97
+ python -m http.server 8765 --directory website
98
+ ```
99
+
100
+ - Each page repeats the shared header and footer, so a nav change touches every `*.html` file.
101
+ - Python code blocks marked `data-example` are executed by `tests/test_website_examples.py`, so
102
+ keep them self-contained and runnable. The "Output" shown under each example is static text.
103
+ - Benchmark figures come from the scripts in `benchmarks/`. The sparse Cholesky chart reads
104
+ `website/assets/bench-cholesky-data.js`; the dense and sparse tables are static HTML. Refresh
105
+ them (and `lastmod` in `sitemap.xml`) after re-running the benchmarks.
106
+ - `.github/workflows/pages.yml` deploys `website/` to GitHub Pages on every push to `main` that
107
+ touches it. One-time setup: Settings → Pages → Source "GitHub Actions", custom domain
108
+ `peigentux.com`, plus DNS records at the domain registrar.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: peigentux
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Summary: Eigen-powered dense and sparse linear algebra for NumPy/SciPy, including sparse Cholesky
5
5
  Keywords: eigen,linear-algebra,sparse,cholesky,numpy,scipy
6
6
  Author: Todd Chapman
@@ -50,6 +50,7 @@ pEigen is a lightweight Python package that exposes Eigen-powered dense and spar
50
50
  - Sparse routines in `peigen.sparse` (optional SciPy dependency)
51
51
  - Stateful decomposition helpers in `peigen.decomp`
52
52
  - Sparse Cholesky (`peigen.sparse.cholesky`) with no SuiteSparse/CHOLMOD dependency
53
+ - Sparse least squares (`peigen.sparse.lstsq`), with optional ridge damping
53
54
  - Prebuilt wheels for CPython 3.10–3.15 on Linux (x86_64, aarch64; OpenBLAS) and macOS (arm64, x86_64; Accelerate)
54
55
 
55
56
  ## Installation
@@ -212,6 +213,7 @@ Requires SciPy (`pip install "peigentux[sparse]"`). Sparse matrices are accepted
212
213
  - `solve_stats(a, b, method="cg", ...)`
213
214
  - `factorize(a, method="auto")` → `SparseFactorized`
214
215
  - `cholesky(a, mode="ldlt", ordering="amd", lower=True, shift=0.0)` → `SparseCholesky`
216
+ - `lstsq(a, b, method="augmented", damp=0.0, refine=True)`, `SparseLeastSquares(a, method="augmented", damp=0.0)`
215
217
  - `to_dense(a)`
216
218
  - `from_coo(data, row, col, shape)`
217
219
 
@@ -225,8 +227,9 @@ Y = sparse.spmm(A, B) # A: (m, n) sparse, B: (n, k) dense → (m, k) dense
225
227
 
226
228
  **Requirements and behavior:**
227
229
 
228
- - `A` must be 2D sparse (any SciPy sparse format; converted to CSC).
229
- - `B` must be a 2D `float64` array with shape `(n, k)` where `n = A.shape[1]`.
230
+ - `A` must be 2D sparse. CSR and CSC are used as they are; other formats are converted to CSR.
231
+ - `B` must be a 2D `float64` array with shape `(n, k)` where `n = A.shape[1]`. Any memory layout works; C-ordered `B` avoids a copy.
232
+ - Releases the GIL while multiplying.
230
233
  - Raises `ValueError` on dimension mismatch.
231
234
 
232
235
  #### Sparse @ sparse multiply (`spspmm`)
@@ -241,7 +244,7 @@ C = sparse.spspmm(A, B) # A: (m, n), B: (n, k) → CSC (m, k)
241
244
 
242
245
  - Both operands must be 2D sparse (converted to CSC).
243
246
  - Raises `ValueError` if inner dimensions disagree.
244
- - Result is pruned and returned as `scipy.sparse.csc_matrix`.
247
+ - Exact zeros are dropped from the result, which is returned as `scipy.sparse.csc_matrix`.
245
248
 
246
249
  #### Sparse linear solve (`solve`)
247
250
 
@@ -255,7 +258,7 @@ X = sparse.solve(A, B, method="lu")
255
258
  # Conjugate gradient on SPD systems
256
259
  x = sparse.solve(A, b, method="cg")
257
260
  x = sparse.solve(A, b, method="cg", preconditioner="jacobi")
258
- x = sparse.solve(A, b, method="cg", preconditioner="ilu", ilu_fill_factor=40)
261
+ x = sparse.solve(A, b, method="cg", preconditioner="ichol")
259
262
 
260
263
  # BiCGSTAB for general square systems
261
264
  x = sparse.solve(A, b, method="bicgstab", tol=1e-8, maxiter=5000)
@@ -272,7 +275,8 @@ x = sparse.solve(A, b, method="bicgstab", tol=1e-8, maxiter=5000)
272
275
  | `maxiter=None` | Iteration cap for CG/BiCGSTAB. Default: `2 * n` where `n = A.shape[0]`. |
273
276
  | `preconditioner="none"` | CG only. Identity preconditioner (unpreconditioned CG). |
274
277
  | `preconditioner="jacobi"` | CG only. Diagonal (Jacobi) preconditioner. |
275
- | `preconditioner="ilu"` | CG only. Incomplete LU via Eigen `IncompleteLUT`. |
278
+ | `preconditioner="ichol"` | CG only. Zero-fill incomplete Cholesky via Eigen `IncompleteCholesky`, in the matrix's own ordering (symmetric, so it suits CG). |
279
+ | `preconditioner="ilu"` | CG only. **Deprecated** (`DeprecationWarning`; removal planned for 3.0). Incomplete LU via Eigen `IncompleteLUT`, which is not symmetric, so CG can fail to converge with it. Use `"ichol"`. |
276
280
  | `ilu_fill_factor=10` | CG + ILU only. Fill-ratio upper bound passed to `IncompleteLUT`. |
277
281
  | `ilu_drop_tol=1e-4` | CG + ILU only. Drop tolerance for `IncompleteLUT`. |
278
282
 
@@ -281,6 +285,7 @@ x = sparse.solve(A, b, method="bicgstab", tol=1e-8, maxiter=5000)
281
285
  - `A` must be square sparse; `b` must have length `n` (1D) or shape `(n, k)` (2D).
282
286
  - `preconditioner` is only valid with `method="cg"`; other methods raise `ValueError` if a nontrivial preconditioner is requested.
283
287
  - Iterative solvers raise `RuntimeError` if they do not converge within `maxiter` at the requested tolerance.
288
+ - Convergence is judged by the true residual. Eigen's solvers stop on a recursively updated residual, which can drift from the true `norm(b - Ax)/norm(b)` (badly so for BiCGSTAB on convection-dominated problems). After each solve pEigen recomputes the true residual; if it is more than 10x above `tol`, the solver restarts from its current iterate (up to 5 times, within the same `maxiter` budget) and raises `RuntimeError` if the residual still misses. A `tol` below what double precision can reach for the problem therefore raises instead of returning a less accurate answer.
284
289
  - LU raises `RuntimeError` if factorization or solve fails.
285
290
 
286
291
  **When to use which method:**
@@ -292,28 +297,29 @@ x = sparse.solve(A, b, method="bicgstab", tol=1e-8, maxiter=5000)
292
297
  | `"cg"` | Symmetric (SPD in practice) | Eigen `ConjugateGradient` |
293
298
  | `"bicgstab"` | General square, nonsymmetric | Eigen `BiCGSTAB` |
294
299
 
295
- CG preconditioners apply only to `"cg"`. For difficult SPD problems (e.g. Poisson-like operators), try `"jacobi"` or `"ilu"` with tuned `ilu_fill_factor` / `ilu_drop_tol`.
300
+ CG preconditioners apply only to `"cg"`. For Poisson-like operators `"ichol"` typically halves the iteration count (on a 100x100 5-point Laplacian: 186 iterations unpreconditioned, 77 with `"ichol"`); `"jacobi"` helps when the diagonal varies a lot. For a repeated or hard SPD solve, a direct `cholesky(A)` is often faster still.
296
301
 
297
302
  #### CG diagnostics (`solve_stats`)
298
303
 
299
- Return iteration count and estimated relative error from a CG solve without changing the `solve` API. Useful for checking convergence or comparing preconditioners.
304
+ Return iteration count and residuals from a CG solve without changing the `solve` API. Useful for checking convergence or comparing preconditioners.
300
305
 
301
306
  ```python
302
- stats = sparse.solve_stats(A, b, method="cg", preconditioner="ilu", ilu_fill_factor=40)
303
- print(stats["iterations"], stats["error"])
307
+ stats = sparse.solve_stats(A, b, method="cg", preconditioner="ichol")
308
+ print(stats["iterations"], stats["error"], stats["residual"])
304
309
  ```
305
310
 
306
311
  | Key | Description |
307
312
  |-----|-------------|
308
- | `"iterations"` | CG iterations performed. |
309
- | `"error"` | Estimated relative residual from Eigen. |
313
+ | `"iterations"` | CG iterations performed, including any restart. |
314
+ | `"error"` | Eigen's own (recursively updated) relative residual estimate. |
315
+ | `"residual"` | True relative residual `norm(b - Ax) / norm(b)` of the returned solution. |
310
316
 
311
317
  **Requirements and behavior:**
312
318
 
313
319
  - Only supported for `method="cg"`.
314
320
  - Requires a single RHS column (1D `b` or `(n, 1)` array).
315
321
  - Accepts the same `tol`, `maxiter`, `preconditioner`, `ilu_fill_factor`, and `ilu_drop_tol` arguments as `solve`.
316
- - Raises `RuntimeError` if CG does not converge (same as `solve`).
322
+ - Raises `RuntimeError` if CG does not converge (same as `solve`, including the true-residual check).
317
323
 
318
324
  #### Sparse LU factorization (`factorize`)
319
325
 
@@ -355,6 +361,8 @@ up = sparse.cholesky(sp.triu(K), lower=False) # only one triangle is read
355
361
 
356
362
  kkt = sparse.cholesky(K_indefinite, mode="multifrontal") # pivoted LDL^T for indefinite matrices
357
363
  n_pos, n_neg, n_zero = kkt.inertia # eigenvalue sign counts, from the pivots of D
364
+
365
+ L, D, p = fac.L(), fac.D(), fac.P() # the factors: K[p][:, p] == L @ D @ L.T (SciPy CSC)
358
366
  ```
359
367
 
360
368
  | Parameter | Description |
@@ -367,7 +375,7 @@ n_pos, n_neg, n_zero = kkt.inertia # eigenvalue sign counts, from the pivot
367
375
  | `lower=True` | Read the lower triangle of `a`. `lower=False` reads the upper triangle. |
368
376
  | `shift=0.0` | Factorize `a + shift * I`. |
369
377
 
370
- `SparseCholesky` methods and properties: `solve(b)`, `refactorize(a, *, shift=None)` (`None` keeps the current shift), `slogdet()`, `logdet()`, `inertia` (`(positive, negative, zero)` eigenvalue counts, by Sylvester's law of inertia), `shape`, `mode`, `ordering`, `shift`, and `factor_nnz` (stored nonzeros in `L`, a measure of fill-in; for `multifrontal` it includes explicit zeros of merged fronts).
378
+ `SparseCholesky` methods and properties: `solve(b)`, `refactorize(a, *, shift=None)` (`None` keeps the current shift), `slogdet()`, `logdet()`, `inertia` (`(positive, negative, zero)` eigenvalue counts, by Sylvester's law of inertia), `L()`, `D()` and `P()` (the factors as SciPy CSC matrices and the permutation as an index array, with `(A + shift*I)[p][:, p] == L @ D @ L.T` as in scikit-sparse; `L` has its diagonal stored, unit except for `llt`, and `D` is the identity for `llt` and has 2x2 blocks for `multifrontal`), `shape`, `mode`, `ordering`, `shift`, and `factor_nnz` (stored nonzeros in `L`, a measure of fill-in; for `multifrontal` it includes explicit zeros of merged fronts).
371
379
 
372
380
  **Requirements and behavior:**
373
381
 
@@ -385,12 +393,49 @@ n_pos, n_neg, n_zero = kkt.inertia # eigenvalue sign counts, from the pivot
385
393
  - Single-RHS solves are 1.4–2× slower than CHOLMOD's on low-fill problems, and up to 3× slower on 3D meshes.
386
394
  - **`mode="multifrontal"` (experimental)** uses dense fronts, so it changes the high-fill picture: it factors 3D meshes 3–9× faster than `ldlt` (40³ grid: 10.9 s → 1.25 s) and is within about 15% of CHOLMOD's supernodal mode on 2D meshes and graphs. On 3D meshes it is still 1.3–3.7× slower than CHOLMOD with the same AMD ordering. Single-RHS solves are on par with CHOLMOD's. Solves with many right-hand sides use a supernodal blocked kernel and were the fastest of all tested solvers on every problem (32 RHS): 1.05–1.5× faster than `ldlt` on low-fill problems, 3–6× faster on 3D meshes, and 1.1–4.4× faster than CHOLMOD's best mode. That kernel's copy of `L` is built on the first many-RHS solve after each factorization, a one-time cost of 0.25–0.65× the factorization (2–9 steady-state solves), and it roughly doubles the factor's memory. `ldlt` stays the default while `multifrontal` is experimental.
387
395
 
396
+ #### Sparse least squares (`lstsq`)
397
+
398
+ Minimize `||A x - b||^2 + damp^2 ||x||^2` for a sparse `A` (`m x n`, any shape). `damp=0` is ordinary least squares; `damp > 0` adds ridge (Tikhonov) regularization, as in SciPy's `lsqr(..., damp=)`.
399
+
400
+ ```python
401
+ x = sparse.lstsq(A, b) # method="augmented", damp=0
402
+ x = sparse.lstsq(A, b, method="normal")
403
+ x = sparse.lstsq(A, b, method="qr", damp=1e-3)
404
+
405
+ ls = sparse.SparseLeastSquares(A) # factorize once ...
406
+ X = ls.solve(B) # ... then solve for many right-hand sides (columns of B)
407
+ ```
408
+
409
+ | `method` | Factorization | Use it when |
410
+ |----------|---------------|-------------|
411
+ | `"augmented"` | Multifrontal LDLᵀ (Eigen `MultifrontalLDLT`) of `[[αI, A], [Aᵀ, −(damp²/α)I]] [r/α; x] = [b; 0]`, with `α = max|aᵢⱼ|`. Default. | General use. It never forms `AᵀA`, so dense rows (a constraint touching every unknown) stay cheap. |
412
+ | `"normal"` | Sparse Cholesky (Eigen `SimplicialLDLT`) of `AᵀA + damp²I`. | Every row of `A` is short. About as fast as `"augmented"`, with a smaller factor. |
413
+ | `"qr"` | Sparse Householder QR (Eigen `SparseQR`) of `A`, or of `[A; damp·I]`. | `A` is too ill-conditioned for the other two (cond(A) beyond about 1e7) or rank deficient with `damp=0`. Much slower. |
414
+
415
+ **Accuracy.** `"augmented"` and `"normal"` square the condition number when they factorize, so `solve` applies iterative refinement, with residuals computed from `A` itself. While cond(A) is below roughly 1e7, that makes them as accurate as a dense QR least-squares solve: 1e-16 relative error on a consistent system with cond(A) = 8e6, where the unrefined solve had 3e-5. Beyond that, refinement cannot converge, and `solve` raises `numpy.linalg.LinAlgError` naming `method="qr"` instead of returning an inaccurate answer. `"qr"` works on `A` directly. In our tests it stayed accurate to cond(A) = 3e9, but it loses accuracy when row scales differ by many orders of magnitude (weighted least squares), because Eigen's QR does not pivot rows. `refine=False` skips refinement: fewer solves, but accuracy near cond(A)²·eps and no ill-conditioning check.
416
+
417
+ **Rank deficiency.** With `damp=0`, `"augmented"` and `"normal"` raise `LinAlgError` at construction when `A` is rank deficient, including any wide `A` (`m < n`). `"qr"` returns a basic solution, with `n − rank` entries set to zero, and reports the numerical rank in `.rank`. That solution is not the minimum-norm one: use `decomp.SVD(A.toarray()).solve(b)` or `damp > 0` for that. With `damp > 0` every method handles any `A`.
418
+
419
+ **Eigen's SparseQR and row order.** Eigen's `SparseQR` pivots column `k` on row `k` and treats `A[k, k]` as a structural nonzero even when it is zero. On a matrix whose rows are in arbitrary order, R fills in almost completely. For a 9908 × 4900 grid problem it stored 7.9M entries instead of 82k, and the factorization took 41 s instead of 83 ms. `method="qr"` therefore orders the columns with COLAMD and matches every column to a row that has an entry in it, before calling Eigen. R then has the fill of the Cholesky factor of `AᵀA`.
420
+
421
+ `SparseLeastSquares` properties: `shape`, `method`, `damp`, `factor_nnz` (stored nonzeros of `L`, or of `R` for `"qr"`), `rank` (`"qr"` only, otherwise `None`). `a` must have finite values (`ValueError` otherwise). `solve` releases the GIL. Also exported as `peigen.decomp.SparseLeastSquares`.
422
+
423
+ **Performance** (Apple M1 Pro, one right-hand side; solve includes refinement):
424
+
425
+ | Problem | `"augmented"` factor / solve | `"normal"` factor / solve | `"qr"` factor / solve |
426
+ |---------|------------------------------|---------------------------|-----------------------|
427
+ | 2D grid gradient, 20,305 × 10,000 | 9.6 ms / 1.9 ms | 7.1 ms / 1.8 ms | 424 ms / 4.0 ms |
428
+ | 2D grid gradient, 81,627 × 40,000 | 53 ms / 12.5 ms | 54 ms / 10.5 ms | 6.3 s / 34 ms |
429
+ | 2D grid gradient, 183,921 × 90,000 | 99 ms / 21 ms | 140 ms / 21 ms | — |
430
+ | 2D grid gradient plus one dense row, 9,916 × 4,900 | 5.2 ms / 0.9 ms | 11.6 s / 64 ms | 52 s / 53 ms |
431
+
388
432
  ### `peigen.decomp`
389
433
 
390
434
  - `SVD(a, full_matrices=False)` with `.solve(b, rcond=None)`: minimum-norm least squares via the pseudoinverse. Singular values `<= rcond * max(s)` are treated as zero; `rcond` is relative, as in `numpy.linalg.lstsq`, and defaults to `eps * max(M, N)`.
391
435
  - `QR(a)`
392
436
  - `SparseFactorized(a)`
393
437
  - `SparseCholesky(a, mode="ldlt", ...)`
438
+ - `SparseLeastSquares(a, method="augmented", damp=0.0)`
394
439
 
395
440
  ## Runtime build report
396
441
 
@@ -9,6 +9,7 @@ pEigen is a lightweight Python package that exposes Eigen-powered dense and spar
9
9
  - Sparse routines in `peigen.sparse` (optional SciPy dependency)
10
10
  - Stateful decomposition helpers in `peigen.decomp`
11
11
  - Sparse Cholesky (`peigen.sparse.cholesky`) with no SuiteSparse/CHOLMOD dependency
12
+ - Sparse least squares (`peigen.sparse.lstsq`), with optional ridge damping
12
13
  - Prebuilt wheels for CPython 3.10–3.15 on Linux (x86_64, aarch64; OpenBLAS) and macOS (arm64, x86_64; Accelerate)
13
14
 
14
15
  ## Installation
@@ -171,6 +172,7 @@ Requires SciPy (`pip install "peigentux[sparse]"`). Sparse matrices are accepted
171
172
  - `solve_stats(a, b, method="cg", ...)`
172
173
  - `factorize(a, method="auto")` → `SparseFactorized`
173
174
  - `cholesky(a, mode="ldlt", ordering="amd", lower=True, shift=0.0)` → `SparseCholesky`
175
+ - `lstsq(a, b, method="augmented", damp=0.0, refine=True)`, `SparseLeastSquares(a, method="augmented", damp=0.0)`
174
176
  - `to_dense(a)`
175
177
  - `from_coo(data, row, col, shape)`
176
178
 
@@ -184,8 +186,9 @@ Y = sparse.spmm(A, B) # A: (m, n) sparse, B: (n, k) dense → (m, k) dense
184
186
 
185
187
  **Requirements and behavior:**
186
188
 
187
- - `A` must be 2D sparse (any SciPy sparse format; converted to CSC).
188
- - `B` must be a 2D `float64` array with shape `(n, k)` where `n = A.shape[1]`.
189
+ - `A` must be 2D sparse. CSR and CSC are used as they are; other formats are converted to CSR.
190
+ - `B` must be a 2D `float64` array with shape `(n, k)` where `n = A.shape[1]`. Any memory layout works; C-ordered `B` avoids a copy.
191
+ - Releases the GIL while multiplying.
189
192
  - Raises `ValueError` on dimension mismatch.
190
193
 
191
194
  #### Sparse @ sparse multiply (`spspmm`)
@@ -200,7 +203,7 @@ C = sparse.spspmm(A, B) # A: (m, n), B: (n, k) → CSC (m, k)
200
203
 
201
204
  - Both operands must be 2D sparse (converted to CSC).
202
205
  - Raises `ValueError` if inner dimensions disagree.
203
- - Result is pruned and returned as `scipy.sparse.csc_matrix`.
206
+ - Exact zeros are dropped from the result, which is returned as `scipy.sparse.csc_matrix`.
204
207
 
205
208
  #### Sparse linear solve (`solve`)
206
209
 
@@ -214,7 +217,7 @@ X = sparse.solve(A, B, method="lu")
214
217
  # Conjugate gradient on SPD systems
215
218
  x = sparse.solve(A, b, method="cg")
216
219
  x = sparse.solve(A, b, method="cg", preconditioner="jacobi")
217
- x = sparse.solve(A, b, method="cg", preconditioner="ilu", ilu_fill_factor=40)
220
+ x = sparse.solve(A, b, method="cg", preconditioner="ichol")
218
221
 
219
222
  # BiCGSTAB for general square systems
220
223
  x = sparse.solve(A, b, method="bicgstab", tol=1e-8, maxiter=5000)
@@ -231,7 +234,8 @@ x = sparse.solve(A, b, method="bicgstab", tol=1e-8, maxiter=5000)
231
234
  | `maxiter=None` | Iteration cap for CG/BiCGSTAB. Default: `2 * n` where `n = A.shape[0]`. |
232
235
  | `preconditioner="none"` | CG only. Identity preconditioner (unpreconditioned CG). |
233
236
  | `preconditioner="jacobi"` | CG only. Diagonal (Jacobi) preconditioner. |
234
- | `preconditioner="ilu"` | CG only. Incomplete LU via Eigen `IncompleteLUT`. |
237
+ | `preconditioner="ichol"` | CG only. Zero-fill incomplete Cholesky via Eigen `IncompleteCholesky`, in the matrix's own ordering (symmetric, so it suits CG). |
238
+ | `preconditioner="ilu"` | CG only. **Deprecated** (`DeprecationWarning`; removal planned for 3.0). Incomplete LU via Eigen `IncompleteLUT`, which is not symmetric, so CG can fail to converge with it. Use `"ichol"`. |
235
239
  | `ilu_fill_factor=10` | CG + ILU only. Fill-ratio upper bound passed to `IncompleteLUT`. |
236
240
  | `ilu_drop_tol=1e-4` | CG + ILU only. Drop tolerance for `IncompleteLUT`. |
237
241
 
@@ -240,6 +244,7 @@ x = sparse.solve(A, b, method="bicgstab", tol=1e-8, maxiter=5000)
240
244
  - `A` must be square sparse; `b` must have length `n` (1D) or shape `(n, k)` (2D).
241
245
  - `preconditioner` is only valid with `method="cg"`; other methods raise `ValueError` if a nontrivial preconditioner is requested.
242
246
  - Iterative solvers raise `RuntimeError` if they do not converge within `maxiter` at the requested tolerance.
247
+ - Convergence is judged by the true residual. Eigen's solvers stop on a recursively updated residual, which can drift from the true `norm(b - Ax)/norm(b)` (badly so for BiCGSTAB on convection-dominated problems). After each solve pEigen recomputes the true residual; if it is more than 10x above `tol`, the solver restarts from its current iterate (up to 5 times, within the same `maxiter` budget) and raises `RuntimeError` if the residual still misses. A `tol` below what double precision can reach for the problem therefore raises instead of returning a less accurate answer.
243
248
  - LU raises `RuntimeError` if factorization or solve fails.
244
249
 
245
250
  **When to use which method:**
@@ -251,28 +256,29 @@ x = sparse.solve(A, b, method="bicgstab", tol=1e-8, maxiter=5000)
251
256
  | `"cg"` | Symmetric (SPD in practice) | Eigen `ConjugateGradient` |
252
257
  | `"bicgstab"` | General square, nonsymmetric | Eigen `BiCGSTAB` |
253
258
 
254
- CG preconditioners apply only to `"cg"`. For difficult SPD problems (e.g. Poisson-like operators), try `"jacobi"` or `"ilu"` with tuned `ilu_fill_factor` / `ilu_drop_tol`.
259
+ CG preconditioners apply only to `"cg"`. For Poisson-like operators `"ichol"` typically halves the iteration count (on a 100x100 5-point Laplacian: 186 iterations unpreconditioned, 77 with `"ichol"`); `"jacobi"` helps when the diagonal varies a lot. For a repeated or hard SPD solve, a direct `cholesky(A)` is often faster still.
255
260
 
256
261
  #### CG diagnostics (`solve_stats`)
257
262
 
258
- Return iteration count and estimated relative error from a CG solve without changing the `solve` API. Useful for checking convergence or comparing preconditioners.
263
+ Return iteration count and residuals from a CG solve without changing the `solve` API. Useful for checking convergence or comparing preconditioners.
259
264
 
260
265
  ```python
261
- stats = sparse.solve_stats(A, b, method="cg", preconditioner="ilu", ilu_fill_factor=40)
262
- print(stats["iterations"], stats["error"])
266
+ stats = sparse.solve_stats(A, b, method="cg", preconditioner="ichol")
267
+ print(stats["iterations"], stats["error"], stats["residual"])
263
268
  ```
264
269
 
265
270
  | Key | Description |
266
271
  |-----|-------------|
267
- | `"iterations"` | CG iterations performed. |
268
- | `"error"` | Estimated relative residual from Eigen. |
272
+ | `"iterations"` | CG iterations performed, including any restart. |
273
+ | `"error"` | Eigen's own (recursively updated) relative residual estimate. |
274
+ | `"residual"` | True relative residual `norm(b - Ax) / norm(b)` of the returned solution. |
269
275
 
270
276
  **Requirements and behavior:**
271
277
 
272
278
  - Only supported for `method="cg"`.
273
279
  - Requires a single RHS column (1D `b` or `(n, 1)` array).
274
280
  - Accepts the same `tol`, `maxiter`, `preconditioner`, `ilu_fill_factor`, and `ilu_drop_tol` arguments as `solve`.
275
- - Raises `RuntimeError` if CG does not converge (same as `solve`).
281
+ - Raises `RuntimeError` if CG does not converge (same as `solve`, including the true-residual check).
276
282
 
277
283
  #### Sparse LU factorization (`factorize`)
278
284
 
@@ -314,6 +320,8 @@ up = sparse.cholesky(sp.triu(K), lower=False) # only one triangle is read
314
320
 
315
321
  kkt = sparse.cholesky(K_indefinite, mode="multifrontal") # pivoted LDL^T for indefinite matrices
316
322
  n_pos, n_neg, n_zero = kkt.inertia # eigenvalue sign counts, from the pivots of D
323
+
324
+ L, D, p = fac.L(), fac.D(), fac.P() # the factors: K[p][:, p] == L @ D @ L.T (SciPy CSC)
317
325
  ```
318
326
 
319
327
  | Parameter | Description |
@@ -326,7 +334,7 @@ n_pos, n_neg, n_zero = kkt.inertia # eigenvalue sign counts, from the pivot
326
334
  | `lower=True` | Read the lower triangle of `a`. `lower=False` reads the upper triangle. |
327
335
  | `shift=0.0` | Factorize `a + shift * I`. |
328
336
 
329
- `SparseCholesky` methods and properties: `solve(b)`, `refactorize(a, *, shift=None)` (`None` keeps the current shift), `slogdet()`, `logdet()`, `inertia` (`(positive, negative, zero)` eigenvalue counts, by Sylvester's law of inertia), `shape`, `mode`, `ordering`, `shift`, and `factor_nnz` (stored nonzeros in `L`, a measure of fill-in; for `multifrontal` it includes explicit zeros of merged fronts).
337
+ `SparseCholesky` methods and properties: `solve(b)`, `refactorize(a, *, shift=None)` (`None` keeps the current shift), `slogdet()`, `logdet()`, `inertia` (`(positive, negative, zero)` eigenvalue counts, by Sylvester's law of inertia), `L()`, `D()` and `P()` (the factors as SciPy CSC matrices and the permutation as an index array, with `(A + shift*I)[p][:, p] == L @ D @ L.T` as in scikit-sparse; `L` has its diagonal stored, unit except for `llt`, and `D` is the identity for `llt` and has 2x2 blocks for `multifrontal`), `shape`, `mode`, `ordering`, `shift`, and `factor_nnz` (stored nonzeros in `L`, a measure of fill-in; for `multifrontal` it includes explicit zeros of merged fronts).
330
338
 
331
339
  **Requirements and behavior:**
332
340
 
@@ -344,12 +352,49 @@ n_pos, n_neg, n_zero = kkt.inertia # eigenvalue sign counts, from the pivot
344
352
  - Single-RHS solves are 1.4–2× slower than CHOLMOD's on low-fill problems, and up to 3× slower on 3D meshes.
345
353
  - **`mode="multifrontal"` (experimental)** uses dense fronts, so it changes the high-fill picture: it factors 3D meshes 3–9× faster than `ldlt` (40³ grid: 10.9 s → 1.25 s) and is within about 15% of CHOLMOD's supernodal mode on 2D meshes and graphs. On 3D meshes it is still 1.3–3.7× slower than CHOLMOD with the same AMD ordering. Single-RHS solves are on par with CHOLMOD's. Solves with many right-hand sides use a supernodal blocked kernel and were the fastest of all tested solvers on every problem (32 RHS): 1.05–1.5× faster than `ldlt` on low-fill problems, 3–6× faster on 3D meshes, and 1.1–4.4× faster than CHOLMOD's best mode. That kernel's copy of `L` is built on the first many-RHS solve after each factorization, a one-time cost of 0.25–0.65× the factorization (2–9 steady-state solves), and it roughly doubles the factor's memory. `ldlt` stays the default while `multifrontal` is experimental.
346
354
 
355
+ #### Sparse least squares (`lstsq`)
356
+
357
+ Minimize `||A x - b||^2 + damp^2 ||x||^2` for a sparse `A` (`m x n`, any shape). `damp=0` is ordinary least squares; `damp > 0` adds ridge (Tikhonov) regularization, as in SciPy's `lsqr(..., damp=)`.
358
+
359
+ ```python
360
+ x = sparse.lstsq(A, b) # method="augmented", damp=0
361
+ x = sparse.lstsq(A, b, method="normal")
362
+ x = sparse.lstsq(A, b, method="qr", damp=1e-3)
363
+
364
+ ls = sparse.SparseLeastSquares(A) # factorize once ...
365
+ X = ls.solve(B) # ... then solve for many right-hand sides (columns of B)
366
+ ```
367
+
368
+ | `method` | Factorization | Use it when |
369
+ |----------|---------------|-------------|
370
+ | `"augmented"` | Multifrontal LDLᵀ (Eigen `MultifrontalLDLT`) of `[[αI, A], [Aᵀ, −(damp²/α)I]] [r/α; x] = [b; 0]`, with `α = max|aᵢⱼ|`. Default. | General use. It never forms `AᵀA`, so dense rows (a constraint touching every unknown) stay cheap. |
371
+ | `"normal"` | Sparse Cholesky (Eigen `SimplicialLDLT`) of `AᵀA + damp²I`. | Every row of `A` is short. About as fast as `"augmented"`, with a smaller factor. |
372
+ | `"qr"` | Sparse Householder QR (Eigen `SparseQR`) of `A`, or of `[A; damp·I]`. | `A` is too ill-conditioned for the other two (cond(A) beyond about 1e7) or rank deficient with `damp=0`. Much slower. |
373
+
374
+ **Accuracy.** `"augmented"` and `"normal"` square the condition number when they factorize, so `solve` applies iterative refinement, with residuals computed from `A` itself. While cond(A) is below roughly 1e7, that makes them as accurate as a dense QR least-squares solve: 1e-16 relative error on a consistent system with cond(A) = 8e6, where the unrefined solve had 3e-5. Beyond that, refinement cannot converge, and `solve` raises `numpy.linalg.LinAlgError` naming `method="qr"` instead of returning an inaccurate answer. `"qr"` works on `A` directly. In our tests it stayed accurate to cond(A) = 3e9, but it loses accuracy when row scales differ by many orders of magnitude (weighted least squares), because Eigen's QR does not pivot rows. `refine=False` skips refinement: fewer solves, but accuracy near cond(A)²·eps and no ill-conditioning check.
375
+
376
+ **Rank deficiency.** With `damp=0`, `"augmented"` and `"normal"` raise `LinAlgError` at construction when `A` is rank deficient, including any wide `A` (`m < n`). `"qr"` returns a basic solution, with `n − rank` entries set to zero, and reports the numerical rank in `.rank`. That solution is not the minimum-norm one: use `decomp.SVD(A.toarray()).solve(b)` or `damp > 0` for that. With `damp > 0` every method handles any `A`.
377
+
378
+ **Eigen's SparseQR and row order.** Eigen's `SparseQR` pivots column `k` on row `k` and treats `A[k, k]` as a structural nonzero even when it is zero. On a matrix whose rows are in arbitrary order, R fills in almost completely. For a 9908 × 4900 grid problem it stored 7.9M entries instead of 82k, and the factorization took 41 s instead of 83 ms. `method="qr"` therefore orders the columns with COLAMD and matches every column to a row that has an entry in it, before calling Eigen. R then has the fill of the Cholesky factor of `AᵀA`.
379
+
380
+ `SparseLeastSquares` properties: `shape`, `method`, `damp`, `factor_nnz` (stored nonzeros of `L`, or of `R` for `"qr"`), `rank` (`"qr"` only, otherwise `None`). `a` must have finite values (`ValueError` otherwise). `solve` releases the GIL. Also exported as `peigen.decomp.SparseLeastSquares`.
381
+
382
+ **Performance** (Apple M1 Pro, one right-hand side; solve includes refinement):
383
+
384
+ | Problem | `"augmented"` factor / solve | `"normal"` factor / solve | `"qr"` factor / solve |
385
+ |---------|------------------------------|---------------------------|-----------------------|
386
+ | 2D grid gradient, 20,305 × 10,000 | 9.6 ms / 1.9 ms | 7.1 ms / 1.8 ms | 424 ms / 4.0 ms |
387
+ | 2D grid gradient, 81,627 × 40,000 | 53 ms / 12.5 ms | 54 ms / 10.5 ms | 6.3 s / 34 ms |
388
+ | 2D grid gradient, 183,921 × 90,000 | 99 ms / 21 ms | 140 ms / 21 ms | — |
389
+ | 2D grid gradient plus one dense row, 9,916 × 4,900 | 5.2 ms / 0.9 ms | 11.6 s / 64 ms | 52 s / 53 ms |
390
+
347
391
  ### `peigen.decomp`
348
392
 
349
393
  - `SVD(a, full_matrices=False)` with `.solve(b, rcond=None)`: minimum-norm least squares via the pseudoinverse. Singular values `<= rcond * max(s)` are treated as zero; `rcond` is relative, as in `numpy.linalg.lstsq`, and defaults to `eps * max(M, N)`.
350
394
  - `QR(a)`
351
395
  - `SparseFactorized(a)`
352
396
  - `SparseCholesky(a, mode="ldlt", ...)`
397
+ - `SparseLeastSquares(a, method="augmented", damp=0.0)`
353
398
 
354
399
  ## Runtime build report
355
400
 
@@ -39,8 +39,8 @@ wheels.
39
39
  4. Tag and push:
40
40
 
41
41
  ```bash
42
- git tag -a v2.1.0 -m "pEigen 2.1.0"
43
- git push origin v2.1.0
42
+ git tag -a v2.2.0 -m "pEigen 2.2.0"
43
+ git push origin v2.2.0
44
44
  ```
45
45
 
46
46
  5. The workflow then:
@@ -33,14 +33,14 @@ BENCH_GRIDS = (
33
33
  )
34
34
  RHS_COLS = 8
35
35
  CG_RHS_COLS = 1
36
- CG_PRECONDITIONERS = ("none", "jacobi", "ilu")
36
+ CG_PRECONDITIONERS = ("none", "jacobi", "ichol")
37
37
  SOLVE_RTOL = 1e-8
38
38
 
39
- # ILU parameters calibrated on BENCH_GRIDS Laplacian (seed 321): both sides converge at
40
- # rtol=1e-8 with similar CG iteration counts (typically 3–8 iterations).
41
- ILU_DROP_TOL = 1e-4
42
- SCIPY_ILU_FILL_FACTOR = 20
43
- EIGEN_ILU_FILL_FACTOR = 40
39
+ # pEigen's "ichol" is zero-fill incomplete Cholesky. SciPy has no incomplete Cholesky, so the
40
+ # SciPy side of the "ichol" rows uses spilu, its closest built-in incomplete factorization (with
41
+ # fill, so it needs fewer iterations per solve but costs more to set up).
42
+ SCIPY_SPILU_DROP_TOL = 1e-4
43
+ SCIPY_SPILU_FILL_FACTOR = 20
44
44
 
45
45
  # Advection–diffusion: -epsilon * Laplacian + v · grad (upwind), nonsymmetric.
46
46
  ADV_DIFF_EPSILON = 1.0
@@ -196,11 +196,11 @@ def _relative_residual(a, x: np.ndarray, b: np.ndarray) -> float:
196
196
 
197
197
 
198
198
  def _scipy_cg_preconditioner(a, preconditioner: str):
199
- if preconditioner == "ilu":
199
+ if preconditioner == "ichol":
200
200
  ilu = spla.spilu(
201
201
  a.tocsc(),
202
- drop_tol=ILU_DROP_TOL,
203
- fill_factor=SCIPY_ILU_FILL_FACTOR,
202
+ drop_tol=SCIPY_SPILU_DROP_TOL,
203
+ fill_factor=SCIPY_SPILU_FILL_FACTOR,
204
204
  )
205
205
  return spla.LinearOperator(a.shape, matvec=ilu.solve)
206
206
  if preconditioner == "jacobi":
@@ -209,7 +209,7 @@ def _scipy_cg_preconditioner(a, preconditioner: str):
209
209
 
210
210
 
211
211
  def _scipy_cg_solve(a, b: np.ndarray, *, rtol: float, maxiter: int, preconditioner: str) -> None:
212
- """SciPy CG with optional preconditioner (setup included for ILU)."""
212
+ """SciPy CG with optional preconditioner (preconditioner setup included in the timing)."""
213
213
  b_vec = b if b.ndim == 1 else b[:, 0]
214
214
  kwargs: dict = {"rtol": rtol, "maxiter": maxiter}
215
215
  precond = _scipy_cg_preconditioner(a, preconditioner)
@@ -267,9 +267,6 @@ def _peigen_cg_profile(
267
267
  "maxiter": maxiter,
268
268
  "preconditioner": preconditioner,
269
269
  }
270
- if preconditioner == "ilu":
271
- solve_kwargs["ilu_fill_factor"] = EIGEN_ILU_FILL_FACTOR
272
- solve_kwargs["ilu_drop_tol"] = ILU_DROP_TOL
273
270
  try:
274
271
  x = sparse.solve(a, b, **solve_kwargs)
275
272
  stats = sparse.solve_stats(a, b, **solve_kwargs)
@@ -298,9 +295,6 @@ def _peigen_cg_solve(
298
295
  "maxiter": maxiter,
299
296
  "preconditioner": preconditioner,
300
297
  }
301
- if preconditioner == "ilu":
302
- solve_kwargs["ilu_fill_factor"] = EIGEN_ILU_FILL_FACTOR
303
- solve_kwargs["ilu_drop_tol"] = ILU_DROP_TOL
304
298
  return sparse.solve(a, b, **solve_kwargs)
305
299
 
306
300
 
@@ -366,8 +360,8 @@ def run():
366
360
  cg_rows: list[list[str]] = []
367
361
  cg_notes = (
368
362
  "Speedup only when both sides converge; same (A, b) per grid across preconditioners. "
369
- f"ILU: SciPy spilu(fill={SCIPY_ILU_FILL_FACTOR}, drop_tol={ILU_DROP_TOL}); "
370
- f"pEigen IncompleteLUT(fill={EIGEN_ILU_FILL_FACTOR}, drop_tol={ILU_DROP_TOL})."
363
+ "ichol: pEigen zero-fill IncompleteCholesky; SciPy has no incomplete Cholesky, so its side "
364
+ f"uses spilu(fill={SCIPY_SPILU_FILL_FACTOR}, drop_tol={SCIPY_SPILU_DROP_TOL})."
371
365
  )
372
366
  for nx, ny in BENCH_GRIDS:
373
367
  a = laplacian_2d(nx, ny)
@@ -7,7 +7,7 @@ build-backend = "scikit_build_core.build"
7
7
 
8
8
  [project]
9
9
  name = "peigentux"
10
- version = "2.1.0"
10
+ version = "2.2.0"
11
11
  description = "Eigen-powered dense and sparse linear algebra for NumPy/SciPy, including sparse Cholesky"
12
12
  readme = "README.md"
13
13
  license = "MIT AND MPL-2.0"
@@ -71,3 +71,4 @@ class QR:
71
71
  # Same class as ``peigen.sparse.factorize`` returns; re-exported here for discoverability.
72
72
  SparseFactorized = sparse.SparseFactorized
73
73
  SparseCholesky = sparse.SparseCholesky
74
+ SparseLeastSquares = sparse.SparseLeastSquares