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,368 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2011, 2013 Jitse Niesen <jitse@maths.leeds.ac.uk>
|
|
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_MATRIX_SQUARE_ROOT
|
|
11
|
+
#define EIGEN_MATRIX_SQUARE_ROOT
|
|
12
|
+
|
|
13
|
+
namespace Eigen {
|
|
14
|
+
|
|
15
|
+
namespace internal {
|
|
16
|
+
|
|
17
|
+
// pre: T.block(i,i,2,2) has complex conjugate eigenvalues
|
|
18
|
+
// post: sqrtT.block(i,i,2,2) is square root of T.block(i,i,2,2)
|
|
19
|
+
template <typename MatrixType, typename ResultType>
|
|
20
|
+
void matrix_sqrt_quasi_triangular_2x2_diagonal_block(const MatrixType& T, Index i, ResultType& sqrtT)
|
|
21
|
+
{
|
|
22
|
+
// TODO: This case (2-by-2 blocks with complex conjugate eigenvalues) is probably hidden somewhere
|
|
23
|
+
// in EigenSolver. If we expose it, we could call it directly from here.
|
|
24
|
+
typedef typename traits<MatrixType>::Scalar Scalar;
|
|
25
|
+
Matrix<Scalar,2,2> block = T.template block<2,2>(i,i);
|
|
26
|
+
EigenSolver<Matrix<Scalar,2,2> > es(block);
|
|
27
|
+
sqrtT.template block<2,2>(i,i)
|
|
28
|
+
= (es.eigenvectors() * es.eigenvalues().cwiseSqrt().asDiagonal() * es.eigenvectors().inverse()).real();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// pre: block structure of T is such that (i,j) is a 1x1 block,
|
|
32
|
+
// all blocks of sqrtT to left of and below (i,j) are correct
|
|
33
|
+
// post: sqrtT(i,j) has the correct value
|
|
34
|
+
template <typename MatrixType, typename ResultType>
|
|
35
|
+
void matrix_sqrt_quasi_triangular_1x1_off_diagonal_block(const MatrixType& T, Index i, Index j, ResultType& sqrtT)
|
|
36
|
+
{
|
|
37
|
+
typedef typename traits<MatrixType>::Scalar Scalar;
|
|
38
|
+
Scalar tmp = (sqrtT.row(i).segment(i+1,j-i-1) * sqrtT.col(j).segment(i+1,j-i-1)).value();
|
|
39
|
+
sqrtT.coeffRef(i,j) = (T.coeff(i,j) - tmp) / (sqrtT.coeff(i,i) + sqrtT.coeff(j,j));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// similar to compute1x1offDiagonalBlock()
|
|
43
|
+
template <typename MatrixType, typename ResultType>
|
|
44
|
+
void matrix_sqrt_quasi_triangular_1x2_off_diagonal_block(const MatrixType& T, Index i, Index j, ResultType& sqrtT)
|
|
45
|
+
{
|
|
46
|
+
typedef typename traits<MatrixType>::Scalar Scalar;
|
|
47
|
+
Matrix<Scalar,1,2> rhs = T.template block<1,2>(i,j);
|
|
48
|
+
if (j-i > 1)
|
|
49
|
+
rhs -= sqrtT.block(i, i+1, 1, j-i-1) * sqrtT.block(i+1, j, j-i-1, 2);
|
|
50
|
+
Matrix<Scalar,2,2> A = sqrtT.coeff(i,i) * Matrix<Scalar,2,2>::Identity();
|
|
51
|
+
A += sqrtT.template block<2,2>(j,j).transpose();
|
|
52
|
+
sqrtT.template block<1,2>(i,j).transpose() = A.fullPivLu().solve(rhs.transpose());
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// similar to compute1x1offDiagonalBlock()
|
|
56
|
+
template <typename MatrixType, typename ResultType>
|
|
57
|
+
void matrix_sqrt_quasi_triangular_2x1_off_diagonal_block(const MatrixType& T, Index i, Index j, ResultType& sqrtT)
|
|
58
|
+
{
|
|
59
|
+
typedef typename traits<MatrixType>::Scalar Scalar;
|
|
60
|
+
Matrix<Scalar,2,1> rhs = T.template block<2,1>(i,j);
|
|
61
|
+
if (j-i > 2)
|
|
62
|
+
rhs -= sqrtT.block(i, i+2, 2, j-i-2) * sqrtT.block(i+2, j, j-i-2, 1);
|
|
63
|
+
Matrix<Scalar,2,2> A = sqrtT.coeff(j,j) * Matrix<Scalar,2,2>::Identity();
|
|
64
|
+
A += sqrtT.template block<2,2>(i,i);
|
|
65
|
+
sqrtT.template block<2,1>(i,j) = A.fullPivLu().solve(rhs);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// solves the equation A X + X B = C where all matrices are 2-by-2
|
|
69
|
+
template <typename MatrixType>
|
|
70
|
+
void matrix_sqrt_quasi_triangular_solve_auxiliary_equation(MatrixType& X, const MatrixType& A, const MatrixType& B, const MatrixType& C)
|
|
71
|
+
{
|
|
72
|
+
typedef typename traits<MatrixType>::Scalar Scalar;
|
|
73
|
+
Matrix<Scalar,4,4> coeffMatrix = Matrix<Scalar,4,4>::Zero();
|
|
74
|
+
coeffMatrix.coeffRef(0,0) = A.coeff(0,0) + B.coeff(0,0);
|
|
75
|
+
coeffMatrix.coeffRef(1,1) = A.coeff(0,0) + B.coeff(1,1);
|
|
76
|
+
coeffMatrix.coeffRef(2,2) = A.coeff(1,1) + B.coeff(0,0);
|
|
77
|
+
coeffMatrix.coeffRef(3,3) = A.coeff(1,1) + B.coeff(1,1);
|
|
78
|
+
coeffMatrix.coeffRef(0,1) = B.coeff(1,0);
|
|
79
|
+
coeffMatrix.coeffRef(0,2) = A.coeff(0,1);
|
|
80
|
+
coeffMatrix.coeffRef(1,0) = B.coeff(0,1);
|
|
81
|
+
coeffMatrix.coeffRef(1,3) = A.coeff(0,1);
|
|
82
|
+
coeffMatrix.coeffRef(2,0) = A.coeff(1,0);
|
|
83
|
+
coeffMatrix.coeffRef(2,3) = B.coeff(1,0);
|
|
84
|
+
coeffMatrix.coeffRef(3,1) = A.coeff(1,0);
|
|
85
|
+
coeffMatrix.coeffRef(3,2) = B.coeff(0,1);
|
|
86
|
+
|
|
87
|
+
Matrix<Scalar,4,1> rhs;
|
|
88
|
+
rhs.coeffRef(0) = C.coeff(0,0);
|
|
89
|
+
rhs.coeffRef(1) = C.coeff(0,1);
|
|
90
|
+
rhs.coeffRef(2) = C.coeff(1,0);
|
|
91
|
+
rhs.coeffRef(3) = C.coeff(1,1);
|
|
92
|
+
|
|
93
|
+
Matrix<Scalar,4,1> result;
|
|
94
|
+
result = coeffMatrix.fullPivLu().solve(rhs);
|
|
95
|
+
|
|
96
|
+
X.coeffRef(0,0) = result.coeff(0);
|
|
97
|
+
X.coeffRef(0,1) = result.coeff(1);
|
|
98
|
+
X.coeffRef(1,0) = result.coeff(2);
|
|
99
|
+
X.coeffRef(1,1) = result.coeff(3);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// similar to compute1x1offDiagonalBlock()
|
|
103
|
+
template <typename MatrixType, typename ResultType>
|
|
104
|
+
void matrix_sqrt_quasi_triangular_2x2_off_diagonal_block(const MatrixType& T, Index i, Index j, ResultType& sqrtT)
|
|
105
|
+
{
|
|
106
|
+
typedef typename traits<MatrixType>::Scalar Scalar;
|
|
107
|
+
Matrix<Scalar,2,2> A = sqrtT.template block<2,2>(i,i);
|
|
108
|
+
Matrix<Scalar,2,2> B = sqrtT.template block<2,2>(j,j);
|
|
109
|
+
Matrix<Scalar,2,2> C = T.template block<2,2>(i,j);
|
|
110
|
+
if (j-i > 2)
|
|
111
|
+
C -= sqrtT.block(i, i+2, 2, j-i-2) * sqrtT.block(i+2, j, j-i-2, 2);
|
|
112
|
+
Matrix<Scalar,2,2> X;
|
|
113
|
+
matrix_sqrt_quasi_triangular_solve_auxiliary_equation(X, A, B, C);
|
|
114
|
+
sqrtT.template block<2,2>(i,j) = X;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// pre: T is quasi-upper-triangular and sqrtT is a zero matrix of the same size
|
|
118
|
+
// post: the diagonal blocks of sqrtT are the square roots of the diagonal blocks of T
|
|
119
|
+
template <typename MatrixType, typename ResultType>
|
|
120
|
+
void matrix_sqrt_quasi_triangular_diagonal(const MatrixType& T, ResultType& sqrtT)
|
|
121
|
+
{
|
|
122
|
+
using std::sqrt;
|
|
123
|
+
const Index size = T.rows();
|
|
124
|
+
for (Index i = 0; i < size; i++) {
|
|
125
|
+
if (i == size - 1 || T.coeff(i+1, i) == 0) {
|
|
126
|
+
eigen_assert(T(i,i) >= 0);
|
|
127
|
+
sqrtT.coeffRef(i,i) = sqrt(T.coeff(i,i));
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
matrix_sqrt_quasi_triangular_2x2_diagonal_block(T, i, sqrtT);
|
|
131
|
+
++i;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// pre: T is quasi-upper-triangular and diagonal blocks of sqrtT are square root of diagonal blocks of T.
|
|
137
|
+
// post: sqrtT is the square root of T.
|
|
138
|
+
template <typename MatrixType, typename ResultType>
|
|
139
|
+
void matrix_sqrt_quasi_triangular_off_diagonal(const MatrixType& T, ResultType& sqrtT)
|
|
140
|
+
{
|
|
141
|
+
const Index size = T.rows();
|
|
142
|
+
for (Index j = 1; j < size; j++) {
|
|
143
|
+
if (T.coeff(j, j-1) != 0) // if T(j-1:j, j-1:j) is a 2-by-2 block
|
|
144
|
+
continue;
|
|
145
|
+
for (Index i = j-1; i >= 0; i--) {
|
|
146
|
+
if (i > 0 && T.coeff(i, i-1) != 0) // if T(i-1:i, i-1:i) is a 2-by-2 block
|
|
147
|
+
continue;
|
|
148
|
+
bool iBlockIs2x2 = (i < size - 1) && (T.coeff(i+1, i) != 0);
|
|
149
|
+
bool jBlockIs2x2 = (j < size - 1) && (T.coeff(j+1, j) != 0);
|
|
150
|
+
if (iBlockIs2x2 && jBlockIs2x2)
|
|
151
|
+
matrix_sqrt_quasi_triangular_2x2_off_diagonal_block(T, i, j, sqrtT);
|
|
152
|
+
else if (iBlockIs2x2 && !jBlockIs2x2)
|
|
153
|
+
matrix_sqrt_quasi_triangular_2x1_off_diagonal_block(T, i, j, sqrtT);
|
|
154
|
+
else if (!iBlockIs2x2 && jBlockIs2x2)
|
|
155
|
+
matrix_sqrt_quasi_triangular_1x2_off_diagonal_block(T, i, j, sqrtT);
|
|
156
|
+
else if (!iBlockIs2x2 && !jBlockIs2x2)
|
|
157
|
+
matrix_sqrt_quasi_triangular_1x1_off_diagonal_block(T, i, j, sqrtT);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
} // end of namespace internal
|
|
163
|
+
|
|
164
|
+
/** \ingroup MatrixFunctions_Module
|
|
165
|
+
* \brief Compute matrix square root of quasi-triangular matrix.
|
|
166
|
+
*
|
|
167
|
+
* \tparam MatrixType type of \p arg, the argument of matrix square root,
|
|
168
|
+
* expected to be an instantiation of the Matrix class template.
|
|
169
|
+
* \tparam ResultType type of \p result, where result is to be stored.
|
|
170
|
+
* \param[in] arg argument of matrix square root.
|
|
171
|
+
* \param[out] result matrix square root of upper Hessenberg part of \p arg.
|
|
172
|
+
*
|
|
173
|
+
* This function computes the square root of the upper quasi-triangular matrix stored in the upper
|
|
174
|
+
* Hessenberg part of \p arg. Only the upper Hessenberg part of \p result is updated, the rest is
|
|
175
|
+
* not touched. See MatrixBase::sqrt() for details on how this computation is implemented.
|
|
176
|
+
*
|
|
177
|
+
* \sa MatrixSquareRoot, MatrixSquareRootQuasiTriangular
|
|
178
|
+
*/
|
|
179
|
+
template <typename MatrixType, typename ResultType>
|
|
180
|
+
void matrix_sqrt_quasi_triangular(const MatrixType &arg, ResultType &result)
|
|
181
|
+
{
|
|
182
|
+
eigen_assert(arg.rows() == arg.cols());
|
|
183
|
+
result.resize(arg.rows(), arg.cols());
|
|
184
|
+
internal::matrix_sqrt_quasi_triangular_diagonal(arg, result);
|
|
185
|
+
internal::matrix_sqrt_quasi_triangular_off_diagonal(arg, result);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
/** \ingroup MatrixFunctions_Module
|
|
190
|
+
* \brief Compute matrix square root of triangular matrix.
|
|
191
|
+
*
|
|
192
|
+
* \tparam MatrixType type of \p arg, the argument of matrix square root,
|
|
193
|
+
* expected to be an instantiation of the Matrix class template.
|
|
194
|
+
* \tparam ResultType type of \p result, where result is to be stored.
|
|
195
|
+
* \param[in] arg argument of matrix square root.
|
|
196
|
+
* \param[out] result matrix square root of upper triangular part of \p arg.
|
|
197
|
+
*
|
|
198
|
+
* Only the upper triangular part (including the diagonal) of \p result is updated, the rest is not
|
|
199
|
+
* touched. See MatrixBase::sqrt() for details on how this computation is implemented.
|
|
200
|
+
*
|
|
201
|
+
* \sa MatrixSquareRoot, MatrixSquareRootQuasiTriangular
|
|
202
|
+
*/
|
|
203
|
+
template <typename MatrixType, typename ResultType>
|
|
204
|
+
void matrix_sqrt_triangular(const MatrixType &arg, ResultType &result)
|
|
205
|
+
{
|
|
206
|
+
using std::sqrt;
|
|
207
|
+
typedef typename MatrixType::Scalar Scalar;
|
|
208
|
+
|
|
209
|
+
eigen_assert(arg.rows() == arg.cols());
|
|
210
|
+
|
|
211
|
+
// Compute square root of arg and store it in upper triangular part of result
|
|
212
|
+
// This uses that the square root of triangular matrices can be computed directly.
|
|
213
|
+
result.resize(arg.rows(), arg.cols());
|
|
214
|
+
for (Index i = 0; i < arg.rows(); i++) {
|
|
215
|
+
result.coeffRef(i,i) = sqrt(arg.coeff(i,i));
|
|
216
|
+
}
|
|
217
|
+
for (Index j = 1; j < arg.cols(); j++) {
|
|
218
|
+
for (Index i = j-1; i >= 0; i--) {
|
|
219
|
+
// if i = j-1, then segment has length 0 so tmp = 0
|
|
220
|
+
Scalar tmp = (result.row(i).segment(i+1,j-i-1) * result.col(j).segment(i+1,j-i-1)).value();
|
|
221
|
+
// denominator may be zero if original matrix is singular
|
|
222
|
+
result.coeffRef(i,j) = (arg.coeff(i,j) - tmp) / (result.coeff(i,i) + result.coeff(j,j));
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
namespace internal {
|
|
229
|
+
|
|
230
|
+
/** \ingroup MatrixFunctions_Module
|
|
231
|
+
* \brief Helper struct for computing matrix square roots of general matrices.
|
|
232
|
+
* \tparam MatrixType type of the argument of the matrix square root,
|
|
233
|
+
* expected to be an instantiation of the Matrix class template.
|
|
234
|
+
*
|
|
235
|
+
* \sa MatrixSquareRootTriangular, MatrixSquareRootQuasiTriangular, MatrixBase::sqrt()
|
|
236
|
+
*/
|
|
237
|
+
template <typename MatrixType, int IsComplex = NumTraits<typename internal::traits<MatrixType>::Scalar>::IsComplex>
|
|
238
|
+
struct matrix_sqrt_compute
|
|
239
|
+
{
|
|
240
|
+
/** \brief Compute the matrix square root
|
|
241
|
+
*
|
|
242
|
+
* \param[in] arg matrix whose square root is to be computed.
|
|
243
|
+
* \param[out] result square root of \p arg.
|
|
244
|
+
*
|
|
245
|
+
* See MatrixBase::sqrt() for details on how this computation is implemented.
|
|
246
|
+
*/
|
|
247
|
+
template <typename ResultType> static void run(const MatrixType &arg, ResultType &result);
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
// ********** Partial specialization for real matrices **********
|
|
252
|
+
|
|
253
|
+
template <typename MatrixType>
|
|
254
|
+
struct matrix_sqrt_compute<MatrixType, 0>
|
|
255
|
+
{
|
|
256
|
+
typedef typename MatrixType::PlainObject PlainType;
|
|
257
|
+
template <typename ResultType>
|
|
258
|
+
static void run(const MatrixType &arg, ResultType &result)
|
|
259
|
+
{
|
|
260
|
+
eigen_assert(arg.rows() == arg.cols());
|
|
261
|
+
|
|
262
|
+
// Compute Schur decomposition of arg
|
|
263
|
+
const RealSchur<PlainType> schurOfA(arg);
|
|
264
|
+
const PlainType& T = schurOfA.matrixT();
|
|
265
|
+
const PlainType& U = schurOfA.matrixU();
|
|
266
|
+
|
|
267
|
+
// Compute square root of T
|
|
268
|
+
PlainType sqrtT = PlainType::Zero(arg.rows(), arg.cols());
|
|
269
|
+
matrix_sqrt_quasi_triangular(T, sqrtT);
|
|
270
|
+
|
|
271
|
+
// Compute square root of arg
|
|
272
|
+
result = U * sqrtT * U.adjoint();
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
// ********** Partial specialization for complex matrices **********
|
|
278
|
+
|
|
279
|
+
template <typename MatrixType>
|
|
280
|
+
struct matrix_sqrt_compute<MatrixType, 1>
|
|
281
|
+
{
|
|
282
|
+
typedef typename MatrixType::PlainObject PlainType;
|
|
283
|
+
template <typename ResultType>
|
|
284
|
+
static void run(const MatrixType &arg, ResultType &result)
|
|
285
|
+
{
|
|
286
|
+
eigen_assert(arg.rows() == arg.cols());
|
|
287
|
+
|
|
288
|
+
// Compute Schur decomposition of arg
|
|
289
|
+
const ComplexSchur<PlainType> schurOfA(arg);
|
|
290
|
+
const PlainType& T = schurOfA.matrixT();
|
|
291
|
+
const PlainType& U = schurOfA.matrixU();
|
|
292
|
+
|
|
293
|
+
// Compute square root of T
|
|
294
|
+
PlainType sqrtT;
|
|
295
|
+
matrix_sqrt_triangular(T, sqrtT);
|
|
296
|
+
|
|
297
|
+
// Compute square root of arg
|
|
298
|
+
result = U * (sqrtT.template triangularView<Upper>() * U.adjoint());
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
} // end namespace internal
|
|
303
|
+
|
|
304
|
+
/** \ingroup MatrixFunctions_Module
|
|
305
|
+
*
|
|
306
|
+
* \brief Proxy for the matrix square root of some matrix (expression).
|
|
307
|
+
*
|
|
308
|
+
* \tparam Derived Type of the argument to the matrix square root.
|
|
309
|
+
*
|
|
310
|
+
* This class holds the argument to the matrix square root until it
|
|
311
|
+
* is assigned or evaluated for some other reason (so the argument
|
|
312
|
+
* should not be changed in the meantime). It is the return type of
|
|
313
|
+
* MatrixBase::sqrt() and most of the time this is the only way it is
|
|
314
|
+
* used.
|
|
315
|
+
*/
|
|
316
|
+
template<typename Derived> class MatrixSquareRootReturnValue
|
|
317
|
+
: public ReturnByValue<MatrixSquareRootReturnValue<Derived> >
|
|
318
|
+
{
|
|
319
|
+
protected:
|
|
320
|
+
typedef typename internal::ref_selector<Derived>::type DerivedNested;
|
|
321
|
+
|
|
322
|
+
public:
|
|
323
|
+
/** \brief Constructor.
|
|
324
|
+
*
|
|
325
|
+
* \param[in] src %Matrix (expression) forming the argument of the
|
|
326
|
+
* matrix square root.
|
|
327
|
+
*/
|
|
328
|
+
explicit MatrixSquareRootReturnValue(const Derived& src) : m_src(src) { }
|
|
329
|
+
|
|
330
|
+
/** \brief Compute the matrix square root.
|
|
331
|
+
*
|
|
332
|
+
* \param[out] result the matrix square root of \p src in the
|
|
333
|
+
* constructor.
|
|
334
|
+
*/
|
|
335
|
+
template <typename ResultType>
|
|
336
|
+
inline void evalTo(ResultType& result) const
|
|
337
|
+
{
|
|
338
|
+
typedef typename internal::nested_eval<Derived, 10>::type DerivedEvalType;
|
|
339
|
+
typedef typename internal::remove_all<DerivedEvalType>::type DerivedEvalTypeClean;
|
|
340
|
+
DerivedEvalType tmp(m_src);
|
|
341
|
+
internal::matrix_sqrt_compute<DerivedEvalTypeClean>::run(tmp, result);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
Index rows() const { return m_src.rows(); }
|
|
345
|
+
Index cols() const { return m_src.cols(); }
|
|
346
|
+
|
|
347
|
+
protected:
|
|
348
|
+
const DerivedNested m_src;
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
namespace internal {
|
|
352
|
+
template<typename Derived>
|
|
353
|
+
struct traits<MatrixSquareRootReturnValue<Derived> >
|
|
354
|
+
{
|
|
355
|
+
typedef typename Derived::PlainObject ReturnType;
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
template <typename Derived>
|
|
360
|
+
const MatrixSquareRootReturnValue<Derived> MatrixBase<Derived>::sqrt() const
|
|
361
|
+
{
|
|
362
|
+
eigen_assert(rows() == cols());
|
|
363
|
+
return MatrixSquareRootReturnValue<Derived>(derived());
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
} // end namespace Eigen
|
|
367
|
+
|
|
368
|
+
#endif // EIGEN_MATRIX_FUNCTION
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2010, 2013 Jitse Niesen <jitse@maths.leeds.ac.uk>
|
|
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_STEM_FUNCTION
|
|
11
|
+
#define EIGEN_STEM_FUNCTION
|
|
12
|
+
|
|
13
|
+
namespace Eigen {
|
|
14
|
+
|
|
15
|
+
namespace internal {
|
|
16
|
+
|
|
17
|
+
/** \brief The exponential function (and its derivatives). */
|
|
18
|
+
template <typename Scalar>
|
|
19
|
+
Scalar stem_function_exp(Scalar x, int)
|
|
20
|
+
{
|
|
21
|
+
using std::exp;
|
|
22
|
+
return exp(x);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** \brief Cosine (and its derivatives). */
|
|
26
|
+
template <typename Scalar>
|
|
27
|
+
Scalar stem_function_cos(Scalar x, int n)
|
|
28
|
+
{
|
|
29
|
+
using std::cos;
|
|
30
|
+
using std::sin;
|
|
31
|
+
Scalar res;
|
|
32
|
+
|
|
33
|
+
switch (n % 4) {
|
|
34
|
+
case 0:
|
|
35
|
+
res = std::cos(x);
|
|
36
|
+
break;
|
|
37
|
+
case 1:
|
|
38
|
+
res = -std::sin(x);
|
|
39
|
+
break;
|
|
40
|
+
case 2:
|
|
41
|
+
res = -std::cos(x);
|
|
42
|
+
break;
|
|
43
|
+
case 3:
|
|
44
|
+
res = std::sin(x);
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
return res;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** \brief Sine (and its derivatives). */
|
|
51
|
+
template <typename Scalar>
|
|
52
|
+
Scalar stem_function_sin(Scalar x, int n)
|
|
53
|
+
{
|
|
54
|
+
using std::cos;
|
|
55
|
+
using std::sin;
|
|
56
|
+
Scalar res;
|
|
57
|
+
|
|
58
|
+
switch (n % 4) {
|
|
59
|
+
case 0:
|
|
60
|
+
res = std::sin(x);
|
|
61
|
+
break;
|
|
62
|
+
case 1:
|
|
63
|
+
res = std::cos(x);
|
|
64
|
+
break;
|
|
65
|
+
case 2:
|
|
66
|
+
res = -std::sin(x);
|
|
67
|
+
break;
|
|
68
|
+
case 3:
|
|
69
|
+
res = -std::cos(x);
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
return res;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** \brief Hyperbolic cosine (and its derivatives). */
|
|
76
|
+
template <typename Scalar>
|
|
77
|
+
Scalar stem_function_cosh(Scalar x, int n)
|
|
78
|
+
{
|
|
79
|
+
using std::cosh;
|
|
80
|
+
using std::sinh;
|
|
81
|
+
Scalar res;
|
|
82
|
+
|
|
83
|
+
switch (n % 2) {
|
|
84
|
+
case 0:
|
|
85
|
+
res = std::cosh(x);
|
|
86
|
+
break;
|
|
87
|
+
case 1:
|
|
88
|
+
res = std::sinh(x);
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
return res;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/** \brief Hyperbolic sine (and its derivatives). */
|
|
95
|
+
template <typename Scalar>
|
|
96
|
+
Scalar stem_function_sinh(Scalar x, int n)
|
|
97
|
+
{
|
|
98
|
+
using std::cosh;
|
|
99
|
+
using std::sinh;
|
|
100
|
+
Scalar res;
|
|
101
|
+
|
|
102
|
+
switch (n % 2) {
|
|
103
|
+
case 0:
|
|
104
|
+
res = std::sinh(x);
|
|
105
|
+
break;
|
|
106
|
+
case 1:
|
|
107
|
+
res = std::cosh(x);
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
return res;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
} // end namespace internal
|
|
114
|
+
|
|
115
|
+
} // end namespace Eigen
|
|
116
|
+
|
|
117
|
+
#endif // EIGEN_STEM_FUNCTION
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2009 Rohit Garg <rpg.314@gmail.com>
|
|
5
|
+
// Copyright (C) 2009 Benoit Jacob <jacob.benoit.1@gmail.com>
|
|
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_MOREVECTORIZATION_MATHFUNCTIONS_H
|
|
12
|
+
#define EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
|
|
13
|
+
|
|
14
|
+
namespace Eigen {
|
|
15
|
+
|
|
16
|
+
namespace internal {
|
|
17
|
+
|
|
18
|
+
/** \internal \returns the arcsin of \a a (coeff-wise) */
|
|
19
|
+
template<typename Packet> inline static Packet pasin(Packet a) { return std::asin(a); }
|
|
20
|
+
|
|
21
|
+
#ifdef EIGEN_VECTORIZE_SSE
|
|
22
|
+
|
|
23
|
+
template<> EIGEN_DONT_INLINE Packet4f pasin(Packet4f x)
|
|
24
|
+
{
|
|
25
|
+
_EIGEN_DECLARE_CONST_Packet4f(half, 0.5);
|
|
26
|
+
_EIGEN_DECLARE_CONST_Packet4f(minus_half, -0.5);
|
|
27
|
+
_EIGEN_DECLARE_CONST_Packet4f(3half, 1.5);
|
|
28
|
+
|
|
29
|
+
_EIGEN_DECLARE_CONST_Packet4f_FROM_INT(sign_mask, 0x80000000);
|
|
30
|
+
|
|
31
|
+
_EIGEN_DECLARE_CONST_Packet4f(pi, 3.141592654);
|
|
32
|
+
_EIGEN_DECLARE_CONST_Packet4f(pi_over_2, 3.141592654*0.5);
|
|
33
|
+
|
|
34
|
+
_EIGEN_DECLARE_CONST_Packet4f(asin1, 4.2163199048E-2);
|
|
35
|
+
_EIGEN_DECLARE_CONST_Packet4f(asin2, 2.4181311049E-2);
|
|
36
|
+
_EIGEN_DECLARE_CONST_Packet4f(asin3, 4.5470025998E-2);
|
|
37
|
+
_EIGEN_DECLARE_CONST_Packet4f(asin4, 7.4953002686E-2);
|
|
38
|
+
_EIGEN_DECLARE_CONST_Packet4f(asin5, 1.6666752422E-1);
|
|
39
|
+
|
|
40
|
+
Packet4f a = pabs(x);//got the absolute value
|
|
41
|
+
|
|
42
|
+
Packet4f sign_bit= _mm_and_ps(x, p4f_sign_mask);//extracted the sign bit
|
|
43
|
+
|
|
44
|
+
Packet4f z1,z2;//will need them during computation
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
//will compute the two branches for asin
|
|
48
|
+
//so first compare with half
|
|
49
|
+
|
|
50
|
+
Packet4f branch_mask= _mm_cmpgt_ps(a, p4f_half);//this is to select which branch to take
|
|
51
|
+
//both will be taken, and finally results will be merged
|
|
52
|
+
//the branch for values >0.5
|
|
53
|
+
|
|
54
|
+
{
|
|
55
|
+
//the core series expansion
|
|
56
|
+
z1=pmadd(p4f_minus_half,a,p4f_half);
|
|
57
|
+
Packet4f x1=psqrt(z1);
|
|
58
|
+
Packet4f s1=pmadd(p4f_asin1, z1, p4f_asin2);
|
|
59
|
+
Packet4f s2=pmadd(s1, z1, p4f_asin3);
|
|
60
|
+
Packet4f s3=pmadd(s2,z1, p4f_asin4);
|
|
61
|
+
Packet4f s4=pmadd(s3,z1, p4f_asin5);
|
|
62
|
+
Packet4f temp=pmul(s4,z1);//not really a madd but a mul by z so that the next term can be a madd
|
|
63
|
+
z1=pmadd(temp,x1,x1);
|
|
64
|
+
z1=padd(z1,z1);
|
|
65
|
+
z1=psub(p4f_pi_over_2,z1);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
{
|
|
69
|
+
//the core series expansion
|
|
70
|
+
Packet4f x2=a;
|
|
71
|
+
z2=pmul(x2,x2);
|
|
72
|
+
Packet4f s1=pmadd(p4f_asin1, z2, p4f_asin2);
|
|
73
|
+
Packet4f s2=pmadd(s1, z2, p4f_asin3);
|
|
74
|
+
Packet4f s3=pmadd(s2,z2, p4f_asin4);
|
|
75
|
+
Packet4f s4=pmadd(s3,z2, p4f_asin5);
|
|
76
|
+
Packet4f temp=pmul(s4,z2);//not really a madd but a mul by z so that the next term can be a madd
|
|
77
|
+
z2=pmadd(temp,x2,x2);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* select the correct result from the two branch evaluations */
|
|
81
|
+
z1 = _mm_and_ps(branch_mask, z1);
|
|
82
|
+
z2 = _mm_andnot_ps(branch_mask, z2);
|
|
83
|
+
Packet4f z = _mm_or_ps(z1,z2);
|
|
84
|
+
|
|
85
|
+
/* update the sign */
|
|
86
|
+
return _mm_xor_ps(z, sign_bit);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
#endif // EIGEN_VECTORIZE_SSE
|
|
90
|
+
|
|
91
|
+
} // end namespace internal
|
|
92
|
+
|
|
93
|
+
} // end namespace Eigen
|
|
94
|
+
|
|
95
|
+
#endif // EIGEN_MOREVECTORIZATION_MATHFUNCTIONS_H
|