pylibsparseir 0.1.0__cp310-cp310-macosx_15_0_arm64.whl → 0.6.0__cp310-cp310-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,441 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2009, 2010, 2013 Jitse Niesen <jitse@maths.leeds.ac.uk>
|
|
5
|
+
// Copyright (C) 2011, 2013 Chen-Pang He <jdh8@ms63.hinet.net>
|
|
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_MATRIX_EXPONENTIAL
|
|
12
|
+
#define EIGEN_MATRIX_EXPONENTIAL
|
|
13
|
+
|
|
14
|
+
#include "StemFunction.h"
|
|
15
|
+
|
|
16
|
+
namespace Eigen {
|
|
17
|
+
namespace internal {
|
|
18
|
+
|
|
19
|
+
/** \brief Scaling operator.
|
|
20
|
+
*
|
|
21
|
+
* This struct is used by CwiseUnaryOp to scale a matrix by \f$ 2^{-s} \f$.
|
|
22
|
+
*/
|
|
23
|
+
template <typename RealScalar>
|
|
24
|
+
struct MatrixExponentialScalingOp
|
|
25
|
+
{
|
|
26
|
+
/** \brief Constructor.
|
|
27
|
+
*
|
|
28
|
+
* \param[in] squarings The integer \f$ s \f$ in this document.
|
|
29
|
+
*/
|
|
30
|
+
MatrixExponentialScalingOp(int squarings) : m_squarings(squarings) { }
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/** \brief Scale a matrix coefficient.
|
|
34
|
+
*
|
|
35
|
+
* \param[in,out] x The scalar to be scaled, becoming \f$ 2^{-s} x \f$.
|
|
36
|
+
*/
|
|
37
|
+
inline const RealScalar operator() (const RealScalar& x) const
|
|
38
|
+
{
|
|
39
|
+
using std::ldexp;
|
|
40
|
+
return ldexp(x, -m_squarings);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
typedef std::complex<RealScalar> ComplexScalar;
|
|
44
|
+
|
|
45
|
+
/** \brief Scale a matrix coefficient.
|
|
46
|
+
*
|
|
47
|
+
* \param[in,out] x The scalar to be scaled, becoming \f$ 2^{-s} x \f$.
|
|
48
|
+
*/
|
|
49
|
+
inline const ComplexScalar operator() (const ComplexScalar& x) const
|
|
50
|
+
{
|
|
51
|
+
using std::ldexp;
|
|
52
|
+
return ComplexScalar(ldexp(x.real(), -m_squarings), ldexp(x.imag(), -m_squarings));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
private:
|
|
56
|
+
int m_squarings;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** \brief Compute the (3,3)-Padé approximant to the exponential.
|
|
60
|
+
*
|
|
61
|
+
* After exit, \f$ (V+U)(V-U)^{-1} \f$ is the Padé
|
|
62
|
+
* approximant of \f$ \exp(A) \f$ around \f$ A = 0 \f$.
|
|
63
|
+
*/
|
|
64
|
+
template <typename MatA, typename MatU, typename MatV>
|
|
65
|
+
void matrix_exp_pade3(const MatA& A, MatU& U, MatV& V)
|
|
66
|
+
{
|
|
67
|
+
typedef typename MatA::PlainObject MatrixType;
|
|
68
|
+
typedef typename NumTraits<typename traits<MatA>::Scalar>::Real RealScalar;
|
|
69
|
+
const RealScalar b[] = {120.L, 60.L, 12.L, 1.L};
|
|
70
|
+
const MatrixType A2 = A * A;
|
|
71
|
+
const MatrixType tmp = b[3] * A2 + b[1] * MatrixType::Identity(A.rows(), A.cols());
|
|
72
|
+
U.noalias() = A * tmp;
|
|
73
|
+
V = b[2] * A2 + b[0] * MatrixType::Identity(A.rows(), A.cols());
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/** \brief Compute the (5,5)-Padé approximant to the exponential.
|
|
77
|
+
*
|
|
78
|
+
* After exit, \f$ (V+U)(V-U)^{-1} \f$ is the Padé
|
|
79
|
+
* approximant of \f$ \exp(A) \f$ around \f$ A = 0 \f$.
|
|
80
|
+
*/
|
|
81
|
+
template <typename MatA, typename MatU, typename MatV>
|
|
82
|
+
void matrix_exp_pade5(const MatA& A, MatU& U, MatV& V)
|
|
83
|
+
{
|
|
84
|
+
typedef typename MatA::PlainObject MatrixType;
|
|
85
|
+
typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar;
|
|
86
|
+
const RealScalar b[] = {30240.L, 15120.L, 3360.L, 420.L, 30.L, 1.L};
|
|
87
|
+
const MatrixType A2 = A * A;
|
|
88
|
+
const MatrixType A4 = A2 * A2;
|
|
89
|
+
const MatrixType tmp = b[5] * A4 + b[3] * A2 + b[1] * MatrixType::Identity(A.rows(), A.cols());
|
|
90
|
+
U.noalias() = A * tmp;
|
|
91
|
+
V = b[4] * A4 + b[2] * A2 + b[0] * MatrixType::Identity(A.rows(), A.cols());
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/** \brief Compute the (7,7)-Padé approximant to the exponential.
|
|
95
|
+
*
|
|
96
|
+
* After exit, \f$ (V+U)(V-U)^{-1} \f$ is the Padé
|
|
97
|
+
* approximant of \f$ \exp(A) \f$ around \f$ A = 0 \f$.
|
|
98
|
+
*/
|
|
99
|
+
template <typename MatA, typename MatU, typename MatV>
|
|
100
|
+
void matrix_exp_pade7(const MatA& A, MatU& U, MatV& V)
|
|
101
|
+
{
|
|
102
|
+
typedef typename MatA::PlainObject MatrixType;
|
|
103
|
+
typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar;
|
|
104
|
+
const RealScalar b[] = {17297280.L, 8648640.L, 1995840.L, 277200.L, 25200.L, 1512.L, 56.L, 1.L};
|
|
105
|
+
const MatrixType A2 = A * A;
|
|
106
|
+
const MatrixType A4 = A2 * A2;
|
|
107
|
+
const MatrixType A6 = A4 * A2;
|
|
108
|
+
const MatrixType tmp = b[7] * A6 + b[5] * A4 + b[3] * A2
|
|
109
|
+
+ b[1] * MatrixType::Identity(A.rows(), A.cols());
|
|
110
|
+
U.noalias() = A * tmp;
|
|
111
|
+
V = b[6] * A6 + b[4] * A4 + b[2] * A2 + b[0] * MatrixType::Identity(A.rows(), A.cols());
|
|
112
|
+
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/** \brief Compute the (9,9)-Padé approximant to the exponential.
|
|
116
|
+
*
|
|
117
|
+
* After exit, \f$ (V+U)(V-U)^{-1} \f$ is the Padé
|
|
118
|
+
* approximant of \f$ \exp(A) \f$ around \f$ A = 0 \f$.
|
|
119
|
+
*/
|
|
120
|
+
template <typename MatA, typename MatU, typename MatV>
|
|
121
|
+
void matrix_exp_pade9(const MatA& A, MatU& U, MatV& V)
|
|
122
|
+
{
|
|
123
|
+
typedef typename MatA::PlainObject MatrixType;
|
|
124
|
+
typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar;
|
|
125
|
+
const RealScalar b[] = {17643225600.L, 8821612800.L, 2075673600.L, 302702400.L, 30270240.L,
|
|
126
|
+
2162160.L, 110880.L, 3960.L, 90.L, 1.L};
|
|
127
|
+
const MatrixType A2 = A * A;
|
|
128
|
+
const MatrixType A4 = A2 * A2;
|
|
129
|
+
const MatrixType A6 = A4 * A2;
|
|
130
|
+
const MatrixType A8 = A6 * A2;
|
|
131
|
+
const MatrixType tmp = b[9] * A8 + b[7] * A6 + b[5] * A4 + b[3] * A2
|
|
132
|
+
+ b[1] * MatrixType::Identity(A.rows(), A.cols());
|
|
133
|
+
U.noalias() = A * tmp;
|
|
134
|
+
V = b[8] * A8 + b[6] * A6 + b[4] * A4 + b[2] * A2 + b[0] * MatrixType::Identity(A.rows(), A.cols());
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** \brief Compute the (13,13)-Padé approximant to the exponential.
|
|
138
|
+
*
|
|
139
|
+
* After exit, \f$ (V+U)(V-U)^{-1} \f$ is the Padé
|
|
140
|
+
* approximant of \f$ \exp(A) \f$ around \f$ A = 0 \f$.
|
|
141
|
+
*/
|
|
142
|
+
template <typename MatA, typename MatU, typename MatV>
|
|
143
|
+
void matrix_exp_pade13(const MatA& A, MatU& U, MatV& V)
|
|
144
|
+
{
|
|
145
|
+
typedef typename MatA::PlainObject MatrixType;
|
|
146
|
+
typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar;
|
|
147
|
+
const RealScalar b[] = {64764752532480000.L, 32382376266240000.L, 7771770303897600.L,
|
|
148
|
+
1187353796428800.L, 129060195264000.L, 10559470521600.L, 670442572800.L,
|
|
149
|
+
33522128640.L, 1323241920.L, 40840800.L, 960960.L, 16380.L, 182.L, 1.L};
|
|
150
|
+
const MatrixType A2 = A * A;
|
|
151
|
+
const MatrixType A4 = A2 * A2;
|
|
152
|
+
const MatrixType A6 = A4 * A2;
|
|
153
|
+
V = b[13] * A6 + b[11] * A4 + b[9] * A2; // used for temporary storage
|
|
154
|
+
MatrixType tmp = A6 * V;
|
|
155
|
+
tmp += b[7] * A6 + b[5] * A4 + b[3] * A2 + b[1] * MatrixType::Identity(A.rows(), A.cols());
|
|
156
|
+
U.noalias() = A * tmp;
|
|
157
|
+
tmp = b[12] * A6 + b[10] * A4 + b[8] * A2;
|
|
158
|
+
V.noalias() = A6 * tmp;
|
|
159
|
+
V += b[6] * A6 + b[4] * A4 + b[2] * A2 + b[0] * MatrixType::Identity(A.rows(), A.cols());
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/** \brief Compute the (17,17)-Padé approximant to the exponential.
|
|
163
|
+
*
|
|
164
|
+
* After exit, \f$ (V+U)(V-U)^{-1} \f$ is the Padé
|
|
165
|
+
* approximant of \f$ \exp(A) \f$ around \f$ A = 0 \f$.
|
|
166
|
+
*
|
|
167
|
+
* This function activates only if your long double is double-double or quadruple.
|
|
168
|
+
*/
|
|
169
|
+
#if LDBL_MANT_DIG > 64
|
|
170
|
+
template <typename MatA, typename MatU, typename MatV>
|
|
171
|
+
void matrix_exp_pade17(const MatA& A, MatU& U, MatV& V)
|
|
172
|
+
{
|
|
173
|
+
typedef typename MatA::PlainObject MatrixType;
|
|
174
|
+
typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar;
|
|
175
|
+
const RealScalar b[] = {830034394580628357120000.L, 415017197290314178560000.L,
|
|
176
|
+
100610229646136770560000.L, 15720348382208870400000.L,
|
|
177
|
+
1774878043152614400000.L, 153822763739893248000.L, 10608466464820224000.L,
|
|
178
|
+
595373117923584000.L, 27563570274240000.L, 1060137318240000.L,
|
|
179
|
+
33924394183680.L, 899510451840.L, 19554575040.L, 341863200.L, 4651200.L,
|
|
180
|
+
46512.L, 306.L, 1.L};
|
|
181
|
+
const MatrixType A2 = A * A;
|
|
182
|
+
const MatrixType A4 = A2 * A2;
|
|
183
|
+
const MatrixType A6 = A4 * A2;
|
|
184
|
+
const MatrixType A8 = A4 * A4;
|
|
185
|
+
V = b[17] * A8 + b[15] * A6 + b[13] * A4 + b[11] * A2; // used for temporary storage
|
|
186
|
+
MatrixType tmp = A8 * V;
|
|
187
|
+
tmp += b[9] * A8 + b[7] * A6 + b[5] * A4 + b[3] * A2
|
|
188
|
+
+ b[1] * MatrixType::Identity(A.rows(), A.cols());
|
|
189
|
+
U.noalias() = A * tmp;
|
|
190
|
+
tmp = b[16] * A8 + b[14] * A6 + b[12] * A4 + b[10] * A2;
|
|
191
|
+
V.noalias() = tmp * A8;
|
|
192
|
+
V += b[8] * A8 + b[6] * A6 + b[4] * A4 + b[2] * A2
|
|
193
|
+
+ b[0] * MatrixType::Identity(A.rows(), A.cols());
|
|
194
|
+
}
|
|
195
|
+
#endif
|
|
196
|
+
|
|
197
|
+
template <typename MatrixType, typename RealScalar = typename NumTraits<typename traits<MatrixType>::Scalar>::Real>
|
|
198
|
+
struct matrix_exp_computeUV
|
|
199
|
+
{
|
|
200
|
+
/** \brief Compute Padé approximant to the exponential.
|
|
201
|
+
*
|
|
202
|
+
* Computes \c U, \c V and \c squarings such that \f$ (V+U)(V-U)^{-1} \f$ is a Padé
|
|
203
|
+
* approximant of \f$ \exp(2^{-\mbox{squarings}}M) \f$ around \f$ M = 0 \f$, where \f$ M \f$
|
|
204
|
+
* denotes the matrix \c arg. The degree of the Padé approximant and the value of squarings
|
|
205
|
+
* are chosen such that the approximation error is no more than the round-off error.
|
|
206
|
+
*/
|
|
207
|
+
static void run(const MatrixType& arg, MatrixType& U, MatrixType& V, int& squarings);
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
template <typename MatrixType>
|
|
211
|
+
struct matrix_exp_computeUV<MatrixType, float>
|
|
212
|
+
{
|
|
213
|
+
template <typename ArgType>
|
|
214
|
+
static void run(const ArgType& arg, MatrixType& U, MatrixType& V, int& squarings)
|
|
215
|
+
{
|
|
216
|
+
using std::frexp;
|
|
217
|
+
using std::pow;
|
|
218
|
+
const float l1norm = arg.cwiseAbs().colwise().sum().maxCoeff();
|
|
219
|
+
squarings = 0;
|
|
220
|
+
if (l1norm < 4.258730016922831e-001f) {
|
|
221
|
+
matrix_exp_pade3(arg, U, V);
|
|
222
|
+
} else if (l1norm < 1.880152677804762e+000f) {
|
|
223
|
+
matrix_exp_pade5(arg, U, V);
|
|
224
|
+
} else {
|
|
225
|
+
const float maxnorm = 3.925724783138660f;
|
|
226
|
+
frexp(l1norm / maxnorm, &squarings);
|
|
227
|
+
if (squarings < 0) squarings = 0;
|
|
228
|
+
MatrixType A = arg.unaryExpr(MatrixExponentialScalingOp<float>(squarings));
|
|
229
|
+
matrix_exp_pade7(A, U, V);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
template <typename MatrixType>
|
|
235
|
+
struct matrix_exp_computeUV<MatrixType, double>
|
|
236
|
+
{
|
|
237
|
+
typedef typename NumTraits<typename traits<MatrixType>::Scalar>::Real RealScalar;
|
|
238
|
+
template <typename ArgType>
|
|
239
|
+
static void run(const ArgType& arg, MatrixType& U, MatrixType& V, int& squarings)
|
|
240
|
+
{
|
|
241
|
+
using std::frexp;
|
|
242
|
+
using std::pow;
|
|
243
|
+
const RealScalar l1norm = arg.cwiseAbs().colwise().sum().maxCoeff();
|
|
244
|
+
squarings = 0;
|
|
245
|
+
if (l1norm < 1.495585217958292e-002) {
|
|
246
|
+
matrix_exp_pade3(arg, U, V);
|
|
247
|
+
} else if (l1norm < 2.539398330063230e-001) {
|
|
248
|
+
matrix_exp_pade5(arg, U, V);
|
|
249
|
+
} else if (l1norm < 9.504178996162932e-001) {
|
|
250
|
+
matrix_exp_pade7(arg, U, V);
|
|
251
|
+
} else if (l1norm < 2.097847961257068e+000) {
|
|
252
|
+
matrix_exp_pade9(arg, U, V);
|
|
253
|
+
} else {
|
|
254
|
+
const RealScalar maxnorm = 5.371920351148152;
|
|
255
|
+
frexp(l1norm / maxnorm, &squarings);
|
|
256
|
+
if (squarings < 0) squarings = 0;
|
|
257
|
+
MatrixType A = arg.unaryExpr(MatrixExponentialScalingOp<RealScalar>(squarings));
|
|
258
|
+
matrix_exp_pade13(A, U, V);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
template <typename MatrixType>
|
|
264
|
+
struct matrix_exp_computeUV<MatrixType, long double>
|
|
265
|
+
{
|
|
266
|
+
template <typename ArgType>
|
|
267
|
+
static void run(const ArgType& arg, MatrixType& U, MatrixType& V, int& squarings)
|
|
268
|
+
{
|
|
269
|
+
#if LDBL_MANT_DIG == 53 // double precision
|
|
270
|
+
matrix_exp_computeUV<MatrixType, double>::run(arg, U, V, squarings);
|
|
271
|
+
|
|
272
|
+
#else
|
|
273
|
+
|
|
274
|
+
using std::frexp;
|
|
275
|
+
using std::pow;
|
|
276
|
+
const long double l1norm = arg.cwiseAbs().colwise().sum().maxCoeff();
|
|
277
|
+
squarings = 0;
|
|
278
|
+
|
|
279
|
+
#if LDBL_MANT_DIG <= 64 // extended precision
|
|
280
|
+
|
|
281
|
+
if (l1norm < 4.1968497232266989671e-003L) {
|
|
282
|
+
matrix_exp_pade3(arg, U, V);
|
|
283
|
+
} else if (l1norm < 1.1848116734693823091e-001L) {
|
|
284
|
+
matrix_exp_pade5(arg, U, V);
|
|
285
|
+
} else if (l1norm < 5.5170388480686700274e-001L) {
|
|
286
|
+
matrix_exp_pade7(arg, U, V);
|
|
287
|
+
} else if (l1norm < 1.3759868875587845383e+000L) {
|
|
288
|
+
matrix_exp_pade9(arg, U, V);
|
|
289
|
+
} else {
|
|
290
|
+
const long double maxnorm = 4.0246098906697353063L;
|
|
291
|
+
frexp(l1norm / maxnorm, &squarings);
|
|
292
|
+
if (squarings < 0) squarings = 0;
|
|
293
|
+
MatrixType A = arg.unaryExpr(MatrixExponentialScalingOp<long double>(squarings));
|
|
294
|
+
matrix_exp_pade13(A, U, V);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
#elif LDBL_MANT_DIG <= 106 // double-double
|
|
298
|
+
|
|
299
|
+
if (l1norm < 3.2787892205607026992947488108213e-005L) {
|
|
300
|
+
matrix_exp_pade3(arg, U, V);
|
|
301
|
+
} else if (l1norm < 6.4467025060072760084130906076332e-003L) {
|
|
302
|
+
matrix_exp_pade5(arg, U, V);
|
|
303
|
+
} else if (l1norm < 6.8988028496595374751374122881143e-002L) {
|
|
304
|
+
matrix_exp_pade7(arg, U, V);
|
|
305
|
+
} else if (l1norm < 2.7339737518502231741495857201670e-001L) {
|
|
306
|
+
matrix_exp_pade9(arg, U, V);
|
|
307
|
+
} else if (l1norm < 1.3203382096514474905666448850278e+000L) {
|
|
308
|
+
matrix_exp_pade13(arg, U, V);
|
|
309
|
+
} else {
|
|
310
|
+
const long double maxnorm = 3.2579440895405400856599663723517L;
|
|
311
|
+
frexp(l1norm / maxnorm, &squarings);
|
|
312
|
+
if (squarings < 0) squarings = 0;
|
|
313
|
+
MatrixType A = arg.unaryExpr(MatrixExponentialScalingOp<long double>(squarings));
|
|
314
|
+
matrix_exp_pade17(A, U, V);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
#elif LDBL_MANT_DIG <= 113 // quadruple precision
|
|
318
|
+
|
|
319
|
+
if (l1norm < 1.639394610288918690547467954466970e-005L) {
|
|
320
|
+
matrix_exp_pade3(arg, U, V);
|
|
321
|
+
} else if (l1norm < 4.253237712165275566025884344433009e-003L) {
|
|
322
|
+
matrix_exp_pade5(arg, U, V);
|
|
323
|
+
} else if (l1norm < 5.125804063165764409885122032933142e-002L) {
|
|
324
|
+
matrix_exp_pade7(arg, U, V);
|
|
325
|
+
} else if (l1norm < 2.170000765161155195453205651889853e-001L) {
|
|
326
|
+
matrix_exp_pade9(arg, U, V);
|
|
327
|
+
} else if (l1norm < 1.125358383453143065081397882891878e+000L) {
|
|
328
|
+
matrix_exp_pade13(arg, U, V);
|
|
329
|
+
} else {
|
|
330
|
+
const long double maxnorm = 2.884233277829519311757165057717815L;
|
|
331
|
+
frexp(l1norm / maxnorm, &squarings);
|
|
332
|
+
if (squarings < 0) squarings = 0;
|
|
333
|
+
MatrixType A = arg.unaryExpr(MatrixExponentialScalingOp<long double>(squarings));
|
|
334
|
+
matrix_exp_pade17(A, U, V);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
#else
|
|
338
|
+
|
|
339
|
+
// this case should be handled in compute()
|
|
340
|
+
eigen_assert(false && "Bug in MatrixExponential");
|
|
341
|
+
|
|
342
|
+
#endif
|
|
343
|
+
#endif // LDBL_MANT_DIG
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
template<typename T> struct is_exp_known_type : false_type {};
|
|
348
|
+
template<> struct is_exp_known_type<float> : true_type {};
|
|
349
|
+
template<> struct is_exp_known_type<double> : true_type {};
|
|
350
|
+
#if LDBL_MANT_DIG <= 113
|
|
351
|
+
template<> struct is_exp_known_type<long double> : true_type {};
|
|
352
|
+
#endif
|
|
353
|
+
|
|
354
|
+
template <typename ArgType, typename ResultType>
|
|
355
|
+
void matrix_exp_compute(const ArgType& arg, ResultType &result, true_type) // natively supported scalar type
|
|
356
|
+
{
|
|
357
|
+
typedef typename ArgType::PlainObject MatrixType;
|
|
358
|
+
MatrixType U, V;
|
|
359
|
+
int squarings;
|
|
360
|
+
matrix_exp_computeUV<MatrixType>::run(arg, U, V, squarings); // Pade approximant is (U+V) / (-U+V)
|
|
361
|
+
MatrixType numer = U + V;
|
|
362
|
+
MatrixType denom = -U + V;
|
|
363
|
+
result = denom.partialPivLu().solve(numer);
|
|
364
|
+
for (int i=0; i<squarings; i++)
|
|
365
|
+
result *= result; // undo scaling by repeated squaring
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
/* Computes the matrix exponential
|
|
370
|
+
*
|
|
371
|
+
* \param arg argument of matrix exponential (should be plain object)
|
|
372
|
+
* \param result variable in which result will be stored
|
|
373
|
+
*/
|
|
374
|
+
template <typename ArgType, typename ResultType>
|
|
375
|
+
void matrix_exp_compute(const ArgType& arg, ResultType &result, false_type) // default
|
|
376
|
+
{
|
|
377
|
+
typedef typename ArgType::PlainObject MatrixType;
|
|
378
|
+
typedef typename traits<MatrixType>::Scalar Scalar;
|
|
379
|
+
typedef typename NumTraits<Scalar>::Real RealScalar;
|
|
380
|
+
typedef typename std::complex<RealScalar> ComplexScalar;
|
|
381
|
+
result = arg.matrixFunction(internal::stem_function_exp<ComplexScalar>);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
} // end namespace Eigen::internal
|
|
385
|
+
|
|
386
|
+
/** \ingroup MatrixFunctions_Module
|
|
387
|
+
*
|
|
388
|
+
* \brief Proxy for the matrix exponential of some matrix (expression).
|
|
389
|
+
*
|
|
390
|
+
* \tparam Derived Type of the argument to the matrix exponential.
|
|
391
|
+
*
|
|
392
|
+
* This class holds the argument to the matrix exponential until it is assigned or evaluated for
|
|
393
|
+
* some other reason (so the argument should not be changed in the meantime). It is the return type
|
|
394
|
+
* of MatrixBase::exp() and most of the time this is the only way it is used.
|
|
395
|
+
*/
|
|
396
|
+
template<typename Derived> struct MatrixExponentialReturnValue
|
|
397
|
+
: public ReturnByValue<MatrixExponentialReturnValue<Derived> >
|
|
398
|
+
{
|
|
399
|
+
public:
|
|
400
|
+
/** \brief Constructor.
|
|
401
|
+
*
|
|
402
|
+
* \param src %Matrix (expression) forming the argument of the matrix exponential.
|
|
403
|
+
*/
|
|
404
|
+
MatrixExponentialReturnValue(const Derived& src) : m_src(src) { }
|
|
405
|
+
|
|
406
|
+
/** \brief Compute the matrix exponential.
|
|
407
|
+
*
|
|
408
|
+
* \param result the matrix exponential of \p src in the constructor.
|
|
409
|
+
*/
|
|
410
|
+
template <typename ResultType>
|
|
411
|
+
inline void evalTo(ResultType& result) const
|
|
412
|
+
{
|
|
413
|
+
const typename internal::nested_eval<Derived, 10>::type tmp(m_src);
|
|
414
|
+
internal::matrix_exp_compute(tmp, result, internal::is_exp_known_type<typename Derived::RealScalar>());
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
Index rows() const { return m_src.rows(); }
|
|
418
|
+
Index cols() const { return m_src.cols(); }
|
|
419
|
+
|
|
420
|
+
protected:
|
|
421
|
+
const typename internal::ref_selector<Derived>::type m_src;
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
namespace internal {
|
|
425
|
+
template<typename Derived>
|
|
426
|
+
struct traits<MatrixExponentialReturnValue<Derived> >
|
|
427
|
+
{
|
|
428
|
+
typedef typename Derived::PlainObject ReturnType;
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
template <typename Derived>
|
|
433
|
+
const MatrixExponentialReturnValue<Derived> MatrixBase<Derived>::exp() const
|
|
434
|
+
{
|
|
435
|
+
eigen_assert(rows() == cols());
|
|
436
|
+
return MatrixExponentialReturnValue<Derived>(derived());
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
} // end namespace Eigen
|
|
440
|
+
|
|
441
|
+
#endif // EIGEN_MATRIX_EXPONENTIAL
|