pylibsparseir 0.1.0__cp313-cp313-macosx_15_0_arm64.whl → 0.6.0__cp313-cp313-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,117 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2014 Gael Guennebaud <gael.guennebaud@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_SOLVEWITHGUESS_H
|
|
11
|
+
#define EIGEN_SOLVEWITHGUESS_H
|
|
12
|
+
|
|
13
|
+
namespace Eigen {
|
|
14
|
+
|
|
15
|
+
template<typename Decomposition, typename RhsType, typename GuessType> class SolveWithGuess;
|
|
16
|
+
|
|
17
|
+
/** \class SolveWithGuess
|
|
18
|
+
* \ingroup IterativeLinearSolvers_Module
|
|
19
|
+
*
|
|
20
|
+
* \brief Pseudo expression representing a solving operation
|
|
21
|
+
*
|
|
22
|
+
* \tparam Decomposition the type of the matrix or decomposion object
|
|
23
|
+
* \tparam Rhstype the type of the right-hand side
|
|
24
|
+
*
|
|
25
|
+
* This class represents an expression of A.solve(B)
|
|
26
|
+
* and most of the time this is the only way it is used.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
namespace internal {
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
template<typename Decomposition, typename RhsType, typename GuessType>
|
|
33
|
+
struct traits<SolveWithGuess<Decomposition, RhsType, GuessType> >
|
|
34
|
+
: traits<Solve<Decomposition,RhsType> >
|
|
35
|
+
{};
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
template<typename Decomposition, typename RhsType, typename GuessType>
|
|
41
|
+
class SolveWithGuess : public internal::generic_xpr_base<SolveWithGuess<Decomposition,RhsType,GuessType>, MatrixXpr, typename internal::traits<RhsType>::StorageKind>::type
|
|
42
|
+
{
|
|
43
|
+
public:
|
|
44
|
+
typedef typename internal::traits<SolveWithGuess>::Scalar Scalar;
|
|
45
|
+
typedef typename internal::traits<SolveWithGuess>::PlainObject PlainObject;
|
|
46
|
+
typedef typename internal::generic_xpr_base<SolveWithGuess<Decomposition,RhsType,GuessType>, MatrixXpr, typename internal::traits<RhsType>::StorageKind>::type Base;
|
|
47
|
+
typedef typename internal::ref_selector<SolveWithGuess>::type Nested;
|
|
48
|
+
|
|
49
|
+
SolveWithGuess(const Decomposition &dec, const RhsType &rhs, const GuessType &guess)
|
|
50
|
+
: m_dec(dec), m_rhs(rhs), m_guess(guess)
|
|
51
|
+
{}
|
|
52
|
+
|
|
53
|
+
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
|
|
54
|
+
Index rows() const EIGEN_NOEXCEPT { return m_dec.cols(); }
|
|
55
|
+
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
|
|
56
|
+
Index cols() const EIGEN_NOEXCEPT { return m_rhs.cols(); }
|
|
57
|
+
|
|
58
|
+
EIGEN_DEVICE_FUNC const Decomposition& dec() const { return m_dec; }
|
|
59
|
+
EIGEN_DEVICE_FUNC const RhsType& rhs() const { return m_rhs; }
|
|
60
|
+
EIGEN_DEVICE_FUNC const GuessType& guess() const { return m_guess; }
|
|
61
|
+
|
|
62
|
+
protected:
|
|
63
|
+
const Decomposition &m_dec;
|
|
64
|
+
const RhsType &m_rhs;
|
|
65
|
+
const GuessType &m_guess;
|
|
66
|
+
|
|
67
|
+
private:
|
|
68
|
+
Scalar coeff(Index row, Index col) const;
|
|
69
|
+
Scalar coeff(Index i) const;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
namespace internal {
|
|
73
|
+
|
|
74
|
+
// Evaluator of SolveWithGuess -> eval into a temporary
|
|
75
|
+
template<typename Decomposition, typename RhsType, typename GuessType>
|
|
76
|
+
struct evaluator<SolveWithGuess<Decomposition,RhsType, GuessType> >
|
|
77
|
+
: public evaluator<typename SolveWithGuess<Decomposition,RhsType,GuessType>::PlainObject>
|
|
78
|
+
{
|
|
79
|
+
typedef SolveWithGuess<Decomposition,RhsType,GuessType> SolveType;
|
|
80
|
+
typedef typename SolveType::PlainObject PlainObject;
|
|
81
|
+
typedef evaluator<PlainObject> Base;
|
|
82
|
+
|
|
83
|
+
evaluator(const SolveType& solve)
|
|
84
|
+
: m_result(solve.rows(), solve.cols())
|
|
85
|
+
{
|
|
86
|
+
::new (static_cast<Base*>(this)) Base(m_result);
|
|
87
|
+
m_result = solve.guess();
|
|
88
|
+
solve.dec()._solve_with_guess_impl(solve.rhs(), m_result);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
protected:
|
|
92
|
+
PlainObject m_result;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
// Specialization for "dst = dec.solveWithGuess(rhs)"
|
|
96
|
+
// NOTE we need to specialize it for Dense2Dense to avoid ambiguous specialization error and a Sparse2Sparse specialization must exist somewhere
|
|
97
|
+
template<typename DstXprType, typename DecType, typename RhsType, typename GuessType, typename Scalar>
|
|
98
|
+
struct Assignment<DstXprType, SolveWithGuess<DecType,RhsType,GuessType>, internal::assign_op<Scalar,Scalar>, Dense2Dense>
|
|
99
|
+
{
|
|
100
|
+
typedef SolveWithGuess<DecType,RhsType,GuessType> SrcXprType;
|
|
101
|
+
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op<Scalar,Scalar> &)
|
|
102
|
+
{
|
|
103
|
+
Index dstRows = src.rows();
|
|
104
|
+
Index dstCols = src.cols();
|
|
105
|
+
if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
|
|
106
|
+
dst.resize(dstRows, dstCols);
|
|
107
|
+
|
|
108
|
+
dst = src.guess();
|
|
109
|
+
src.dec()._solve_with_guess_impl(src.rhs(), dst/*, src.guess()*/);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
} // end namespace internal
|
|
114
|
+
|
|
115
|
+
} // end namespace Eigen
|
|
116
|
+
|
|
117
|
+
#endif // EIGEN_SOLVEWITHGUESS_H
|
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2009 Benoit Jacob <jacob.benoit.1@gmail.com>
|
|
5
|
+
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
|
|
6
|
+
//
|
|
7
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
|
8
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
9
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
|
|
11
|
+
#ifndef EIGEN_JACOBI_H
|
|
12
|
+
#define EIGEN_JACOBI_H
|
|
13
|
+
|
|
14
|
+
namespace Eigen {
|
|
15
|
+
|
|
16
|
+
/** \ingroup Jacobi_Module
|
|
17
|
+
* \jacobi_module
|
|
18
|
+
* \class JacobiRotation
|
|
19
|
+
* \brief Rotation given by a cosine-sine pair.
|
|
20
|
+
*
|
|
21
|
+
* This class represents a Jacobi or Givens rotation.
|
|
22
|
+
* This is a 2D rotation in the plane \c J of angle \f$ \theta \f$ defined by
|
|
23
|
+
* its cosine \c c and sine \c s as follow:
|
|
24
|
+
* \f$ J = \left ( \begin{array}{cc} c & \overline s \\ -s & \overline c \end{array} \right ) \f$
|
|
25
|
+
*
|
|
26
|
+
* You can apply the respective counter-clockwise rotation to a column vector \c v by
|
|
27
|
+
* applying its adjoint on the left: \f$ v = J^* v \f$ that translates to the following Eigen code:
|
|
28
|
+
* \code
|
|
29
|
+
* v.applyOnTheLeft(J.adjoint());
|
|
30
|
+
* \endcode
|
|
31
|
+
*
|
|
32
|
+
* \sa MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight()
|
|
33
|
+
*/
|
|
34
|
+
template<typename Scalar> class JacobiRotation
|
|
35
|
+
{
|
|
36
|
+
public:
|
|
37
|
+
typedef typename NumTraits<Scalar>::Real RealScalar;
|
|
38
|
+
|
|
39
|
+
/** Default constructor without any initialization. */
|
|
40
|
+
EIGEN_DEVICE_FUNC
|
|
41
|
+
JacobiRotation() {}
|
|
42
|
+
|
|
43
|
+
/** Construct a planar rotation from a cosine-sine pair (\a c, \c s). */
|
|
44
|
+
EIGEN_DEVICE_FUNC
|
|
45
|
+
JacobiRotation(const Scalar& c, const Scalar& s) : m_c(c), m_s(s) {}
|
|
46
|
+
|
|
47
|
+
EIGEN_DEVICE_FUNC Scalar& c() { return m_c; }
|
|
48
|
+
EIGEN_DEVICE_FUNC Scalar c() const { return m_c; }
|
|
49
|
+
EIGEN_DEVICE_FUNC Scalar& s() { return m_s; }
|
|
50
|
+
EIGEN_DEVICE_FUNC Scalar s() const { return m_s; }
|
|
51
|
+
|
|
52
|
+
/** Concatenates two planar rotation */
|
|
53
|
+
EIGEN_DEVICE_FUNC
|
|
54
|
+
JacobiRotation operator*(const JacobiRotation& other)
|
|
55
|
+
{
|
|
56
|
+
using numext::conj;
|
|
57
|
+
return JacobiRotation(m_c * other.m_c - conj(m_s) * other.m_s,
|
|
58
|
+
conj(m_c * conj(other.m_s) + conj(m_s) * conj(other.m_c)));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** Returns the transposed transformation */
|
|
62
|
+
EIGEN_DEVICE_FUNC
|
|
63
|
+
JacobiRotation transpose() const { using numext::conj; return JacobiRotation(m_c, -conj(m_s)); }
|
|
64
|
+
|
|
65
|
+
/** Returns the adjoint transformation */
|
|
66
|
+
EIGEN_DEVICE_FUNC
|
|
67
|
+
JacobiRotation adjoint() const { using numext::conj; return JacobiRotation(conj(m_c), -m_s); }
|
|
68
|
+
|
|
69
|
+
template<typename Derived>
|
|
70
|
+
EIGEN_DEVICE_FUNC
|
|
71
|
+
bool makeJacobi(const MatrixBase<Derived>&, Index p, Index q);
|
|
72
|
+
EIGEN_DEVICE_FUNC
|
|
73
|
+
bool makeJacobi(const RealScalar& x, const Scalar& y, const RealScalar& z);
|
|
74
|
+
|
|
75
|
+
EIGEN_DEVICE_FUNC
|
|
76
|
+
void makeGivens(const Scalar& p, const Scalar& q, Scalar* r=0);
|
|
77
|
+
|
|
78
|
+
protected:
|
|
79
|
+
EIGEN_DEVICE_FUNC
|
|
80
|
+
void makeGivens(const Scalar& p, const Scalar& q, Scalar* r, internal::true_type);
|
|
81
|
+
EIGEN_DEVICE_FUNC
|
|
82
|
+
void makeGivens(const Scalar& p, const Scalar& q, Scalar* r, internal::false_type);
|
|
83
|
+
|
|
84
|
+
Scalar m_c, m_s;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/** Makes \c *this as a Jacobi rotation \a J such that applying \a J on both the right and left sides of the selfadjoint 2x2 matrix
|
|
88
|
+
* \f$ B = \left ( \begin{array}{cc} x & y \\ \overline y & z \end{array} \right )\f$ yields a diagonal matrix \f$ A = J^* B J \f$
|
|
89
|
+
*
|
|
90
|
+
* \sa MatrixBase::makeJacobi(const MatrixBase<Derived>&, Index, Index), MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight()
|
|
91
|
+
*/
|
|
92
|
+
template<typename Scalar>
|
|
93
|
+
EIGEN_DEVICE_FUNC
|
|
94
|
+
bool JacobiRotation<Scalar>::makeJacobi(const RealScalar& x, const Scalar& y, const RealScalar& z)
|
|
95
|
+
{
|
|
96
|
+
using std::sqrt;
|
|
97
|
+
using std::abs;
|
|
98
|
+
|
|
99
|
+
RealScalar deno = RealScalar(2)*abs(y);
|
|
100
|
+
if(deno < (std::numeric_limits<RealScalar>::min)())
|
|
101
|
+
{
|
|
102
|
+
m_c = Scalar(1);
|
|
103
|
+
m_s = Scalar(0);
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
else
|
|
107
|
+
{
|
|
108
|
+
RealScalar tau = (x-z)/deno;
|
|
109
|
+
RealScalar w = sqrt(numext::abs2(tau) + RealScalar(1));
|
|
110
|
+
RealScalar t;
|
|
111
|
+
if(tau>RealScalar(0))
|
|
112
|
+
{
|
|
113
|
+
t = RealScalar(1) / (tau + w);
|
|
114
|
+
}
|
|
115
|
+
else
|
|
116
|
+
{
|
|
117
|
+
t = RealScalar(1) / (tau - w);
|
|
118
|
+
}
|
|
119
|
+
RealScalar sign_t = t > RealScalar(0) ? RealScalar(1) : RealScalar(-1);
|
|
120
|
+
RealScalar n = RealScalar(1) / sqrt(numext::abs2(t)+RealScalar(1));
|
|
121
|
+
m_s = - sign_t * (numext::conj(y) / abs(y)) * abs(t) * n;
|
|
122
|
+
m_c = n;
|
|
123
|
+
return true;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/** Makes \c *this as a Jacobi rotation \c J such that applying \a J on both the right and left sides of the 2x2 selfadjoint matrix
|
|
128
|
+
* \f$ B = \left ( \begin{array}{cc} \text{this}_{pp} & \text{this}_{pq} \\ (\text{this}_{pq})^* & \text{this}_{qq} \end{array} \right )\f$ yields
|
|
129
|
+
* a diagonal matrix \f$ A = J^* B J \f$
|
|
130
|
+
*
|
|
131
|
+
* Example: \include Jacobi_makeJacobi.cpp
|
|
132
|
+
* Output: \verbinclude Jacobi_makeJacobi.out
|
|
133
|
+
*
|
|
134
|
+
* \sa JacobiRotation::makeJacobi(RealScalar, Scalar, RealScalar), MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight()
|
|
135
|
+
*/
|
|
136
|
+
template<typename Scalar>
|
|
137
|
+
template<typename Derived>
|
|
138
|
+
EIGEN_DEVICE_FUNC
|
|
139
|
+
inline bool JacobiRotation<Scalar>::makeJacobi(const MatrixBase<Derived>& m, Index p, Index q)
|
|
140
|
+
{
|
|
141
|
+
return makeJacobi(numext::real(m.coeff(p,p)), m.coeff(p,q), numext::real(m.coeff(q,q)));
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/** Makes \c *this as a Givens rotation \c G such that applying \f$ G^* \f$ to the left of the vector
|
|
145
|
+
* \f$ V = \left ( \begin{array}{c} p \\ q \end{array} \right )\f$ yields:
|
|
146
|
+
* \f$ G^* V = \left ( \begin{array}{c} r \\ 0 \end{array} \right )\f$.
|
|
147
|
+
*
|
|
148
|
+
* The value of \a r is returned if \a r is not null (the default is null).
|
|
149
|
+
* Also note that G is built such that the cosine is always real.
|
|
150
|
+
*
|
|
151
|
+
* Example: \include Jacobi_makeGivens.cpp
|
|
152
|
+
* Output: \verbinclude Jacobi_makeGivens.out
|
|
153
|
+
*
|
|
154
|
+
* This function implements the continuous Givens rotation generation algorithm
|
|
155
|
+
* found in Anderson (2000), Discontinuous Plane Rotations and the Symmetric Eigenvalue Problem.
|
|
156
|
+
* LAPACK Working Note 150, University of Tennessee, UT-CS-00-454, December 4, 2000.
|
|
157
|
+
*
|
|
158
|
+
* \sa MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight()
|
|
159
|
+
*/
|
|
160
|
+
template<typename Scalar>
|
|
161
|
+
EIGEN_DEVICE_FUNC
|
|
162
|
+
void JacobiRotation<Scalar>::makeGivens(const Scalar& p, const Scalar& q, Scalar* r)
|
|
163
|
+
{
|
|
164
|
+
makeGivens(p, q, r, typename internal::conditional<NumTraits<Scalar>::IsComplex, internal::true_type, internal::false_type>::type());
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
// specialization for complexes
|
|
169
|
+
template<typename Scalar>
|
|
170
|
+
EIGEN_DEVICE_FUNC
|
|
171
|
+
void JacobiRotation<Scalar>::makeGivens(const Scalar& p, const Scalar& q, Scalar* r, internal::true_type)
|
|
172
|
+
{
|
|
173
|
+
using std::sqrt;
|
|
174
|
+
using std::abs;
|
|
175
|
+
using numext::conj;
|
|
176
|
+
|
|
177
|
+
if(q==Scalar(0))
|
|
178
|
+
{
|
|
179
|
+
m_c = numext::real(p)<0 ? Scalar(-1) : Scalar(1);
|
|
180
|
+
m_s = 0;
|
|
181
|
+
if(r) *r = m_c * p;
|
|
182
|
+
}
|
|
183
|
+
else if(p==Scalar(0))
|
|
184
|
+
{
|
|
185
|
+
m_c = 0;
|
|
186
|
+
m_s = -q/abs(q);
|
|
187
|
+
if(r) *r = abs(q);
|
|
188
|
+
}
|
|
189
|
+
else
|
|
190
|
+
{
|
|
191
|
+
RealScalar p1 = numext::norm1(p);
|
|
192
|
+
RealScalar q1 = numext::norm1(q);
|
|
193
|
+
if(p1>=q1)
|
|
194
|
+
{
|
|
195
|
+
Scalar ps = p / p1;
|
|
196
|
+
RealScalar p2 = numext::abs2(ps);
|
|
197
|
+
Scalar qs = q / p1;
|
|
198
|
+
RealScalar q2 = numext::abs2(qs);
|
|
199
|
+
|
|
200
|
+
RealScalar u = sqrt(RealScalar(1) + q2/p2);
|
|
201
|
+
if(numext::real(p)<RealScalar(0))
|
|
202
|
+
u = -u;
|
|
203
|
+
|
|
204
|
+
m_c = Scalar(1)/u;
|
|
205
|
+
m_s = -qs*conj(ps)*(m_c/p2);
|
|
206
|
+
if(r) *r = p * u;
|
|
207
|
+
}
|
|
208
|
+
else
|
|
209
|
+
{
|
|
210
|
+
Scalar ps = p / q1;
|
|
211
|
+
RealScalar p2 = numext::abs2(ps);
|
|
212
|
+
Scalar qs = q / q1;
|
|
213
|
+
RealScalar q2 = numext::abs2(qs);
|
|
214
|
+
|
|
215
|
+
RealScalar u = q1 * sqrt(p2 + q2);
|
|
216
|
+
if(numext::real(p)<RealScalar(0))
|
|
217
|
+
u = -u;
|
|
218
|
+
|
|
219
|
+
p1 = abs(p);
|
|
220
|
+
ps = p/p1;
|
|
221
|
+
m_c = p1/u;
|
|
222
|
+
m_s = -conj(ps) * (q/u);
|
|
223
|
+
if(r) *r = ps * u;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// specialization for reals
|
|
229
|
+
template<typename Scalar>
|
|
230
|
+
EIGEN_DEVICE_FUNC
|
|
231
|
+
void JacobiRotation<Scalar>::makeGivens(const Scalar& p, const Scalar& q, Scalar* r, internal::false_type)
|
|
232
|
+
{
|
|
233
|
+
using std::sqrt;
|
|
234
|
+
using std::abs;
|
|
235
|
+
if(q==Scalar(0))
|
|
236
|
+
{
|
|
237
|
+
m_c = p<Scalar(0) ? Scalar(-1) : Scalar(1);
|
|
238
|
+
m_s = Scalar(0);
|
|
239
|
+
if(r) *r = abs(p);
|
|
240
|
+
}
|
|
241
|
+
else if(p==Scalar(0))
|
|
242
|
+
{
|
|
243
|
+
m_c = Scalar(0);
|
|
244
|
+
m_s = q<Scalar(0) ? Scalar(1) : Scalar(-1);
|
|
245
|
+
if(r) *r = abs(q);
|
|
246
|
+
}
|
|
247
|
+
else if(abs(p) > abs(q))
|
|
248
|
+
{
|
|
249
|
+
Scalar t = q/p;
|
|
250
|
+
Scalar u = sqrt(Scalar(1) + numext::abs2(t));
|
|
251
|
+
if(p<Scalar(0))
|
|
252
|
+
u = -u;
|
|
253
|
+
m_c = Scalar(1)/u;
|
|
254
|
+
m_s = -t * m_c;
|
|
255
|
+
if(r) *r = p * u;
|
|
256
|
+
}
|
|
257
|
+
else
|
|
258
|
+
{
|
|
259
|
+
Scalar t = p/q;
|
|
260
|
+
Scalar u = sqrt(Scalar(1) + numext::abs2(t));
|
|
261
|
+
if(q<Scalar(0))
|
|
262
|
+
u = -u;
|
|
263
|
+
m_s = -Scalar(1)/u;
|
|
264
|
+
m_c = -t * m_s;
|
|
265
|
+
if(r) *r = q * u;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/****************************************************************************************
|
|
271
|
+
* Implementation of MatrixBase methods
|
|
272
|
+
****************************************************************************************/
|
|
273
|
+
|
|
274
|
+
namespace internal {
|
|
275
|
+
/** \jacobi_module
|
|
276
|
+
* Applies the clock wise 2D rotation \a j to the set of 2D vectors of coordinates \a x and \a y:
|
|
277
|
+
* \f$ \left ( \begin{array}{cc} x \\ y \end{array} \right ) = J \left ( \begin{array}{cc} x \\ y \end{array} \right ) \f$
|
|
278
|
+
*
|
|
279
|
+
* \sa MatrixBase::applyOnTheLeft(), MatrixBase::applyOnTheRight()
|
|
280
|
+
*/
|
|
281
|
+
template<typename VectorX, typename VectorY, typename OtherScalar>
|
|
282
|
+
EIGEN_DEVICE_FUNC
|
|
283
|
+
void apply_rotation_in_the_plane(DenseBase<VectorX>& xpr_x, DenseBase<VectorY>& xpr_y, const JacobiRotation<OtherScalar>& j);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/** \jacobi_module
|
|
287
|
+
* Applies the rotation in the plane \a j to the rows \a p and \a q of \c *this, i.e., it computes B = J * B,
|
|
288
|
+
* with \f$ B = \left ( \begin{array}{cc} \text{*this.row}(p) \\ \text{*this.row}(q) \end{array} \right ) \f$.
|
|
289
|
+
*
|
|
290
|
+
* \sa class JacobiRotation, MatrixBase::applyOnTheRight(), internal::apply_rotation_in_the_plane()
|
|
291
|
+
*/
|
|
292
|
+
template<typename Derived>
|
|
293
|
+
template<typename OtherScalar>
|
|
294
|
+
EIGEN_DEVICE_FUNC
|
|
295
|
+
inline void MatrixBase<Derived>::applyOnTheLeft(Index p, Index q, const JacobiRotation<OtherScalar>& j)
|
|
296
|
+
{
|
|
297
|
+
RowXpr x(this->row(p));
|
|
298
|
+
RowXpr y(this->row(q));
|
|
299
|
+
internal::apply_rotation_in_the_plane(x, y, j);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/** \ingroup Jacobi_Module
|
|
303
|
+
* Applies the rotation in the plane \a j to the columns \a p and \a q of \c *this, i.e., it computes B = B * J
|
|
304
|
+
* with \f$ B = \left ( \begin{array}{cc} \text{*this.col}(p) & \text{*this.col}(q) \end{array} \right ) \f$.
|
|
305
|
+
*
|
|
306
|
+
* \sa class JacobiRotation, MatrixBase::applyOnTheLeft(), internal::apply_rotation_in_the_plane()
|
|
307
|
+
*/
|
|
308
|
+
template<typename Derived>
|
|
309
|
+
template<typename OtherScalar>
|
|
310
|
+
EIGEN_DEVICE_FUNC
|
|
311
|
+
inline void MatrixBase<Derived>::applyOnTheRight(Index p, Index q, const JacobiRotation<OtherScalar>& j)
|
|
312
|
+
{
|
|
313
|
+
ColXpr x(this->col(p));
|
|
314
|
+
ColXpr y(this->col(q));
|
|
315
|
+
internal::apply_rotation_in_the_plane(x, y, j.transpose());
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
namespace internal {
|
|
319
|
+
|
|
320
|
+
template<typename Scalar, typename OtherScalar,
|
|
321
|
+
int SizeAtCompileTime, int MinAlignment, bool Vectorizable>
|
|
322
|
+
struct apply_rotation_in_the_plane_selector
|
|
323
|
+
{
|
|
324
|
+
static EIGEN_DEVICE_FUNC
|
|
325
|
+
inline void run(Scalar *x, Index incrx, Scalar *y, Index incry, Index size, OtherScalar c, OtherScalar s)
|
|
326
|
+
{
|
|
327
|
+
for(Index i=0; i<size; ++i)
|
|
328
|
+
{
|
|
329
|
+
Scalar xi = *x;
|
|
330
|
+
Scalar yi = *y;
|
|
331
|
+
*x = c * xi + numext::conj(s) * yi;
|
|
332
|
+
*y = -s * xi + numext::conj(c) * yi;
|
|
333
|
+
x += incrx;
|
|
334
|
+
y += incry;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
template<typename Scalar, typename OtherScalar,
|
|
340
|
+
int SizeAtCompileTime, int MinAlignment>
|
|
341
|
+
struct apply_rotation_in_the_plane_selector<Scalar,OtherScalar,SizeAtCompileTime,MinAlignment,true /* vectorizable */>
|
|
342
|
+
{
|
|
343
|
+
static inline void run(Scalar *x, Index incrx, Scalar *y, Index incry, Index size, OtherScalar c, OtherScalar s)
|
|
344
|
+
{
|
|
345
|
+
enum {
|
|
346
|
+
PacketSize = packet_traits<Scalar>::size,
|
|
347
|
+
OtherPacketSize = packet_traits<OtherScalar>::size
|
|
348
|
+
};
|
|
349
|
+
typedef typename packet_traits<Scalar>::type Packet;
|
|
350
|
+
typedef typename packet_traits<OtherScalar>::type OtherPacket;
|
|
351
|
+
|
|
352
|
+
/*** dynamic-size vectorized paths ***/
|
|
353
|
+
if(SizeAtCompileTime == Dynamic && ((incrx==1 && incry==1) || PacketSize == 1))
|
|
354
|
+
{
|
|
355
|
+
// both vectors are sequentially stored in memory => vectorization
|
|
356
|
+
enum { Peeling = 2 };
|
|
357
|
+
|
|
358
|
+
Index alignedStart = internal::first_default_aligned(y, size);
|
|
359
|
+
Index alignedEnd = alignedStart + ((size-alignedStart)/PacketSize)*PacketSize;
|
|
360
|
+
|
|
361
|
+
const OtherPacket pc = pset1<OtherPacket>(c);
|
|
362
|
+
const OtherPacket ps = pset1<OtherPacket>(s);
|
|
363
|
+
conj_helper<OtherPacket,Packet,NumTraits<OtherScalar>::IsComplex,false> pcj;
|
|
364
|
+
conj_helper<OtherPacket,Packet,false,false> pm;
|
|
365
|
+
|
|
366
|
+
for(Index i=0; i<alignedStart; ++i)
|
|
367
|
+
{
|
|
368
|
+
Scalar xi = x[i];
|
|
369
|
+
Scalar yi = y[i];
|
|
370
|
+
x[i] = c * xi + numext::conj(s) * yi;
|
|
371
|
+
y[i] = -s * xi + numext::conj(c) * yi;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
Scalar* EIGEN_RESTRICT px = x + alignedStart;
|
|
375
|
+
Scalar* EIGEN_RESTRICT py = y + alignedStart;
|
|
376
|
+
|
|
377
|
+
if(internal::first_default_aligned(x, size)==alignedStart)
|
|
378
|
+
{
|
|
379
|
+
for(Index i=alignedStart; i<alignedEnd; i+=PacketSize)
|
|
380
|
+
{
|
|
381
|
+
Packet xi = pload<Packet>(px);
|
|
382
|
+
Packet yi = pload<Packet>(py);
|
|
383
|
+
pstore(px, padd(pm.pmul(pc,xi),pcj.pmul(ps,yi)));
|
|
384
|
+
pstore(py, psub(pcj.pmul(pc,yi),pm.pmul(ps,xi)));
|
|
385
|
+
px += PacketSize;
|
|
386
|
+
py += PacketSize;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
else
|
|
390
|
+
{
|
|
391
|
+
Index peelingEnd = alignedStart + ((size-alignedStart)/(Peeling*PacketSize))*(Peeling*PacketSize);
|
|
392
|
+
for(Index i=alignedStart; i<peelingEnd; i+=Peeling*PacketSize)
|
|
393
|
+
{
|
|
394
|
+
Packet xi = ploadu<Packet>(px);
|
|
395
|
+
Packet xi1 = ploadu<Packet>(px+PacketSize);
|
|
396
|
+
Packet yi = pload <Packet>(py);
|
|
397
|
+
Packet yi1 = pload <Packet>(py+PacketSize);
|
|
398
|
+
pstoreu(px, padd(pm.pmul(pc,xi),pcj.pmul(ps,yi)));
|
|
399
|
+
pstoreu(px+PacketSize, padd(pm.pmul(pc,xi1),pcj.pmul(ps,yi1)));
|
|
400
|
+
pstore (py, psub(pcj.pmul(pc,yi),pm.pmul(ps,xi)));
|
|
401
|
+
pstore (py+PacketSize, psub(pcj.pmul(pc,yi1),pm.pmul(ps,xi1)));
|
|
402
|
+
px += Peeling*PacketSize;
|
|
403
|
+
py += Peeling*PacketSize;
|
|
404
|
+
}
|
|
405
|
+
if(alignedEnd!=peelingEnd)
|
|
406
|
+
{
|
|
407
|
+
Packet xi = ploadu<Packet>(x+peelingEnd);
|
|
408
|
+
Packet yi = pload <Packet>(y+peelingEnd);
|
|
409
|
+
pstoreu(x+peelingEnd, padd(pm.pmul(pc,xi),pcj.pmul(ps,yi)));
|
|
410
|
+
pstore (y+peelingEnd, psub(pcj.pmul(pc,yi),pm.pmul(ps,xi)));
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
for(Index i=alignedEnd; i<size; ++i)
|
|
415
|
+
{
|
|
416
|
+
Scalar xi = x[i];
|
|
417
|
+
Scalar yi = y[i];
|
|
418
|
+
x[i] = c * xi + numext::conj(s) * yi;
|
|
419
|
+
y[i] = -s * xi + numext::conj(c) * yi;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/*** fixed-size vectorized path ***/
|
|
424
|
+
else if(SizeAtCompileTime != Dynamic && MinAlignment>0) // FIXME should be compared to the required alignment
|
|
425
|
+
{
|
|
426
|
+
const OtherPacket pc = pset1<OtherPacket>(c);
|
|
427
|
+
const OtherPacket ps = pset1<OtherPacket>(s);
|
|
428
|
+
conj_helper<OtherPacket,Packet,NumTraits<OtherPacket>::IsComplex,false> pcj;
|
|
429
|
+
conj_helper<OtherPacket,Packet,false,false> pm;
|
|
430
|
+
Scalar* EIGEN_RESTRICT px = x;
|
|
431
|
+
Scalar* EIGEN_RESTRICT py = y;
|
|
432
|
+
for(Index i=0; i<size; i+=PacketSize)
|
|
433
|
+
{
|
|
434
|
+
Packet xi = pload<Packet>(px);
|
|
435
|
+
Packet yi = pload<Packet>(py);
|
|
436
|
+
pstore(px, padd(pm.pmul(pc,xi),pcj.pmul(ps,yi)));
|
|
437
|
+
pstore(py, psub(pcj.pmul(pc,yi),pm.pmul(ps,xi)));
|
|
438
|
+
px += PacketSize;
|
|
439
|
+
py += PacketSize;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/*** non-vectorized path ***/
|
|
444
|
+
else
|
|
445
|
+
{
|
|
446
|
+
apply_rotation_in_the_plane_selector<Scalar,OtherScalar,SizeAtCompileTime,MinAlignment,false>::run(x,incrx,y,incry,size,c,s);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
template<typename VectorX, typename VectorY, typename OtherScalar>
|
|
452
|
+
EIGEN_DEVICE_FUNC
|
|
453
|
+
void /*EIGEN_DONT_INLINE*/ apply_rotation_in_the_plane(DenseBase<VectorX>& xpr_x, DenseBase<VectorY>& xpr_y, const JacobiRotation<OtherScalar>& j)
|
|
454
|
+
{
|
|
455
|
+
typedef typename VectorX::Scalar Scalar;
|
|
456
|
+
const bool Vectorizable = (int(VectorX::Flags) & int(VectorY::Flags) & PacketAccessBit)
|
|
457
|
+
&& (int(packet_traits<Scalar>::size) == int(packet_traits<OtherScalar>::size));
|
|
458
|
+
|
|
459
|
+
eigen_assert(xpr_x.size() == xpr_y.size());
|
|
460
|
+
Index size = xpr_x.size();
|
|
461
|
+
Index incrx = xpr_x.derived().innerStride();
|
|
462
|
+
Index incry = xpr_y.derived().innerStride();
|
|
463
|
+
|
|
464
|
+
Scalar* EIGEN_RESTRICT x = &xpr_x.derived().coeffRef(0);
|
|
465
|
+
Scalar* EIGEN_RESTRICT y = &xpr_y.derived().coeffRef(0);
|
|
466
|
+
|
|
467
|
+
OtherScalar c = j.c();
|
|
468
|
+
OtherScalar s = j.s();
|
|
469
|
+
if (c==OtherScalar(1) && s==OtherScalar(0))
|
|
470
|
+
return;
|
|
471
|
+
|
|
472
|
+
apply_rotation_in_the_plane_selector<
|
|
473
|
+
Scalar,OtherScalar,
|
|
474
|
+
VectorX::SizeAtCompileTime,
|
|
475
|
+
EIGEN_PLAIN_ENUM_MIN(evaluator<VectorX>::Alignment, evaluator<VectorY>::Alignment),
|
|
476
|
+
Vectorizable>::run(x,incrx,y,incry,size,c,s);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
} // end namespace internal
|
|
480
|
+
|
|
481
|
+
} // end namespace Eigen
|
|
482
|
+
|
|
483
|
+
#endif // EIGEN_JACOBI_H
|