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,346 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
|
|
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_CXX11_TENSOR_TENSOR_STRIDING_H
|
|
11
|
+
#define EIGEN_CXX11_TENSOR_TENSOR_STRIDING_H
|
|
12
|
+
|
|
13
|
+
namespace Eigen {
|
|
14
|
+
|
|
15
|
+
/** \class TensorStriding
|
|
16
|
+
* \ingroup CXX11_Tensor_Module
|
|
17
|
+
*
|
|
18
|
+
* \brief Tensor striding class.
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
namespace internal {
|
|
23
|
+
template<typename Strides, typename XprType>
|
|
24
|
+
struct traits<TensorStridingOp<Strides, XprType> > : public traits<XprType>
|
|
25
|
+
{
|
|
26
|
+
typedef typename XprType::Scalar Scalar;
|
|
27
|
+
typedef traits<XprType> XprTraits;
|
|
28
|
+
typedef typename XprTraits::StorageKind StorageKind;
|
|
29
|
+
typedef typename XprTraits::Index Index;
|
|
30
|
+
typedef typename XprType::Nested Nested;
|
|
31
|
+
typedef typename remove_reference<Nested>::type _Nested;
|
|
32
|
+
static const int NumDimensions = XprTraits::NumDimensions;
|
|
33
|
+
static const int Layout = XprTraits::Layout;
|
|
34
|
+
typedef typename XprTraits::PointerType PointerType;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
template<typename Strides, typename XprType>
|
|
38
|
+
struct eval<TensorStridingOp<Strides, XprType>, Eigen::Dense>
|
|
39
|
+
{
|
|
40
|
+
typedef const TensorStridingOp<Strides, XprType>EIGEN_DEVICE_REF type;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
template<typename Strides, typename XprType>
|
|
44
|
+
struct nested<TensorStridingOp<Strides, XprType>, 1, typename eval<TensorStridingOp<Strides, XprType> >::type>
|
|
45
|
+
{
|
|
46
|
+
typedef TensorStridingOp<Strides, XprType> type;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
} // end namespace internal
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
template<typename Strides, typename XprType>
|
|
54
|
+
class TensorStridingOp : public TensorBase<TensorStridingOp<Strides, XprType> >
|
|
55
|
+
{
|
|
56
|
+
public:
|
|
57
|
+
typedef TensorBase<TensorStridingOp<Strides, XprType> > Base;
|
|
58
|
+
typedef typename Eigen::internal::traits<TensorStridingOp>::Scalar Scalar;
|
|
59
|
+
typedef typename Eigen::NumTraits<Scalar>::Real RealScalar;
|
|
60
|
+
typedef typename XprType::CoeffReturnType CoeffReturnType;
|
|
61
|
+
typedef typename Eigen::internal::nested<TensorStridingOp>::type Nested;
|
|
62
|
+
typedef typename Eigen::internal::traits<TensorStridingOp>::StorageKind StorageKind;
|
|
63
|
+
typedef typename Eigen::internal::traits<TensorStridingOp>::Index Index;
|
|
64
|
+
|
|
65
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp(const XprType& expr, const Strides& dims)
|
|
66
|
+
: m_xpr(expr), m_dims(dims) {}
|
|
67
|
+
|
|
68
|
+
EIGEN_DEVICE_FUNC
|
|
69
|
+
const Strides& strides() const { return m_dims; }
|
|
70
|
+
|
|
71
|
+
EIGEN_DEVICE_FUNC
|
|
72
|
+
const typename internal::remove_all<typename XprType::Nested>::type&
|
|
73
|
+
expression() const { return m_xpr; }
|
|
74
|
+
|
|
75
|
+
EIGEN_TENSOR_INHERIT_ASSIGNMENT_OPERATORS(TensorStridingOp)
|
|
76
|
+
|
|
77
|
+
protected:
|
|
78
|
+
typename XprType::Nested m_xpr;
|
|
79
|
+
const Strides m_dims;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
// Eval as rvalue
|
|
84
|
+
template<typename Strides, typename ArgType, typename Device>
|
|
85
|
+
struct TensorEvaluator<const TensorStridingOp<Strides, ArgType>, Device>
|
|
86
|
+
{
|
|
87
|
+
typedef TensorStridingOp<Strides, ArgType> XprType;
|
|
88
|
+
typedef typename XprType::Index Index;
|
|
89
|
+
static const int NumDims = internal::array_size<typename TensorEvaluator<ArgType, Device>::Dimensions>::value;
|
|
90
|
+
typedef DSizes<Index, NumDims> Dimensions;
|
|
91
|
+
typedef typename XprType::Scalar Scalar;
|
|
92
|
+
typedef typename XprType::CoeffReturnType CoeffReturnType;
|
|
93
|
+
typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
|
|
94
|
+
static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
|
|
95
|
+
typedef StorageMemory<CoeffReturnType, Device> Storage;
|
|
96
|
+
typedef typename Storage::Type EvaluatorPointerType;
|
|
97
|
+
|
|
98
|
+
enum {
|
|
99
|
+
IsAligned = /*TensorEvaluator<ArgType, Device>::IsAligned*/false,
|
|
100
|
+
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess,
|
|
101
|
+
BlockAccess = false,
|
|
102
|
+
PreferBlockAccess = TensorEvaluator<ArgType, Device>::PreferBlockAccess,
|
|
103
|
+
Layout = TensorEvaluator<ArgType, Device>::Layout,
|
|
104
|
+
CoordAccess = false, // to be implemented
|
|
105
|
+
RawAccess = false
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
//===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
|
|
109
|
+
typedef internal::TensorBlockNotImplemented TensorBlock;
|
|
110
|
+
//===--------------------------------------------------------------------===//
|
|
111
|
+
|
|
112
|
+
EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)
|
|
113
|
+
: m_impl(op.expression(), device)
|
|
114
|
+
{
|
|
115
|
+
m_dimensions = m_impl.dimensions();
|
|
116
|
+
for (int i = 0; i < NumDims; ++i) {
|
|
117
|
+
m_dimensions[i] =Eigen::numext::ceil(static_cast<float>(m_dimensions[i]) / op.strides()[i]);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const typename TensorEvaluator<ArgType, Device>::Dimensions& input_dims = m_impl.dimensions();
|
|
121
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
122
|
+
m_outputStrides[0] = 1;
|
|
123
|
+
m_inputStrides[0] = 1;
|
|
124
|
+
for (int i = 1; i < NumDims; ++i) {
|
|
125
|
+
m_outputStrides[i] = m_outputStrides[i-1] * m_dimensions[i-1];
|
|
126
|
+
m_inputStrides[i] = m_inputStrides[i-1] * input_dims[i-1];
|
|
127
|
+
m_inputStrides[i-1] *= op.strides()[i-1];
|
|
128
|
+
}
|
|
129
|
+
m_inputStrides[NumDims-1] *= op.strides()[NumDims-1];
|
|
130
|
+
} else { // RowMajor
|
|
131
|
+
m_outputStrides[NumDims-1] = 1;
|
|
132
|
+
m_inputStrides[NumDims-1] = 1;
|
|
133
|
+
for (int i = NumDims - 2; i >= 0; --i) {
|
|
134
|
+
m_outputStrides[i] = m_outputStrides[i+1] * m_dimensions[i+1];
|
|
135
|
+
m_inputStrides[i] = m_inputStrides[i+1] * input_dims[i+1];
|
|
136
|
+
m_inputStrides[i+1] *= op.strides()[i+1];
|
|
137
|
+
}
|
|
138
|
+
m_inputStrides[0] *= op.strides()[0];
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dimensions; }
|
|
144
|
+
|
|
145
|
+
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType/*data*/) {
|
|
146
|
+
m_impl.evalSubExprsIfNeeded(NULL);
|
|
147
|
+
return true;
|
|
148
|
+
}
|
|
149
|
+
EIGEN_STRONG_INLINE void cleanup() {
|
|
150
|
+
m_impl.cleanup();
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
|
|
154
|
+
{
|
|
155
|
+
return m_impl.coeff(srcCoeff(index));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
template<int LoadMode>
|
|
159
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
|
|
160
|
+
{
|
|
161
|
+
EIGEN_STATIC_ASSERT((PacketSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE)
|
|
162
|
+
eigen_assert(index+PacketSize-1 < dimensions().TotalSize());
|
|
163
|
+
|
|
164
|
+
Index inputIndices[] = {0, 0};
|
|
165
|
+
Index indices[] = {index, index + PacketSize - 1};
|
|
166
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
167
|
+
EIGEN_UNROLL_LOOP
|
|
168
|
+
for (int i = NumDims - 1; i > 0; --i) {
|
|
169
|
+
const Index idx0 = indices[0] / m_outputStrides[i];
|
|
170
|
+
const Index idx1 = indices[1] / m_outputStrides[i];
|
|
171
|
+
inputIndices[0] += idx0 * m_inputStrides[i];
|
|
172
|
+
inputIndices[1] += idx1 * m_inputStrides[i];
|
|
173
|
+
indices[0] -= idx0 * m_outputStrides[i];
|
|
174
|
+
indices[1] -= idx1 * m_outputStrides[i];
|
|
175
|
+
}
|
|
176
|
+
inputIndices[0] += indices[0] * m_inputStrides[0];
|
|
177
|
+
inputIndices[1] += indices[1] * m_inputStrides[0];
|
|
178
|
+
} else { // RowMajor
|
|
179
|
+
EIGEN_UNROLL_LOOP
|
|
180
|
+
for (int i = 0; i < NumDims - 1; ++i) {
|
|
181
|
+
const Index idx0 = indices[0] / m_outputStrides[i];
|
|
182
|
+
const Index idx1 = indices[1] / m_outputStrides[i];
|
|
183
|
+
inputIndices[0] += idx0 * m_inputStrides[i];
|
|
184
|
+
inputIndices[1] += idx1 * m_inputStrides[i];
|
|
185
|
+
indices[0] -= idx0 * m_outputStrides[i];
|
|
186
|
+
indices[1] -= idx1 * m_outputStrides[i];
|
|
187
|
+
}
|
|
188
|
+
inputIndices[0] += indices[0] * m_inputStrides[NumDims-1];
|
|
189
|
+
inputIndices[1] += indices[1] * m_inputStrides[NumDims-1];
|
|
190
|
+
}
|
|
191
|
+
if (inputIndices[1] - inputIndices[0] == PacketSize - 1) {
|
|
192
|
+
PacketReturnType rslt = m_impl.template packet<Unaligned>(inputIndices[0]);
|
|
193
|
+
return rslt;
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
EIGEN_ALIGN_MAX typename internal::remove_const<CoeffReturnType>::type values[PacketSize];
|
|
197
|
+
values[0] = m_impl.coeff(inputIndices[0]);
|
|
198
|
+
values[PacketSize-1] = m_impl.coeff(inputIndices[1]);
|
|
199
|
+
EIGEN_UNROLL_LOOP
|
|
200
|
+
for (int i = 1; i < PacketSize-1; ++i) {
|
|
201
|
+
values[i] = coeff(index+i);
|
|
202
|
+
}
|
|
203
|
+
PacketReturnType rslt = internal::pload<PacketReturnType>(values);
|
|
204
|
+
return rslt;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff(bool vectorized) const {
|
|
209
|
+
double compute_cost = (NumDims - 1) * (TensorOpCost::AddCost<Index>() +
|
|
210
|
+
TensorOpCost::MulCost<Index>() +
|
|
211
|
+
TensorOpCost::DivCost<Index>()) +
|
|
212
|
+
TensorOpCost::MulCost<Index>();
|
|
213
|
+
if (vectorized) {
|
|
214
|
+
compute_cost *= 2; // packet() computes two indices
|
|
215
|
+
}
|
|
216
|
+
const int innerDim = (static_cast<int>(Layout) == static_cast<int>(ColMajor)) ? 0 : (NumDims - 1);
|
|
217
|
+
return m_impl.costPerCoeff(vectorized && m_inputStrides[innerDim] == 1) +
|
|
218
|
+
// Computation is not vectorized per se, but it is done once per packet.
|
|
219
|
+
TensorOpCost(0, 0, compute_cost, vectorized, PacketSize);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
EIGEN_DEVICE_FUNC typename Storage::Type data() const { return NULL; }
|
|
223
|
+
|
|
224
|
+
#ifdef EIGEN_USE_SYCL
|
|
225
|
+
// binding placeholder accessors to a command group handler for SYCL
|
|
226
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
|
|
227
|
+
m_impl.bind(cgh);
|
|
228
|
+
}
|
|
229
|
+
#endif
|
|
230
|
+
protected:
|
|
231
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
|
|
232
|
+
{
|
|
233
|
+
Index inputIndex = 0;
|
|
234
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
235
|
+
EIGEN_UNROLL_LOOP
|
|
236
|
+
for (int i = NumDims - 1; i > 0; --i) {
|
|
237
|
+
const Index idx = index / m_outputStrides[i];
|
|
238
|
+
inputIndex += idx * m_inputStrides[i];
|
|
239
|
+
index -= idx * m_outputStrides[i];
|
|
240
|
+
}
|
|
241
|
+
inputIndex += index * m_inputStrides[0];
|
|
242
|
+
} else { // RowMajor
|
|
243
|
+
EIGEN_UNROLL_LOOP
|
|
244
|
+
for (int i = 0; i < NumDims - 1; ++i) {
|
|
245
|
+
const Index idx = index / m_outputStrides[i];
|
|
246
|
+
inputIndex += idx * m_inputStrides[i];
|
|
247
|
+
index -= idx * m_outputStrides[i];
|
|
248
|
+
}
|
|
249
|
+
inputIndex += index * m_inputStrides[NumDims-1];
|
|
250
|
+
}
|
|
251
|
+
return inputIndex;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
Dimensions m_dimensions;
|
|
255
|
+
array<Index, NumDims> m_outputStrides;
|
|
256
|
+
array<Index, NumDims> m_inputStrides;
|
|
257
|
+
TensorEvaluator<ArgType, Device> m_impl;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
// Eval as lvalue
|
|
261
|
+
template<typename Strides, typename ArgType, typename Device>
|
|
262
|
+
struct TensorEvaluator<TensorStridingOp<Strides, ArgType>, Device>
|
|
263
|
+
: public TensorEvaluator<const TensorStridingOp<Strides, ArgType>, Device>
|
|
264
|
+
{
|
|
265
|
+
typedef TensorStridingOp<Strides, ArgType> XprType;
|
|
266
|
+
typedef TensorEvaluator<const XprType, Device> Base;
|
|
267
|
+
// typedef typename XprType::Index Index;
|
|
268
|
+
static const int NumDims = internal::array_size<typename TensorEvaluator<ArgType, Device>::Dimensions>::value;
|
|
269
|
+
// typedef DSizes<Index, NumDims> Dimensions;
|
|
270
|
+
|
|
271
|
+
enum {
|
|
272
|
+
IsAligned = /*TensorEvaluator<ArgType, Device>::IsAligned*/false,
|
|
273
|
+
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess,
|
|
274
|
+
PreferBlockAccess = false,
|
|
275
|
+
Layout = TensorEvaluator<ArgType, Device>::Layout,
|
|
276
|
+
CoordAccess = false, // to be implemented
|
|
277
|
+
RawAccess = false
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)
|
|
281
|
+
: Base(op, device) { }
|
|
282
|
+
|
|
283
|
+
typedef typename XprType::Index Index;
|
|
284
|
+
typedef typename XprType::Scalar Scalar;
|
|
285
|
+
typedef typename XprType::CoeffReturnType CoeffReturnType;
|
|
286
|
+
typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
|
|
287
|
+
static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
|
|
288
|
+
|
|
289
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& coeffRef(Index index)
|
|
290
|
+
{
|
|
291
|
+
return this->m_impl.coeffRef(this->srcCoeff(index));
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
template <int StoreMode> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
|
295
|
+
void writePacket(Index index, const PacketReturnType& x)
|
|
296
|
+
{
|
|
297
|
+
EIGEN_STATIC_ASSERT((PacketSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE)
|
|
298
|
+
eigen_assert(index+PacketSize-1 < this->dimensions().TotalSize());
|
|
299
|
+
|
|
300
|
+
Index inputIndices[] = {0, 0};
|
|
301
|
+
Index indices[] = {index, index + PacketSize - 1};
|
|
302
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
303
|
+
EIGEN_UNROLL_LOOP
|
|
304
|
+
for (int i = NumDims - 1; i > 0; --i) {
|
|
305
|
+
const Index idx0 = indices[0] / this->m_outputStrides[i];
|
|
306
|
+
const Index idx1 = indices[1] / this->m_outputStrides[i];
|
|
307
|
+
inputIndices[0] += idx0 * this->m_inputStrides[i];
|
|
308
|
+
inputIndices[1] += idx1 * this->m_inputStrides[i];
|
|
309
|
+
indices[0] -= idx0 * this->m_outputStrides[i];
|
|
310
|
+
indices[1] -= idx1 * this->m_outputStrides[i];
|
|
311
|
+
}
|
|
312
|
+
inputIndices[0] += indices[0] * this->m_inputStrides[0];
|
|
313
|
+
inputIndices[1] += indices[1] * this->m_inputStrides[0];
|
|
314
|
+
} else { // RowMajor
|
|
315
|
+
EIGEN_UNROLL_LOOP
|
|
316
|
+
for (int i = 0; i < NumDims - 1; ++i) {
|
|
317
|
+
const Index idx0 = indices[0] / this->m_outputStrides[i];
|
|
318
|
+
const Index idx1 = indices[1] / this->m_outputStrides[i];
|
|
319
|
+
inputIndices[0] += idx0 * this->m_inputStrides[i];
|
|
320
|
+
inputIndices[1] += idx1 * this->m_inputStrides[i];
|
|
321
|
+
indices[0] -= idx0 * this->m_outputStrides[i];
|
|
322
|
+
indices[1] -= idx1 * this->m_outputStrides[i];
|
|
323
|
+
}
|
|
324
|
+
inputIndices[0] += indices[0] * this->m_inputStrides[NumDims-1];
|
|
325
|
+
inputIndices[1] += indices[1] * this->m_inputStrides[NumDims-1];
|
|
326
|
+
}
|
|
327
|
+
if (inputIndices[1] - inputIndices[0] == PacketSize - 1) {
|
|
328
|
+
this->m_impl.template writePacket<Unaligned>(inputIndices[0], x);
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
EIGEN_ALIGN_MAX Scalar values[PacketSize];
|
|
332
|
+
internal::pstore<Scalar, PacketReturnType>(values, x);
|
|
333
|
+
this->m_impl.coeffRef(inputIndices[0]) = values[0];
|
|
334
|
+
this->m_impl.coeffRef(inputIndices[1]) = values[PacketSize-1];
|
|
335
|
+
EIGEN_UNROLL_LOOP
|
|
336
|
+
for (int i = 1; i < PacketSize-1; ++i) {
|
|
337
|
+
this->coeffRef(index+i) = values[i];
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
} // end namespace Eigen
|
|
345
|
+
|
|
346
|
+
#endif // EIGEN_CXX11_TENSOR_TENSOR_STRIDING_H
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2017 Gagan Goel <gagan.nith@gmail.com>
|
|
5
|
+
// Copyright (C) 2017 Benoit Steiner <benoit.steiner.goog@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_CXX11_TENSOR_TENSOR_TRACE_H
|
|
12
|
+
#define EIGEN_CXX11_TENSOR_TENSOR_TRACE_H
|
|
13
|
+
|
|
14
|
+
namespace Eigen {
|
|
15
|
+
|
|
16
|
+
/** \class TensorTrace
|
|
17
|
+
* \ingroup CXX11_Tensor_Module
|
|
18
|
+
*
|
|
19
|
+
* \brief Tensor Trace class.
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
namespace internal {
|
|
25
|
+
template<typename Dims, typename XprType>
|
|
26
|
+
struct traits<TensorTraceOp<Dims, XprType> > : public traits<XprType>
|
|
27
|
+
{
|
|
28
|
+
typedef typename XprType::Scalar Scalar;
|
|
29
|
+
typedef traits<XprType> XprTraits;
|
|
30
|
+
typedef typename XprTraits::StorageKind StorageKind;
|
|
31
|
+
typedef typename XprTraits::Index Index;
|
|
32
|
+
typedef typename XprType::Nested Nested;
|
|
33
|
+
typedef typename remove_reference<Nested>::type _Nested;
|
|
34
|
+
static const int NumDimensions = XprTraits::NumDimensions - array_size<Dims>::value;
|
|
35
|
+
static const int Layout = XprTraits::Layout;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
template<typename Dims, typename XprType>
|
|
39
|
+
struct eval<TensorTraceOp<Dims, XprType>, Eigen::Dense>
|
|
40
|
+
{
|
|
41
|
+
typedef const TensorTraceOp<Dims, XprType>& type;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
template<typename Dims, typename XprType>
|
|
45
|
+
struct nested<TensorTraceOp<Dims, XprType>, 1, typename eval<TensorTraceOp<Dims, XprType> >::type>
|
|
46
|
+
{
|
|
47
|
+
typedef TensorTraceOp<Dims, XprType> type;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
} // end namespace internal
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
template<typename Dims, typename XprType>
|
|
54
|
+
class TensorTraceOp : public TensorBase<TensorTraceOp<Dims, XprType> >
|
|
55
|
+
{
|
|
56
|
+
public:
|
|
57
|
+
typedef typename Eigen::internal::traits<TensorTraceOp>::Scalar Scalar;
|
|
58
|
+
typedef typename Eigen::NumTraits<Scalar>::Real RealScalar;
|
|
59
|
+
typedef typename XprType::CoeffReturnType CoeffReturnType;
|
|
60
|
+
typedef typename Eigen::internal::nested<TensorTraceOp>::type Nested;
|
|
61
|
+
typedef typename Eigen::internal::traits<TensorTraceOp>::StorageKind StorageKind;
|
|
62
|
+
typedef typename Eigen::internal::traits<TensorTraceOp>::Index Index;
|
|
63
|
+
|
|
64
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorTraceOp(const XprType& expr, const Dims& dims)
|
|
65
|
+
: m_xpr(expr), m_dims(dims) {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
|
69
|
+
const Dims& dims() const { return m_dims; }
|
|
70
|
+
|
|
71
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
|
72
|
+
const typename internal::remove_all<typename XprType::Nested>::type& expression() const { return m_xpr; }
|
|
73
|
+
|
|
74
|
+
protected:
|
|
75
|
+
typename XprType::Nested m_xpr;
|
|
76
|
+
const Dims m_dims;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// Eval as rvalue
|
|
81
|
+
template<typename Dims, typename ArgType, typename Device>
|
|
82
|
+
struct TensorEvaluator<const TensorTraceOp<Dims, ArgType>, Device>
|
|
83
|
+
{
|
|
84
|
+
typedef TensorTraceOp<Dims, ArgType> XprType;
|
|
85
|
+
static const int NumInputDims = internal::array_size<typename TensorEvaluator<ArgType, Device>::Dimensions>::value;
|
|
86
|
+
static const int NumReducedDims = internal::array_size<Dims>::value;
|
|
87
|
+
static const int NumOutputDims = NumInputDims - NumReducedDims;
|
|
88
|
+
typedef typename XprType::Index Index;
|
|
89
|
+
typedef DSizes<Index, NumOutputDims> Dimensions;
|
|
90
|
+
typedef typename XprType::Scalar Scalar;
|
|
91
|
+
typedef typename XprType::CoeffReturnType CoeffReturnType;
|
|
92
|
+
typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
|
|
93
|
+
static const int PacketSize = internal::unpacket_traits<PacketReturnType>::size;
|
|
94
|
+
typedef StorageMemory<CoeffReturnType, Device> Storage;
|
|
95
|
+
typedef typename Storage::Type EvaluatorPointerType;
|
|
96
|
+
|
|
97
|
+
enum {
|
|
98
|
+
IsAligned = false,
|
|
99
|
+
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess,
|
|
100
|
+
BlockAccess = false,
|
|
101
|
+
PreferBlockAccess = TensorEvaluator<ArgType, Device>::PreferBlockAccess,
|
|
102
|
+
Layout = TensorEvaluator<ArgType, Device>::Layout,
|
|
103
|
+
CoordAccess = false,
|
|
104
|
+
RawAccess = false
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
//===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
|
|
108
|
+
typedef internal::TensorBlockNotImplemented TensorBlock;
|
|
109
|
+
//===--------------------------------------------------------------------===//
|
|
110
|
+
|
|
111
|
+
EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)
|
|
112
|
+
: m_impl(op.expression(), device), m_traceDim(1), m_device(device)
|
|
113
|
+
{
|
|
114
|
+
|
|
115
|
+
EIGEN_STATIC_ASSERT((NumOutputDims >= 0), YOU_MADE_A_PROGRAMMING_MISTAKE);
|
|
116
|
+
EIGEN_STATIC_ASSERT((NumReducedDims >= 2) || ((NumReducedDims == 0) && (NumInputDims == 0)), YOU_MADE_A_PROGRAMMING_MISTAKE);
|
|
117
|
+
|
|
118
|
+
for (int i = 0; i < NumInputDims; ++i) {
|
|
119
|
+
m_reduced[i] = false;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
const Dims& op_dims = op.dims();
|
|
123
|
+
for (int i = 0; i < NumReducedDims; ++i) {
|
|
124
|
+
eigen_assert(op_dims[i] >= 0);
|
|
125
|
+
eigen_assert(op_dims[i] < NumInputDims);
|
|
126
|
+
m_reduced[op_dims[i]] = true;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// All the dimensions should be distinct to compute the trace
|
|
130
|
+
int num_distinct_reduce_dims = 0;
|
|
131
|
+
for (int i = 0; i < NumInputDims; ++i) {
|
|
132
|
+
if (m_reduced[i]) {
|
|
133
|
+
++num_distinct_reduce_dims;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
eigen_assert(num_distinct_reduce_dims == NumReducedDims);
|
|
138
|
+
|
|
139
|
+
// Compute the dimensions of the result.
|
|
140
|
+
const typename TensorEvaluator<ArgType, Device>::Dimensions& input_dims = m_impl.dimensions();
|
|
141
|
+
|
|
142
|
+
int output_index = 0;
|
|
143
|
+
int reduced_index = 0;
|
|
144
|
+
for (int i = 0; i < NumInputDims; ++i) {
|
|
145
|
+
if (m_reduced[i]) {
|
|
146
|
+
m_reducedDims[reduced_index] = input_dims[i];
|
|
147
|
+
if (reduced_index > 0) {
|
|
148
|
+
// All the trace dimensions must have the same size
|
|
149
|
+
eigen_assert(m_reducedDims[0] == m_reducedDims[reduced_index]);
|
|
150
|
+
}
|
|
151
|
+
++reduced_index;
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
m_dimensions[output_index] = input_dims[i];
|
|
155
|
+
++output_index;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (NumReducedDims != 0) {
|
|
160
|
+
m_traceDim = m_reducedDims[0];
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// Compute the output strides
|
|
164
|
+
if (NumOutputDims > 0) {
|
|
165
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
166
|
+
m_outputStrides[0] = 1;
|
|
167
|
+
for (int i = 1; i < NumOutputDims; ++i) {
|
|
168
|
+
m_outputStrides[i] = m_outputStrides[i - 1] * m_dimensions[i - 1];
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
m_outputStrides.back() = 1;
|
|
173
|
+
for (int i = NumOutputDims - 2; i >= 0; --i) {
|
|
174
|
+
m_outputStrides[i] = m_outputStrides[i + 1] * m_dimensions[i + 1];
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Compute the input strides
|
|
180
|
+
if (NumInputDims > 0) {
|
|
181
|
+
array<Index, NumInputDims> input_strides;
|
|
182
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
183
|
+
input_strides[0] = 1;
|
|
184
|
+
for (int i = 1; i < NumInputDims; ++i) {
|
|
185
|
+
input_strides[i] = input_strides[i - 1] * input_dims[i - 1];
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
input_strides.back() = 1;
|
|
190
|
+
for (int i = NumInputDims - 2; i >= 0; --i) {
|
|
191
|
+
input_strides[i] = input_strides[i + 1] * input_dims[i + 1];
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
output_index = 0;
|
|
196
|
+
reduced_index = 0;
|
|
197
|
+
for (int i = 0; i < NumInputDims; ++i) {
|
|
198
|
+
if(m_reduced[i]) {
|
|
199
|
+
m_reducedStrides[reduced_index] = input_strides[i];
|
|
200
|
+
++reduced_index;
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
m_preservedStrides[output_index] = input_strides[i];
|
|
204
|
+
++output_index;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const {
|
|
211
|
+
return m_dimensions;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType /*data*/) {
|
|
215
|
+
m_impl.evalSubExprsIfNeeded(NULL);
|
|
216
|
+
return true;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
EIGEN_STRONG_INLINE void cleanup() {
|
|
220
|
+
m_impl.cleanup();
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
|
|
224
|
+
{
|
|
225
|
+
// Initialize the result
|
|
226
|
+
CoeffReturnType result = internal::cast<int, CoeffReturnType>(0);
|
|
227
|
+
Index index_stride = 0;
|
|
228
|
+
for (int i = 0; i < NumReducedDims; ++i) {
|
|
229
|
+
index_stride += m_reducedStrides[i];
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// If trace is requested along all dimensions, starting index would be 0
|
|
233
|
+
Index cur_index = 0;
|
|
234
|
+
if (NumOutputDims != 0)
|
|
235
|
+
cur_index = firstInput(index);
|
|
236
|
+
for (Index i = 0; i < m_traceDim; ++i) {
|
|
237
|
+
result += m_impl.coeff(cur_index);
|
|
238
|
+
cur_index += index_stride;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
return result;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
template<int LoadMode>
|
|
245
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const {
|
|
246
|
+
|
|
247
|
+
EIGEN_STATIC_ASSERT((PacketSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE);
|
|
248
|
+
eigen_assert(index + PacketSize - 1 < dimensions().TotalSize());
|
|
249
|
+
|
|
250
|
+
EIGEN_ALIGN_MAX typename internal::remove_const<CoeffReturnType>::type values[PacketSize];
|
|
251
|
+
for (int i = 0; i < PacketSize; ++i) {
|
|
252
|
+
values[i] = coeff(index + i);
|
|
253
|
+
}
|
|
254
|
+
PacketReturnType result = internal::ploadt<PacketReturnType, LoadMode>(values);
|
|
255
|
+
return result;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
#ifdef EIGEN_USE_SYCL
|
|
259
|
+
// binding placeholder accessors to a command group handler for SYCL
|
|
260
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
|
|
261
|
+
m_impl.bind(cgh);
|
|
262
|
+
}
|
|
263
|
+
#endif
|
|
264
|
+
|
|
265
|
+
protected:
|
|
266
|
+
// Given the output index, finds the first index in the input tensor used to compute the trace
|
|
267
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index firstInput(Index index) const {
|
|
268
|
+
Index startInput = 0;
|
|
269
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
270
|
+
for (int i = NumOutputDims - 1; i > 0; --i) {
|
|
271
|
+
const Index idx = index / m_outputStrides[i];
|
|
272
|
+
startInput += idx * m_preservedStrides[i];
|
|
273
|
+
index -= idx * m_outputStrides[i];
|
|
274
|
+
}
|
|
275
|
+
startInput += index * m_preservedStrides[0];
|
|
276
|
+
}
|
|
277
|
+
else {
|
|
278
|
+
for (int i = 0; i < NumOutputDims - 1; ++i) {
|
|
279
|
+
const Index idx = index / m_outputStrides[i];
|
|
280
|
+
startInput += idx * m_preservedStrides[i];
|
|
281
|
+
index -= idx * m_outputStrides[i];
|
|
282
|
+
}
|
|
283
|
+
startInput += index * m_preservedStrides[NumOutputDims - 1];
|
|
284
|
+
}
|
|
285
|
+
return startInput;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
Dimensions m_dimensions;
|
|
289
|
+
TensorEvaluator<ArgType, Device> m_impl;
|
|
290
|
+
// Initialize the size of the trace dimension
|
|
291
|
+
Index m_traceDim;
|
|
292
|
+
const Device EIGEN_DEVICE_REF m_device;
|
|
293
|
+
array<bool, NumInputDims> m_reduced;
|
|
294
|
+
array<Index, NumReducedDims> m_reducedDims;
|
|
295
|
+
array<Index, NumOutputDims> m_outputStrides;
|
|
296
|
+
array<Index, NumReducedDims> m_reducedStrides;
|
|
297
|
+
array<Index, NumOutputDims> m_preservedStrides;
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
} // End namespace Eigen
|
|
302
|
+
|
|
303
|
+
#endif // EIGEN_CXX11_TENSOR_TENSOR_TRACE_H
|