pylibsparseir 0.1.0__cp311-cp311-macosx_15_0_arm64.whl → 0.6.0__cp311-cp311-macosx_15_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pylibsparseir might be problematic. Click here for more details.
- include/eigen3/Eigen/Cholesky +45 -0
- include/eigen3/Eigen/CholmodSupport +48 -0
- include/eigen3/Eigen/Core +384 -0
- include/eigen3/Eigen/Dense +7 -0
- include/eigen3/Eigen/Eigen +2 -0
- include/eigen3/Eigen/Eigenvalues +60 -0
- include/eigen3/Eigen/Geometry +59 -0
- include/eigen3/Eigen/Householder +29 -0
- include/eigen3/Eigen/IterativeLinearSolvers +48 -0
- include/eigen3/Eigen/Jacobi +32 -0
- include/eigen3/Eigen/KLUSupport +41 -0
- include/eigen3/Eigen/LU +47 -0
- include/eigen3/Eigen/MetisSupport +35 -0
- include/eigen3/Eigen/OrderingMethods +70 -0
- include/eigen3/Eigen/PaStiXSupport +49 -0
- include/eigen3/Eigen/PardisoSupport +35 -0
- include/eigen3/Eigen/QR +50 -0
- include/eigen3/Eigen/QtAlignedMalloc +39 -0
- include/eigen3/Eigen/SPQRSupport +34 -0
- include/eigen3/Eigen/SVD +50 -0
- include/eigen3/Eigen/Sparse +34 -0
- include/eigen3/Eigen/SparseCholesky +37 -0
- include/eigen3/Eigen/SparseCore +69 -0
- include/eigen3/Eigen/SparseLU +50 -0
- include/eigen3/Eigen/SparseQR +36 -0
- include/eigen3/Eigen/StdDeque +27 -0
- include/eigen3/Eigen/StdList +26 -0
- include/eigen3/Eigen/StdVector +27 -0
- include/eigen3/Eigen/SuperLUSupport +64 -0
- include/eigen3/Eigen/UmfPackSupport +40 -0
- include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
- include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
- include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
- include/eigen3/Eigen/src/Core/ArithmeticSequence.h +413 -0
- include/eigen3/Eigen/src/Core/Array.h +417 -0
- include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
- include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
- include/eigen3/Eigen/src/Core/Assign.h +90 -0
- include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
- include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
- include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
- include/eigen3/Eigen/src/Core/Block.h +448 -0
- include/eigen3/Eigen/src/Core/BooleanRedux.h +162 -0
- include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
- include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
- include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
- include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
- include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
- include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
- include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
- include/eigen3/Eigen/src/Core/Diagonal.h +258 -0
- include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
- include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
- include/eigen3/Eigen/src/Core/Dot.h +318 -0
- include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
- include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
- include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
- include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
- include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
- include/eigen3/Eigen/src/Core/IO.h +258 -0
- include/eigen3/Eigen/src/Core/IndexedView.h +237 -0
- include/eigen3/Eigen/src/Core/Inverse.h +117 -0
- include/eigen3/Eigen/src/Core/Map.h +171 -0
- include/eigen3/Eigen/src/Core/MapBase.h +310 -0
- include/eigen3/Eigen/src/Core/MathFunctions.h +2057 -0
- include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- include/eigen3/Eigen/src/Core/Matrix.h +565 -0
- include/eigen3/Eigen/src/Core/MatrixBase.h +547 -0
- include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
- include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
- include/eigen3/Eigen/src/Core/NumTraits.h +335 -0
- include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
- include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
- include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
- include/eigen3/Eigen/src/Core/Product.h +191 -0
- include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
- include/eigen3/Eigen/src/Core/Random.h +218 -0
- include/eigen3/Eigen/src/Core/Redux.h +515 -0
- include/eigen3/Eigen/src/Core/Ref.h +381 -0
- include/eigen3/Eigen/src/Core/Replicate.h +142 -0
- include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
- include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
- include/eigen3/Eigen/src/Core/Reverse.h +217 -0
- include/eigen3/Eigen/src/Core/Select.h +164 -0
- include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
- include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- include/eigen3/Eigen/src/Core/Solve.h +188 -0
- include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
- include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
- include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
- include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
- include/eigen3/Eigen/src/Core/Stride.h +116 -0
- include/eigen3/Eigen/src/Core/Swap.h +68 -0
- include/eigen3/Eigen/src/Core/Transpose.h +464 -0
- include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
- include/eigen3/Eigen/src/Core/TriangularMatrix.h +1001 -0
- include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
- include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
- include/eigen3/Eigen/src/Core/Visitor.h +381 -0
- include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +372 -0
- include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
- include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
- include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
- include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
- include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
- include/eigen3/Eigen/src/Core/arch/Default/Half.h +942 -0
- include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
- include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
- include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
- include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +648 -0
- include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +584 -0
- include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
- include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
- include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +351 -0
- include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
- include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
- include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
- include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
- include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
- include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
- include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
- include/eigen3/Eigen/src/Core/util/Macros.h +1464 -0
- include/eigen3/Eigen/src/Core/util/Memory.h +1163 -0
- include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
- include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
- include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
- include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
- include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +558 -0
- include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
- include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
- include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
- include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
- include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
- include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
- include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
- include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
- include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
- include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
- include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
- include/eigen3/Eigen/src/Geometry/Transform.h +1563 -0
- include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
- include/eigen3/Eigen/src/Geometry/Umeyama.h +166 -0
- include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
- include/eigen3/Eigen/src/Householder/Householder.h +176 -0
- include/eigen3/Eigen/src/Householder/HouseholderSequence.h +545 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
- include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- include/eigen3/Eigen/src/LU/Determinant.h +117 -0
- include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
- include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
- include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
- include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- include/eigen3/Eigen/src/LU/arch/InverseSize4.h +351 -0
- include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
- include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
- include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
- include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- include/eigen3/Eigen/src/SVD/BDCSVD.h +1366 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD.h +812 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
- include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
- include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
- include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
- include/eigen3/Eigen/src/SparseCore/SparseBlock.h +571 -0
- include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
- include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- include/eigen3/Eigen/src/SparseCore/SparseMap.h +305 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
- include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- include/eigen3/Eigen/src/SparseCore/SparseProduct.h +181 -0
- include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
- include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
- include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
- include/eigen3/Eigen/src/SparseCore/SparseVector.h +478 -0
- include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
- include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU.h +923 -0
- include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
- include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
- include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
- include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
- include/eigen3/Eigen/src/StlSupport/details.h +84 -0
- include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- include/eigen3/Eigen/src/misc/Image.h +82 -0
- include/eigen3/Eigen/src/misc/Kernel.h +79 -0
- include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
- include/eigen3/Eigen/src/misc/blas.h +440 -0
- include/eigen3/Eigen/src/misc/lapack.h +152 -0
- include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
- include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
- include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
- include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
- include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
- include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
- include/eigen3/signature_of_eigen3_matrix_library +1 -0
- include/eigen3/unsupported/Eigen/AdolcForward +159 -0
- include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
- include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
- include/eigen3/unsupported/Eigen/AutoDiff +46 -0
- include/eigen3/unsupported/Eigen/BVH +95 -0
- include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
- include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
- include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +329 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +247 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1093 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +518 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +377 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1023 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +456 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1132 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +544 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +214 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +347 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +490 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +983 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +703 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +388 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +379 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +237 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +302 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +603 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +738 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +247 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +263 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +216 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1102 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +708 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +291 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +322 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +998 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +966 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +465 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +471 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +161 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +346 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +303 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +629 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +537 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
- include/eigen3/unsupported/Eigen/EulerAngles +43 -0
- include/eigen3/unsupported/Eigen/FFT +419 -0
- include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
- include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
- include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
- include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
- include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
- include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
- include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
- include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
- include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
- include/eigen3/unsupported/Eigen/Polynomials +137 -0
- include/eigen3/unsupported/Eigen/Skyline +39 -0
- include/eigen3/unsupported/Eigen/SparseExtra +54 -0
- include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
- include/eigen3/unsupported/Eigen/Splines +35 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
- include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
- include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
- include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +355 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +305 -0
- include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
- include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
- include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
- include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
- include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +428 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2045 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +46 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
- include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
- include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
- include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
- pylibsparseir/__init__.py +31 -0
- pylibsparseir/clean_build_artifacts.py +0 -1
- pylibsparseir/core.py +178 -62
- pylibsparseir/libsparseir.dylib +0 -0
- pylibsparseir-0.6.0.dist-info/METADATA +213 -0
- pylibsparseir-0.6.0.dist-info/RECORD +545 -0
- {pylibsparseir-0.1.0.dist-info → pylibsparseir-0.6.0.dist-info}/WHEEL +1 -1
- pylibsparseir-0.6.0.dist-info/licenses/LICENSE +21 -0
- share/eigen3/cmake/Eigen3Config.cmake +37 -0
- share/eigen3/cmake/Eigen3ConfigVersion.cmake +65 -0
- share/eigen3/cmake/Eigen3Targets.cmake +106 -0
- share/eigen3/cmake/UseEigen3.cmake +6 -0
- share/pkgconfig/eigen3.pc +9 -0
- pylibsparseir/libsparseir.0.4.2.dylib +0 -0
- pylibsparseir/libsparseir.0.dylib +0 -0
- pylibsparseir-0.1.0.dist-info/METADATA +0 -130
- pylibsparseir-0.1.0.dist-info/RECORD +0 -12
- pylibsparseir-0.1.0.dist-info/entry_points.txt +0 -2
- pylibsparseir-0.1.0.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2012 Giacomo Po <gpo@ucla.edu>
|
|
5
|
+
// Copyright (C) 2011-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
|
|
6
|
+
// Copyright (C) 2018 David Hyde <dabh@stanford.edu>
|
|
7
|
+
//
|
|
8
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
|
9
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
10
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
#ifndef EIGEN_MINRES_H_
|
|
14
|
+
#define EIGEN_MINRES_H_
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
namespace Eigen {
|
|
18
|
+
|
|
19
|
+
namespace internal {
|
|
20
|
+
|
|
21
|
+
/** \internal Low-level MINRES algorithm
|
|
22
|
+
* \param mat The matrix A
|
|
23
|
+
* \param rhs The right hand side vector b
|
|
24
|
+
* \param x On input and initial solution, on output the computed solution.
|
|
25
|
+
* \param precond A right preconditioner being able to efficiently solve for an
|
|
26
|
+
* approximation of Ax=b (regardless of b)
|
|
27
|
+
* \param iters On input the max number of iteration, on output the number of performed iterations.
|
|
28
|
+
* \param tol_error On input the tolerance error, on output an estimation of the relative error.
|
|
29
|
+
*/
|
|
30
|
+
template<typename MatrixType, typename Rhs, typename Dest, typename Preconditioner>
|
|
31
|
+
EIGEN_DONT_INLINE
|
|
32
|
+
void minres(const MatrixType& mat, const Rhs& rhs, Dest& x,
|
|
33
|
+
const Preconditioner& precond, Index& iters,
|
|
34
|
+
typename Dest::RealScalar& tol_error)
|
|
35
|
+
{
|
|
36
|
+
using std::sqrt;
|
|
37
|
+
typedef typename Dest::RealScalar RealScalar;
|
|
38
|
+
typedef typename Dest::Scalar Scalar;
|
|
39
|
+
typedef Matrix<Scalar,Dynamic,1> VectorType;
|
|
40
|
+
|
|
41
|
+
// Check for zero rhs
|
|
42
|
+
const RealScalar rhsNorm2(rhs.squaredNorm());
|
|
43
|
+
if(rhsNorm2 == 0)
|
|
44
|
+
{
|
|
45
|
+
x.setZero();
|
|
46
|
+
iters = 0;
|
|
47
|
+
tol_error = 0;
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// initialize
|
|
52
|
+
const Index maxIters(iters); // initialize maxIters to iters
|
|
53
|
+
const Index N(mat.cols()); // the size of the matrix
|
|
54
|
+
const RealScalar threshold2(tol_error*tol_error*rhsNorm2); // convergence threshold (compared to residualNorm2)
|
|
55
|
+
|
|
56
|
+
// Initialize preconditioned Lanczos
|
|
57
|
+
VectorType v_old(N); // will be initialized inside loop
|
|
58
|
+
VectorType v( VectorType::Zero(N) ); //initialize v
|
|
59
|
+
VectorType v_new(rhs-mat*x); //initialize v_new
|
|
60
|
+
RealScalar residualNorm2(v_new.squaredNorm());
|
|
61
|
+
VectorType w(N); // will be initialized inside loop
|
|
62
|
+
VectorType w_new(precond.solve(v_new)); // initialize w_new
|
|
63
|
+
// RealScalar beta; // will be initialized inside loop
|
|
64
|
+
RealScalar beta_new2(v_new.dot(w_new));
|
|
65
|
+
eigen_assert(beta_new2 >= 0.0 && "PRECONDITIONER IS NOT POSITIVE DEFINITE");
|
|
66
|
+
RealScalar beta_new(sqrt(beta_new2));
|
|
67
|
+
const RealScalar beta_one(beta_new);
|
|
68
|
+
// Initialize other variables
|
|
69
|
+
RealScalar c(1.0); // the cosine of the Givens rotation
|
|
70
|
+
RealScalar c_old(1.0);
|
|
71
|
+
RealScalar s(0.0); // the sine of the Givens rotation
|
|
72
|
+
RealScalar s_old(0.0); // the sine of the Givens rotation
|
|
73
|
+
VectorType p_oold(N); // will be initialized in loop
|
|
74
|
+
VectorType p_old(VectorType::Zero(N)); // initialize p_old=0
|
|
75
|
+
VectorType p(p_old); // initialize p=0
|
|
76
|
+
RealScalar eta(1.0);
|
|
77
|
+
|
|
78
|
+
iters = 0; // reset iters
|
|
79
|
+
while ( iters < maxIters )
|
|
80
|
+
{
|
|
81
|
+
// Preconditioned Lanczos
|
|
82
|
+
/* Note that there are 4 variants on the Lanczos algorithm. These are
|
|
83
|
+
* described in Paige, C. C. (1972). Computational variants of
|
|
84
|
+
* the Lanczos method for the eigenproblem. IMA Journal of Applied
|
|
85
|
+
* Mathematics, 10(3), 373-381. The current implementation corresponds
|
|
86
|
+
* to the case A(2,7) in the paper. It also corresponds to
|
|
87
|
+
* algorithm 6.14 in Y. Saad, Iterative Methods for Sparse Linear
|
|
88
|
+
* Systems, 2003 p.173. For the preconditioned version see
|
|
89
|
+
* A. Greenbaum, Iterative Methods for Solving Linear Systems, SIAM (1987).
|
|
90
|
+
*/
|
|
91
|
+
const RealScalar beta(beta_new);
|
|
92
|
+
v_old = v; // update: at first time step, this makes v_old = 0 so value of beta doesn't matter
|
|
93
|
+
v_new /= beta_new; // overwrite v_new for next iteration
|
|
94
|
+
w_new /= beta_new; // overwrite w_new for next iteration
|
|
95
|
+
v = v_new; // update
|
|
96
|
+
w = w_new; // update
|
|
97
|
+
v_new.noalias() = mat*w - beta*v_old; // compute v_new
|
|
98
|
+
const RealScalar alpha = v_new.dot(w);
|
|
99
|
+
v_new -= alpha*v; // overwrite v_new
|
|
100
|
+
w_new = precond.solve(v_new); // overwrite w_new
|
|
101
|
+
beta_new2 = v_new.dot(w_new); // compute beta_new
|
|
102
|
+
eigen_assert(beta_new2 >= 0.0 && "PRECONDITIONER IS NOT POSITIVE DEFINITE");
|
|
103
|
+
beta_new = sqrt(beta_new2); // compute beta_new
|
|
104
|
+
|
|
105
|
+
// Givens rotation
|
|
106
|
+
const RealScalar r2 =s*alpha+c*c_old*beta; // s, s_old, c and c_old are still from previous iteration
|
|
107
|
+
const RealScalar r3 =s_old*beta; // s, s_old, c and c_old are still from previous iteration
|
|
108
|
+
const RealScalar r1_hat=c*alpha-c_old*s*beta;
|
|
109
|
+
const RealScalar r1 =sqrt( std::pow(r1_hat,2) + std::pow(beta_new,2) );
|
|
110
|
+
c_old = c; // store for next iteration
|
|
111
|
+
s_old = s; // store for next iteration
|
|
112
|
+
c=r1_hat/r1; // new cosine
|
|
113
|
+
s=beta_new/r1; // new sine
|
|
114
|
+
|
|
115
|
+
// Update solution
|
|
116
|
+
p_oold = p_old;
|
|
117
|
+
p_old = p;
|
|
118
|
+
p.noalias()=(w-r2*p_old-r3*p_oold) /r1; // IS NOALIAS REQUIRED?
|
|
119
|
+
x += beta_one*c*eta*p;
|
|
120
|
+
|
|
121
|
+
/* Update the squared residual. Note that this is the estimated residual.
|
|
122
|
+
The real residual |Ax-b|^2 may be slightly larger */
|
|
123
|
+
residualNorm2 *= s*s;
|
|
124
|
+
|
|
125
|
+
if ( residualNorm2 < threshold2)
|
|
126
|
+
{
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
eta=-s*eta; // update eta
|
|
131
|
+
iters++; // increment iteration number (for output purposes)
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* Compute error. Note that this is the estimated error. The real
|
|
135
|
+
error |Ax-b|/|b| may be slightly larger */
|
|
136
|
+
tol_error = std::sqrt(residualNorm2 / rhsNorm2);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
template< typename _MatrixType, int _UpLo=Lower,
|
|
142
|
+
typename _Preconditioner = IdentityPreconditioner>
|
|
143
|
+
class MINRES;
|
|
144
|
+
|
|
145
|
+
namespace internal {
|
|
146
|
+
|
|
147
|
+
template< typename _MatrixType, int _UpLo, typename _Preconditioner>
|
|
148
|
+
struct traits<MINRES<_MatrixType,_UpLo,_Preconditioner> >
|
|
149
|
+
{
|
|
150
|
+
typedef _MatrixType MatrixType;
|
|
151
|
+
typedef _Preconditioner Preconditioner;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/** \ingroup IterativeLinearSolvers_Module
|
|
157
|
+
* \brief A minimal residual solver for sparse symmetric problems
|
|
158
|
+
*
|
|
159
|
+
* This class allows to solve for A.x = b sparse linear problems using the MINRES algorithm
|
|
160
|
+
* of Paige and Saunders (1975). The sparse matrix A must be symmetric (possibly indefinite).
|
|
161
|
+
* The vectors x and b can be either dense or sparse.
|
|
162
|
+
*
|
|
163
|
+
* \tparam _MatrixType the type of the sparse matrix A, can be a dense or a sparse matrix.
|
|
164
|
+
* \tparam _UpLo the triangular part that will be used for the computations. It can be Lower,
|
|
165
|
+
* Upper, or Lower|Upper in which the full matrix entries will be considered. Default is Lower.
|
|
166
|
+
* \tparam _Preconditioner the type of the preconditioner. Default is DiagonalPreconditioner
|
|
167
|
+
*
|
|
168
|
+
* The maximal number of iterations and tolerance value can be controlled via the setMaxIterations()
|
|
169
|
+
* and setTolerance() methods. The defaults are the size of the problem for the maximal number of iterations
|
|
170
|
+
* and NumTraits<Scalar>::epsilon() for the tolerance.
|
|
171
|
+
*
|
|
172
|
+
* This class can be used as the direct solver classes. Here is a typical usage example:
|
|
173
|
+
* \code
|
|
174
|
+
* int n = 10000;
|
|
175
|
+
* VectorXd x(n), b(n);
|
|
176
|
+
* SparseMatrix<double> A(n,n);
|
|
177
|
+
* // fill A and b
|
|
178
|
+
* MINRES<SparseMatrix<double> > mr;
|
|
179
|
+
* mr.compute(A);
|
|
180
|
+
* x = mr.solve(b);
|
|
181
|
+
* std::cout << "#iterations: " << mr.iterations() << std::endl;
|
|
182
|
+
* std::cout << "estimated error: " << mr.error() << std::endl;
|
|
183
|
+
* // update b, and solve again
|
|
184
|
+
* x = mr.solve(b);
|
|
185
|
+
* \endcode
|
|
186
|
+
*
|
|
187
|
+
* By default the iterations start with x=0 as an initial guess of the solution.
|
|
188
|
+
* One can control the start using the solveWithGuess() method.
|
|
189
|
+
*
|
|
190
|
+
* MINRES can also be used in a matrix-free context, see the following \link MatrixfreeSolverExample example \endlink.
|
|
191
|
+
*
|
|
192
|
+
* \sa class ConjugateGradient, BiCGSTAB, SimplicialCholesky, DiagonalPreconditioner, IdentityPreconditioner
|
|
193
|
+
*/
|
|
194
|
+
template< typename _MatrixType, int _UpLo, typename _Preconditioner>
|
|
195
|
+
class MINRES : public IterativeSolverBase<MINRES<_MatrixType,_UpLo,_Preconditioner> >
|
|
196
|
+
{
|
|
197
|
+
|
|
198
|
+
typedef IterativeSolverBase<MINRES> Base;
|
|
199
|
+
using Base::matrix;
|
|
200
|
+
using Base::m_error;
|
|
201
|
+
using Base::m_iterations;
|
|
202
|
+
using Base::m_info;
|
|
203
|
+
using Base::m_isInitialized;
|
|
204
|
+
public:
|
|
205
|
+
using Base::_solve_impl;
|
|
206
|
+
typedef _MatrixType MatrixType;
|
|
207
|
+
typedef typename MatrixType::Scalar Scalar;
|
|
208
|
+
typedef typename MatrixType::RealScalar RealScalar;
|
|
209
|
+
typedef _Preconditioner Preconditioner;
|
|
210
|
+
|
|
211
|
+
enum {UpLo = _UpLo};
|
|
212
|
+
|
|
213
|
+
public:
|
|
214
|
+
|
|
215
|
+
/** Default constructor. */
|
|
216
|
+
MINRES() : Base() {}
|
|
217
|
+
|
|
218
|
+
/** Initialize the solver with matrix \a A for further \c Ax=b solving.
|
|
219
|
+
*
|
|
220
|
+
* This constructor is a shortcut for the default constructor followed
|
|
221
|
+
* by a call to compute().
|
|
222
|
+
*
|
|
223
|
+
* \warning this class stores a reference to the matrix A as well as some
|
|
224
|
+
* precomputed values that depend on it. Therefore, if \a A is changed
|
|
225
|
+
* this class becomes invalid. Call compute() to update it with the new
|
|
226
|
+
* matrix A, or modify a copy of A.
|
|
227
|
+
*/
|
|
228
|
+
template<typename MatrixDerived>
|
|
229
|
+
explicit MINRES(const EigenBase<MatrixDerived>& A) : Base(A.derived()) {}
|
|
230
|
+
|
|
231
|
+
/** Destructor. */
|
|
232
|
+
~MINRES(){}
|
|
233
|
+
|
|
234
|
+
/** \internal */
|
|
235
|
+
template<typename Rhs,typename Dest>
|
|
236
|
+
void _solve_vector_with_guess_impl(const Rhs& b, Dest& x) const
|
|
237
|
+
{
|
|
238
|
+
typedef typename Base::MatrixWrapper MatrixWrapper;
|
|
239
|
+
typedef typename Base::ActualMatrixType ActualMatrixType;
|
|
240
|
+
enum {
|
|
241
|
+
TransposeInput = (!MatrixWrapper::MatrixFree)
|
|
242
|
+
&& (UpLo==(Lower|Upper))
|
|
243
|
+
&& (!MatrixType::IsRowMajor)
|
|
244
|
+
&& (!NumTraits<Scalar>::IsComplex)
|
|
245
|
+
};
|
|
246
|
+
typedef typename internal::conditional<TransposeInput,Transpose<const ActualMatrixType>, ActualMatrixType const&>::type RowMajorWrapper;
|
|
247
|
+
EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(MatrixWrapper::MatrixFree,UpLo==(Lower|Upper)),MATRIX_FREE_CONJUGATE_GRADIENT_IS_COMPATIBLE_WITH_UPPER_UNION_LOWER_MODE_ONLY);
|
|
248
|
+
typedef typename internal::conditional<UpLo==(Lower|Upper),
|
|
249
|
+
RowMajorWrapper,
|
|
250
|
+
typename MatrixWrapper::template ConstSelfAdjointViewReturnType<UpLo>::Type
|
|
251
|
+
>::type SelfAdjointWrapper;
|
|
252
|
+
|
|
253
|
+
m_iterations = Base::maxIterations();
|
|
254
|
+
m_error = Base::m_tolerance;
|
|
255
|
+
RowMajorWrapper row_mat(matrix());
|
|
256
|
+
internal::minres(SelfAdjointWrapper(row_mat), b, x,
|
|
257
|
+
Base::m_preconditioner, m_iterations, m_error);
|
|
258
|
+
m_info = m_error <= Base::m_tolerance ? Success : NoConvergence;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
protected:
|
|
262
|
+
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
} // end namespace Eigen
|
|
266
|
+
|
|
267
|
+
#endif // EIGEN_MINRES_H
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2012 Desire NUENTSA WAKAM <desire.nuentsa_wakam@inria.fr
|
|
5
|
+
//
|
|
6
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
|
7
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
8
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
9
|
+
|
|
10
|
+
#ifndef EIGEN_ITERSCALING_H
|
|
11
|
+
#define EIGEN_ITERSCALING_H
|
|
12
|
+
|
|
13
|
+
namespace Eigen {
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* \ingroup IterativeSolvers_Module
|
|
17
|
+
* \brief iterative scaling algorithm to equilibrate rows and column norms in matrices
|
|
18
|
+
*
|
|
19
|
+
* This class can be used as a preprocessing tool to accelerate the convergence of iterative methods
|
|
20
|
+
*
|
|
21
|
+
* This feature is useful to limit the pivoting amount during LU/ILU factorization
|
|
22
|
+
* The scaling strategy as presented here preserves the symmetry of the problem
|
|
23
|
+
* NOTE It is assumed that the matrix does not have empty row or column,
|
|
24
|
+
*
|
|
25
|
+
* Example with key steps
|
|
26
|
+
* \code
|
|
27
|
+
* VectorXd x(n), b(n);
|
|
28
|
+
* SparseMatrix<double> A;
|
|
29
|
+
* // fill A and b;
|
|
30
|
+
* IterScaling<SparseMatrix<double> > scal;
|
|
31
|
+
* // Compute the left and right scaling vectors. The matrix is equilibrated at output
|
|
32
|
+
* scal.computeRef(A);
|
|
33
|
+
* // Scale the right hand side
|
|
34
|
+
* b = scal.LeftScaling().cwiseProduct(b);
|
|
35
|
+
* // Now, solve the equilibrated linear system with any available solver
|
|
36
|
+
*
|
|
37
|
+
* // Scale back the computed solution
|
|
38
|
+
* x = scal.RightScaling().cwiseProduct(x);
|
|
39
|
+
* \endcode
|
|
40
|
+
*
|
|
41
|
+
* \tparam _MatrixType the type of the matrix. It should be a real square sparsematrix
|
|
42
|
+
*
|
|
43
|
+
* References : D. Ruiz and B. Ucar, A Symmetry Preserving Algorithm for Matrix Scaling, INRIA Research report RR-7552
|
|
44
|
+
*
|
|
45
|
+
* \sa \ref IncompleteLUT
|
|
46
|
+
*/
|
|
47
|
+
template<typename _MatrixType>
|
|
48
|
+
class IterScaling
|
|
49
|
+
{
|
|
50
|
+
public:
|
|
51
|
+
typedef _MatrixType MatrixType;
|
|
52
|
+
typedef typename MatrixType::Scalar Scalar;
|
|
53
|
+
typedef typename MatrixType::Index Index;
|
|
54
|
+
|
|
55
|
+
public:
|
|
56
|
+
IterScaling() { init(); }
|
|
57
|
+
|
|
58
|
+
IterScaling(const MatrixType& matrix)
|
|
59
|
+
{
|
|
60
|
+
init();
|
|
61
|
+
compute(matrix);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
~IterScaling() { }
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Compute the left and right diagonal matrices to scale the input matrix @p mat
|
|
68
|
+
*
|
|
69
|
+
* FIXME This algorithm will be modified such that the diagonal elements are permuted on the diagonal.
|
|
70
|
+
*
|
|
71
|
+
* \sa LeftScaling() RightScaling()
|
|
72
|
+
*/
|
|
73
|
+
void compute (const MatrixType& mat)
|
|
74
|
+
{
|
|
75
|
+
using std::abs;
|
|
76
|
+
int m = mat.rows();
|
|
77
|
+
int n = mat.cols();
|
|
78
|
+
eigen_assert((m>0 && m == n) && "Please give a non - empty matrix");
|
|
79
|
+
m_left.resize(m);
|
|
80
|
+
m_right.resize(n);
|
|
81
|
+
m_left.setOnes();
|
|
82
|
+
m_right.setOnes();
|
|
83
|
+
m_matrix = mat;
|
|
84
|
+
VectorXd Dr, Dc, DrRes, DcRes; // Temporary Left and right scaling vectors
|
|
85
|
+
Dr.resize(m); Dc.resize(n);
|
|
86
|
+
DrRes.resize(m); DcRes.resize(n);
|
|
87
|
+
double EpsRow = 1.0, EpsCol = 1.0;
|
|
88
|
+
int its = 0;
|
|
89
|
+
do
|
|
90
|
+
{ // Iterate until the infinite norm of each row and column is approximately 1
|
|
91
|
+
// Get the maximum value in each row and column
|
|
92
|
+
Dr.setZero(); Dc.setZero();
|
|
93
|
+
for (int k=0; k<m_matrix.outerSize(); ++k)
|
|
94
|
+
{
|
|
95
|
+
for (typename MatrixType::InnerIterator it(m_matrix, k); it; ++it)
|
|
96
|
+
{
|
|
97
|
+
if ( Dr(it.row()) < abs(it.value()) )
|
|
98
|
+
Dr(it.row()) = abs(it.value());
|
|
99
|
+
|
|
100
|
+
if ( Dc(it.col()) < abs(it.value()) )
|
|
101
|
+
Dc(it.col()) = abs(it.value());
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
for (int i = 0; i < m; ++i)
|
|
105
|
+
{
|
|
106
|
+
Dr(i) = std::sqrt(Dr(i));
|
|
107
|
+
}
|
|
108
|
+
for (int i = 0; i < n; ++i)
|
|
109
|
+
{
|
|
110
|
+
Dc(i) = std::sqrt(Dc(i));
|
|
111
|
+
}
|
|
112
|
+
// Save the scaling factors
|
|
113
|
+
for (int i = 0; i < m; ++i)
|
|
114
|
+
{
|
|
115
|
+
m_left(i) /= Dr(i);
|
|
116
|
+
}
|
|
117
|
+
for (int i = 0; i < n; ++i)
|
|
118
|
+
{
|
|
119
|
+
m_right(i) /= Dc(i);
|
|
120
|
+
}
|
|
121
|
+
// Scale the rows and the columns of the matrix
|
|
122
|
+
DrRes.setZero(); DcRes.setZero();
|
|
123
|
+
for (int k=0; k<m_matrix.outerSize(); ++k)
|
|
124
|
+
{
|
|
125
|
+
for (typename MatrixType::InnerIterator it(m_matrix, k); it; ++it)
|
|
126
|
+
{
|
|
127
|
+
it.valueRef() = it.value()/( Dr(it.row()) * Dc(it.col()) );
|
|
128
|
+
// Accumulate the norms of the row and column vectors
|
|
129
|
+
if ( DrRes(it.row()) < abs(it.value()) )
|
|
130
|
+
DrRes(it.row()) = abs(it.value());
|
|
131
|
+
|
|
132
|
+
if ( DcRes(it.col()) < abs(it.value()) )
|
|
133
|
+
DcRes(it.col()) = abs(it.value());
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
DrRes.array() = (1-DrRes.array()).abs();
|
|
137
|
+
EpsRow = DrRes.maxCoeff();
|
|
138
|
+
DcRes.array() = (1-DcRes.array()).abs();
|
|
139
|
+
EpsCol = DcRes.maxCoeff();
|
|
140
|
+
its++;
|
|
141
|
+
}while ( (EpsRow >m_tol || EpsCol > m_tol) && (its < m_maxits) );
|
|
142
|
+
m_isInitialized = true;
|
|
143
|
+
}
|
|
144
|
+
/** Compute the left and right vectors to scale the vectors
|
|
145
|
+
* the input matrix is scaled with the computed vectors at output
|
|
146
|
+
*
|
|
147
|
+
* \sa compute()
|
|
148
|
+
*/
|
|
149
|
+
void computeRef (MatrixType& mat)
|
|
150
|
+
{
|
|
151
|
+
compute (mat);
|
|
152
|
+
mat = m_matrix;
|
|
153
|
+
}
|
|
154
|
+
/** Get the vector to scale the rows of the matrix
|
|
155
|
+
*/
|
|
156
|
+
VectorXd& LeftScaling()
|
|
157
|
+
{
|
|
158
|
+
return m_left;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/** Get the vector to scale the columns of the matrix
|
|
162
|
+
*/
|
|
163
|
+
VectorXd& RightScaling()
|
|
164
|
+
{
|
|
165
|
+
return m_right;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/** Set the tolerance for the convergence of the iterative scaling algorithm
|
|
169
|
+
*/
|
|
170
|
+
void setTolerance(double tol)
|
|
171
|
+
{
|
|
172
|
+
m_tol = tol;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
protected:
|
|
176
|
+
|
|
177
|
+
void init()
|
|
178
|
+
{
|
|
179
|
+
m_tol = 1e-10;
|
|
180
|
+
m_maxits = 5;
|
|
181
|
+
m_isInitialized = false;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
MatrixType m_matrix;
|
|
185
|
+
mutable ComputationInfo m_info;
|
|
186
|
+
bool m_isInitialized;
|
|
187
|
+
VectorXd m_left; // Left scaling vector
|
|
188
|
+
VectorXd m_right; // m_right scaling vector
|
|
189
|
+
double m_tol;
|
|
190
|
+
int m_maxits; // Maximum number of iterations allowed
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
#endif
|