pylibsparseir 0.1.0__cp312-cp312-macosx_15_0_arm64.whl → 0.5.2__cp312-cp312-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 +160 -45
- pylibsparseir/libsparseir.dylib +0 -0
- pylibsparseir-0.5.2.dist-info/METADATA +215 -0
- pylibsparseir-0.5.2.dist-info/RECORD +545 -0
- {pylibsparseir-0.1.0.dist-info → pylibsparseir-0.5.2.dist-info}/WHEEL +1 -1
- pylibsparseir-0.5.2.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,603 @@
|
|
|
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_IMAGE_PATCH_H
|
|
11
|
+
#define EIGEN_CXX11_TENSOR_TENSOR_IMAGE_PATCH_H
|
|
12
|
+
|
|
13
|
+
namespace Eigen {
|
|
14
|
+
|
|
15
|
+
/** \class TensorImagePatch
|
|
16
|
+
* \ingroup CXX11_Tensor_Module
|
|
17
|
+
*
|
|
18
|
+
* \brief Patch extraction specialized for image processing.
|
|
19
|
+
* This assumes that the input has a least 3 dimensions ordered as follow:
|
|
20
|
+
* 1st dimension: channels (of size d)
|
|
21
|
+
* 2nd dimension: rows (of size r)
|
|
22
|
+
* 3rd dimension: columns (of size c)
|
|
23
|
+
* There can be additional dimensions such as time (for video) or batch (for
|
|
24
|
+
* bulk processing after the first 3.
|
|
25
|
+
* Calling the image patch code with patch_rows and patch_cols is equivalent
|
|
26
|
+
* to calling the regular patch extraction code with parameters d, patch_rows,
|
|
27
|
+
* patch_cols, and 1 for all the additional dimensions.
|
|
28
|
+
*/
|
|
29
|
+
namespace internal {
|
|
30
|
+
|
|
31
|
+
template<DenseIndex Rows, DenseIndex Cols, typename XprType>
|
|
32
|
+
struct traits<TensorImagePatchOp<Rows, Cols, XprType> > : public traits<XprType>
|
|
33
|
+
{
|
|
34
|
+
typedef typename internal::remove_const<typename XprType::Scalar>::type Scalar;
|
|
35
|
+
typedef traits<XprType> XprTraits;
|
|
36
|
+
typedef typename XprTraits::StorageKind StorageKind;
|
|
37
|
+
typedef typename XprTraits::Index Index;
|
|
38
|
+
typedef typename XprType::Nested Nested;
|
|
39
|
+
typedef typename remove_reference<Nested>::type _Nested;
|
|
40
|
+
static const int NumDimensions = XprTraits::NumDimensions + 1;
|
|
41
|
+
static const int Layout = XprTraits::Layout;
|
|
42
|
+
typedef typename XprTraits::PointerType PointerType;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
template<DenseIndex Rows, DenseIndex Cols, typename XprType>
|
|
46
|
+
struct eval<TensorImagePatchOp<Rows, Cols, XprType>, Eigen::Dense>
|
|
47
|
+
{
|
|
48
|
+
typedef const TensorImagePatchOp<Rows, Cols, XprType>& type;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
template<DenseIndex Rows, DenseIndex Cols, typename XprType>
|
|
52
|
+
struct nested<TensorImagePatchOp<Rows, Cols, XprType>, 1, typename eval<TensorImagePatchOp<Rows, Cols, XprType> >::type>
|
|
53
|
+
{
|
|
54
|
+
typedef TensorImagePatchOp<Rows, Cols, XprType> type;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
template <typename Self, bool Vectorizable>
|
|
58
|
+
struct ImagePatchCopyOp {
|
|
59
|
+
typedef typename Self::Index Index;
|
|
60
|
+
typedef typename Self::Scalar Scalar;
|
|
61
|
+
typedef typename Self::Impl Impl;
|
|
62
|
+
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run(
|
|
63
|
+
const Self& self, const Index num_coeff_to_copy, const Index dst_index,
|
|
64
|
+
Scalar* dst_data, const Index src_index) {
|
|
65
|
+
const Impl& impl = self.impl();
|
|
66
|
+
for (Index i = 0; i < num_coeff_to_copy; ++i) {
|
|
67
|
+
dst_data[dst_index + i] = impl.coeff(src_index + i);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
template <typename Self>
|
|
73
|
+
struct ImagePatchCopyOp<Self, true> {
|
|
74
|
+
typedef typename Self::Index Index;
|
|
75
|
+
typedef typename Self::Scalar Scalar;
|
|
76
|
+
typedef typename Self::Impl Impl;
|
|
77
|
+
typedef typename packet_traits<Scalar>::type Packet;
|
|
78
|
+
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run(
|
|
79
|
+
const Self& self, const Index num_coeff_to_copy, const Index dst_index,
|
|
80
|
+
Scalar* dst_data, const Index src_index) {
|
|
81
|
+
const Impl& impl = self.impl();
|
|
82
|
+
const Index packet_size = internal::unpacket_traits<Packet>::size;
|
|
83
|
+
const Index vectorized_size =
|
|
84
|
+
(num_coeff_to_copy / packet_size) * packet_size;
|
|
85
|
+
for (Index i = 0; i < vectorized_size; i += packet_size) {
|
|
86
|
+
Packet p = impl.template packet<Unaligned>(src_index + i);
|
|
87
|
+
internal::pstoret<Scalar, Packet, Unaligned>(dst_data + dst_index + i, p);
|
|
88
|
+
}
|
|
89
|
+
for (Index i = vectorized_size; i < num_coeff_to_copy; ++i) {
|
|
90
|
+
dst_data[dst_index + i] = impl.coeff(src_index + i);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
template <typename Self>
|
|
96
|
+
struct ImagePatchPaddingOp {
|
|
97
|
+
typedef typename Self::Index Index;
|
|
98
|
+
typedef typename Self::Scalar Scalar;
|
|
99
|
+
typedef typename packet_traits<Scalar>::type Packet;
|
|
100
|
+
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run(
|
|
101
|
+
const Index num_coeff_to_pad, const Scalar padding_value,
|
|
102
|
+
const Index dst_index, Scalar* dst_data) {
|
|
103
|
+
const Index packet_size = internal::unpacket_traits<Packet>::size;
|
|
104
|
+
const Packet padded_packet = internal::pset1<Packet>(padding_value);
|
|
105
|
+
const Index vectorized_size =
|
|
106
|
+
(num_coeff_to_pad / packet_size) * packet_size;
|
|
107
|
+
for (Index i = 0; i < vectorized_size; i += packet_size) {
|
|
108
|
+
internal::pstoret<Scalar, Packet, Unaligned>(dst_data + dst_index + i,
|
|
109
|
+
padded_packet);
|
|
110
|
+
}
|
|
111
|
+
for (Index i = vectorized_size; i < num_coeff_to_pad; ++i) {
|
|
112
|
+
dst_data[dst_index + i] = padding_value;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
} // end namespace internal
|
|
118
|
+
|
|
119
|
+
template<DenseIndex Rows, DenseIndex Cols, typename XprType>
|
|
120
|
+
class TensorImagePatchOp : public TensorBase<TensorImagePatchOp<Rows, Cols, XprType>, ReadOnlyAccessors>
|
|
121
|
+
{
|
|
122
|
+
public:
|
|
123
|
+
typedef typename Eigen::internal::traits<TensorImagePatchOp>::Scalar Scalar;
|
|
124
|
+
typedef typename Eigen::NumTraits<Scalar>::Real RealScalar;
|
|
125
|
+
typedef typename XprType::CoeffReturnType CoeffReturnType;
|
|
126
|
+
typedef typename Eigen::internal::nested<TensorImagePatchOp>::type Nested;
|
|
127
|
+
typedef typename Eigen::internal::traits<TensorImagePatchOp>::StorageKind StorageKind;
|
|
128
|
+
typedef typename Eigen::internal::traits<TensorImagePatchOp>::Index Index;
|
|
129
|
+
|
|
130
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorImagePatchOp(const XprType& expr, DenseIndex patch_rows, DenseIndex patch_cols,
|
|
131
|
+
DenseIndex row_strides, DenseIndex col_strides,
|
|
132
|
+
DenseIndex in_row_strides, DenseIndex in_col_strides,
|
|
133
|
+
DenseIndex row_inflate_strides, DenseIndex col_inflate_strides,
|
|
134
|
+
PaddingType padding_type, Scalar padding_value)
|
|
135
|
+
: m_xpr(expr), m_patch_rows(patch_rows), m_patch_cols(patch_cols),
|
|
136
|
+
m_row_strides(row_strides), m_col_strides(col_strides),
|
|
137
|
+
m_in_row_strides(in_row_strides), m_in_col_strides(in_col_strides),
|
|
138
|
+
m_row_inflate_strides(row_inflate_strides), m_col_inflate_strides(col_inflate_strides),
|
|
139
|
+
m_padding_explicit(false), m_padding_top(0), m_padding_bottom(0), m_padding_left(0), m_padding_right(0),
|
|
140
|
+
m_padding_type(padding_type), m_padding_value(padding_value) {}
|
|
141
|
+
|
|
142
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorImagePatchOp(const XprType& expr, DenseIndex patch_rows, DenseIndex patch_cols,
|
|
143
|
+
DenseIndex row_strides, DenseIndex col_strides,
|
|
144
|
+
DenseIndex in_row_strides, DenseIndex in_col_strides,
|
|
145
|
+
DenseIndex row_inflate_strides, DenseIndex col_inflate_strides,
|
|
146
|
+
DenseIndex padding_top, DenseIndex padding_bottom,
|
|
147
|
+
DenseIndex padding_left, DenseIndex padding_right,
|
|
148
|
+
Scalar padding_value)
|
|
149
|
+
: m_xpr(expr), m_patch_rows(patch_rows), m_patch_cols(patch_cols),
|
|
150
|
+
m_row_strides(row_strides), m_col_strides(col_strides),
|
|
151
|
+
m_in_row_strides(in_row_strides), m_in_col_strides(in_col_strides),
|
|
152
|
+
m_row_inflate_strides(row_inflate_strides), m_col_inflate_strides(col_inflate_strides),
|
|
153
|
+
m_padding_explicit(true), m_padding_top(padding_top), m_padding_bottom(padding_bottom),
|
|
154
|
+
m_padding_left(padding_left), m_padding_right(padding_right),
|
|
155
|
+
m_padding_type(PADDING_VALID), m_padding_value(padding_value) {}
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
EIGEN_DEVICE_FUNC
|
|
159
|
+
DenseIndex patch_rows() const { return m_patch_rows; }
|
|
160
|
+
EIGEN_DEVICE_FUNC
|
|
161
|
+
DenseIndex patch_cols() const { return m_patch_cols; }
|
|
162
|
+
EIGEN_DEVICE_FUNC
|
|
163
|
+
DenseIndex row_strides() const { return m_row_strides; }
|
|
164
|
+
EIGEN_DEVICE_FUNC
|
|
165
|
+
DenseIndex col_strides() const { return m_col_strides; }
|
|
166
|
+
EIGEN_DEVICE_FUNC
|
|
167
|
+
DenseIndex in_row_strides() const { return m_in_row_strides; }
|
|
168
|
+
EIGEN_DEVICE_FUNC
|
|
169
|
+
DenseIndex in_col_strides() const { return m_in_col_strides; }
|
|
170
|
+
EIGEN_DEVICE_FUNC
|
|
171
|
+
DenseIndex row_inflate_strides() const { return m_row_inflate_strides; }
|
|
172
|
+
EIGEN_DEVICE_FUNC
|
|
173
|
+
DenseIndex col_inflate_strides() const { return m_col_inflate_strides; }
|
|
174
|
+
EIGEN_DEVICE_FUNC
|
|
175
|
+
bool padding_explicit() const { return m_padding_explicit; }
|
|
176
|
+
EIGEN_DEVICE_FUNC
|
|
177
|
+
DenseIndex padding_top() const { return m_padding_top; }
|
|
178
|
+
EIGEN_DEVICE_FUNC
|
|
179
|
+
DenseIndex padding_bottom() const { return m_padding_bottom; }
|
|
180
|
+
EIGEN_DEVICE_FUNC
|
|
181
|
+
DenseIndex padding_left() const { return m_padding_left; }
|
|
182
|
+
EIGEN_DEVICE_FUNC
|
|
183
|
+
DenseIndex padding_right() const { return m_padding_right; }
|
|
184
|
+
EIGEN_DEVICE_FUNC
|
|
185
|
+
PaddingType padding_type() const { return m_padding_type; }
|
|
186
|
+
EIGEN_DEVICE_FUNC
|
|
187
|
+
Scalar padding_value() const { return m_padding_value; }
|
|
188
|
+
|
|
189
|
+
EIGEN_DEVICE_FUNC
|
|
190
|
+
const typename internal::remove_all<typename XprType::Nested>::type&
|
|
191
|
+
expression() const { return m_xpr; }
|
|
192
|
+
|
|
193
|
+
protected:
|
|
194
|
+
typename XprType::Nested m_xpr;
|
|
195
|
+
const DenseIndex m_patch_rows;
|
|
196
|
+
const DenseIndex m_patch_cols;
|
|
197
|
+
const DenseIndex m_row_strides;
|
|
198
|
+
const DenseIndex m_col_strides;
|
|
199
|
+
const DenseIndex m_in_row_strides;
|
|
200
|
+
const DenseIndex m_in_col_strides;
|
|
201
|
+
const DenseIndex m_row_inflate_strides;
|
|
202
|
+
const DenseIndex m_col_inflate_strides;
|
|
203
|
+
const bool m_padding_explicit;
|
|
204
|
+
const DenseIndex m_padding_top;
|
|
205
|
+
const DenseIndex m_padding_bottom;
|
|
206
|
+
const DenseIndex m_padding_left;
|
|
207
|
+
const DenseIndex m_padding_right;
|
|
208
|
+
const PaddingType m_padding_type;
|
|
209
|
+
const Scalar m_padding_value;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
// Eval as rvalue
|
|
213
|
+
template<DenseIndex Rows, DenseIndex Cols, typename ArgType, typename Device>
|
|
214
|
+
struct TensorEvaluator<const TensorImagePatchOp<Rows, Cols, ArgType>, Device>
|
|
215
|
+
{
|
|
216
|
+
typedef TensorImagePatchOp<Rows, Cols, ArgType> XprType;
|
|
217
|
+
typedef typename XprType::Index Index;
|
|
218
|
+
static const int NumInputDims = internal::array_size<typename TensorEvaluator<ArgType, Device>::Dimensions>::value;
|
|
219
|
+
static const int NumDims = NumInputDims + 1;
|
|
220
|
+
typedef DSizes<Index, NumDims> Dimensions;
|
|
221
|
+
typedef typename internal::remove_const<typename XprType::Scalar>::type Scalar;
|
|
222
|
+
typedef TensorEvaluator<const TensorImagePatchOp<Rows, Cols, ArgType>,
|
|
223
|
+
Device> Self;
|
|
224
|
+
typedef TensorEvaluator<ArgType, Device> Impl;
|
|
225
|
+
typedef typename XprType::CoeffReturnType CoeffReturnType;
|
|
226
|
+
typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
|
|
227
|
+
static const int PacketSize = PacketType<CoeffReturnType, Device>::size;
|
|
228
|
+
typedef StorageMemory<CoeffReturnType, Device> Storage;
|
|
229
|
+
typedef typename Storage::Type EvaluatorPointerType;
|
|
230
|
+
|
|
231
|
+
enum {
|
|
232
|
+
IsAligned = false,
|
|
233
|
+
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess,
|
|
234
|
+
BlockAccess = false,
|
|
235
|
+
PreferBlockAccess = true,
|
|
236
|
+
Layout = TensorEvaluator<ArgType, Device>::Layout,
|
|
237
|
+
CoordAccess = false,
|
|
238
|
+
RawAccess = false
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
//===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
|
|
242
|
+
typedef internal::TensorBlockNotImplemented TensorBlock;
|
|
243
|
+
//===--------------------------------------------------------------------===//
|
|
244
|
+
|
|
245
|
+
EIGEN_STRONG_INLINE TensorEvaluator( const XprType& op, const Device& device)
|
|
246
|
+
: m_device(device), m_impl(op.expression(), device)
|
|
247
|
+
{
|
|
248
|
+
EIGEN_STATIC_ASSERT((NumDims >= 4), YOU_MADE_A_PROGRAMMING_MISTAKE);
|
|
249
|
+
|
|
250
|
+
m_paddingValue = op.padding_value();
|
|
251
|
+
|
|
252
|
+
const typename TensorEvaluator<ArgType, Device>::Dimensions& input_dims = m_impl.dimensions();
|
|
253
|
+
|
|
254
|
+
// Caches a few variables.
|
|
255
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
256
|
+
m_inputDepth = input_dims[0];
|
|
257
|
+
m_inputRows = input_dims[1];
|
|
258
|
+
m_inputCols = input_dims[2];
|
|
259
|
+
} else {
|
|
260
|
+
m_inputDepth = input_dims[NumInputDims-1];
|
|
261
|
+
m_inputRows = input_dims[NumInputDims-2];
|
|
262
|
+
m_inputCols = input_dims[NumInputDims-3];
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
m_row_strides = op.row_strides();
|
|
266
|
+
m_col_strides = op.col_strides();
|
|
267
|
+
|
|
268
|
+
// Input strides and effective input/patch size
|
|
269
|
+
m_in_row_strides = op.in_row_strides();
|
|
270
|
+
m_in_col_strides = op.in_col_strides();
|
|
271
|
+
m_row_inflate_strides = op.row_inflate_strides();
|
|
272
|
+
m_col_inflate_strides = op.col_inflate_strides();
|
|
273
|
+
// The "effective" input rows and input cols are the input rows and cols
|
|
274
|
+
// after inflating them with zeros.
|
|
275
|
+
// For examples, a 2x3 matrix with row_inflate_strides and
|
|
276
|
+
// col_inflate_strides of 2 comes from:
|
|
277
|
+
// A B C
|
|
278
|
+
// D E F
|
|
279
|
+
//
|
|
280
|
+
// to a matrix is 3 x 5:
|
|
281
|
+
//
|
|
282
|
+
// A . B . C
|
|
283
|
+
// . . . . .
|
|
284
|
+
// D . E . F
|
|
285
|
+
|
|
286
|
+
m_input_rows_eff = (m_inputRows - 1) * m_row_inflate_strides + 1;
|
|
287
|
+
m_input_cols_eff = (m_inputCols - 1) * m_col_inflate_strides + 1;
|
|
288
|
+
m_patch_rows_eff = op.patch_rows() + (op.patch_rows() - 1) * (m_in_row_strides - 1);
|
|
289
|
+
m_patch_cols_eff = op.patch_cols() + (op.patch_cols() - 1) * (m_in_col_strides - 1);
|
|
290
|
+
|
|
291
|
+
if (op.padding_explicit()) {
|
|
292
|
+
m_outputRows = numext::ceil((m_input_rows_eff + op.padding_top() + op.padding_bottom() - m_patch_rows_eff + 1.f) / static_cast<float>(m_row_strides));
|
|
293
|
+
m_outputCols = numext::ceil((m_input_cols_eff + op.padding_left() + op.padding_right() - m_patch_cols_eff + 1.f) / static_cast<float>(m_col_strides));
|
|
294
|
+
m_rowPaddingTop = op.padding_top();
|
|
295
|
+
m_colPaddingLeft = op.padding_left();
|
|
296
|
+
} else {
|
|
297
|
+
// Computing padding from the type
|
|
298
|
+
switch (op.padding_type()) {
|
|
299
|
+
case PADDING_VALID:
|
|
300
|
+
m_outputRows = numext::ceil((m_input_rows_eff - m_patch_rows_eff + 1.f) / static_cast<float>(m_row_strides));
|
|
301
|
+
m_outputCols = numext::ceil((m_input_cols_eff - m_patch_cols_eff + 1.f) / static_cast<float>(m_col_strides));
|
|
302
|
+
// Calculate the padding
|
|
303
|
+
m_rowPaddingTop = numext::maxi<Index>(0, ((m_outputRows - 1) * m_row_strides + m_patch_rows_eff - m_input_rows_eff) / 2);
|
|
304
|
+
m_colPaddingLeft = numext::maxi<Index>(0, ((m_outputCols - 1) * m_col_strides + m_patch_cols_eff - m_input_cols_eff) / 2);
|
|
305
|
+
break;
|
|
306
|
+
case PADDING_SAME:
|
|
307
|
+
m_outputRows = numext::ceil(m_input_rows_eff / static_cast<float>(m_row_strides));
|
|
308
|
+
m_outputCols = numext::ceil(m_input_cols_eff / static_cast<float>(m_col_strides));
|
|
309
|
+
// Calculate the padding
|
|
310
|
+
m_rowPaddingTop = ((m_outputRows - 1) * m_row_strides + m_patch_rows_eff - m_input_rows_eff) / 2;
|
|
311
|
+
m_colPaddingLeft = ((m_outputCols - 1) * m_col_strides + m_patch_cols_eff - m_input_cols_eff) / 2;
|
|
312
|
+
// The padding size calculation for PADDING_SAME has been updated to
|
|
313
|
+
// be consistent with how TensorFlow extracts its paddings.
|
|
314
|
+
m_rowPaddingTop = numext::maxi<Index>(0, m_rowPaddingTop);
|
|
315
|
+
m_colPaddingLeft = numext::maxi<Index>(0, m_colPaddingLeft);
|
|
316
|
+
break;
|
|
317
|
+
default:
|
|
318
|
+
eigen_assert(false && "unexpected padding");
|
|
319
|
+
m_outputCols=0; // silence the uninitialised warning;
|
|
320
|
+
m_outputRows=0; //// silence the uninitialised warning;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
eigen_assert(m_outputRows > 0);
|
|
324
|
+
eigen_assert(m_outputCols > 0);
|
|
325
|
+
|
|
326
|
+
// Dimensions for result of extraction.
|
|
327
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
328
|
+
// ColMajor
|
|
329
|
+
// 0: depth
|
|
330
|
+
// 1: patch_rows
|
|
331
|
+
// 2: patch_cols
|
|
332
|
+
// 3: number of patches
|
|
333
|
+
// 4 and beyond: anything else (such as batch).
|
|
334
|
+
m_dimensions[0] = input_dims[0];
|
|
335
|
+
m_dimensions[1] = op.patch_rows();
|
|
336
|
+
m_dimensions[2] = op.patch_cols();
|
|
337
|
+
m_dimensions[3] = m_outputRows * m_outputCols;
|
|
338
|
+
for (int i = 4; i < NumDims; ++i) {
|
|
339
|
+
m_dimensions[i] = input_dims[i-1];
|
|
340
|
+
}
|
|
341
|
+
} else {
|
|
342
|
+
// RowMajor
|
|
343
|
+
// NumDims-1: depth
|
|
344
|
+
// NumDims-2: patch_rows
|
|
345
|
+
// NumDims-3: patch_cols
|
|
346
|
+
// NumDims-4: number of patches
|
|
347
|
+
// NumDims-5 and beyond: anything else (such as batch).
|
|
348
|
+
m_dimensions[NumDims-1] = input_dims[NumInputDims-1];
|
|
349
|
+
m_dimensions[NumDims-2] = op.patch_rows();
|
|
350
|
+
m_dimensions[NumDims-3] = op.patch_cols();
|
|
351
|
+
m_dimensions[NumDims-4] = m_outputRows * m_outputCols;
|
|
352
|
+
for (int i = NumDims-5; i >= 0; --i) {
|
|
353
|
+
m_dimensions[i] = input_dims[i];
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// Strides for moving the patch in various dimensions.
|
|
358
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
359
|
+
m_colStride = m_dimensions[1];
|
|
360
|
+
m_patchStride = m_colStride * m_dimensions[2] * m_dimensions[0];
|
|
361
|
+
m_otherStride = m_patchStride * m_dimensions[3];
|
|
362
|
+
} else {
|
|
363
|
+
m_colStride = m_dimensions[NumDims-2];
|
|
364
|
+
m_patchStride = m_colStride * m_dimensions[NumDims-3] * m_dimensions[NumDims-1];
|
|
365
|
+
m_otherStride = m_patchStride * m_dimensions[NumDims-4];
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// Strides for navigating through the input tensor.
|
|
369
|
+
m_rowInputStride = m_inputDepth;
|
|
370
|
+
m_colInputStride = m_inputDepth * m_inputRows;
|
|
371
|
+
m_patchInputStride = m_inputDepth * m_inputRows * m_inputCols;
|
|
372
|
+
|
|
373
|
+
// Fast representations of different variables.
|
|
374
|
+
m_fastOtherStride = internal::TensorIntDivisor<Index>(m_otherStride);
|
|
375
|
+
m_fastPatchStride = internal::TensorIntDivisor<Index>(m_patchStride);
|
|
376
|
+
m_fastColStride = internal::TensorIntDivisor<Index>(m_colStride);
|
|
377
|
+
m_fastInflateRowStride = internal::TensorIntDivisor<Index>(m_row_inflate_strides);
|
|
378
|
+
m_fastInflateColStride = internal::TensorIntDivisor<Index>(m_col_inflate_strides);
|
|
379
|
+
m_fastInputColsEff = internal::TensorIntDivisor<Index>(m_input_cols_eff);
|
|
380
|
+
|
|
381
|
+
// Number of patches in the width dimension.
|
|
382
|
+
m_fastOutputRows = internal::TensorIntDivisor<Index>(m_outputRows);
|
|
383
|
+
if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
|
|
384
|
+
m_fastOutputDepth = internal::TensorIntDivisor<Index>(m_dimensions[0]);
|
|
385
|
+
} else {
|
|
386
|
+
m_fastOutputDepth = internal::TensorIntDivisor<Index>(m_dimensions[NumDims-1]);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dimensions; }
|
|
391
|
+
|
|
392
|
+
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType /*data*/) {
|
|
393
|
+
m_impl.evalSubExprsIfNeeded(NULL);
|
|
394
|
+
return true;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
#ifdef EIGEN_USE_THREADS
|
|
398
|
+
template <typename EvalSubExprsCallback>
|
|
399
|
+
EIGEN_STRONG_INLINE void evalSubExprsIfNeededAsync(
|
|
400
|
+
EvaluatorPointerType, EvalSubExprsCallback done) {
|
|
401
|
+
m_impl.evalSubExprsIfNeededAsync(nullptr, [done](bool) { done(true); });
|
|
402
|
+
}
|
|
403
|
+
#endif // EIGEN_USE_THREADS
|
|
404
|
+
|
|
405
|
+
EIGEN_STRONG_INLINE void cleanup() {
|
|
406
|
+
m_impl.cleanup();
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
|
|
410
|
+
{
|
|
411
|
+
// Patch index corresponding to the passed in index.
|
|
412
|
+
const Index patchIndex = index / m_fastPatchStride;
|
|
413
|
+
// Find the offset of the element wrt the location of the first element.
|
|
414
|
+
const Index patchOffset = (index - patchIndex * m_patchStride) / m_fastOutputDepth;
|
|
415
|
+
|
|
416
|
+
// Other ways to index this element.
|
|
417
|
+
const Index otherIndex = (NumDims == 4) ? 0 : index / m_fastOtherStride;
|
|
418
|
+
const Index patch2DIndex = (NumDims == 4) ? patchIndex : (index - otherIndex * m_otherStride) / m_fastPatchStride;
|
|
419
|
+
|
|
420
|
+
// Calculate col index in the input original tensor.
|
|
421
|
+
const Index colIndex = patch2DIndex / m_fastOutputRows;
|
|
422
|
+
const Index colOffset = patchOffset / m_fastColStride;
|
|
423
|
+
const Index inputCol = colIndex * m_col_strides + colOffset * m_in_col_strides - m_colPaddingLeft;
|
|
424
|
+
const Index origInputCol = (m_col_inflate_strides == 1) ? inputCol : ((inputCol >= 0) ? (inputCol / m_fastInflateColStride) : 0);
|
|
425
|
+
if (inputCol < 0 || inputCol >= m_input_cols_eff ||
|
|
426
|
+
((m_col_inflate_strides != 1) && (inputCol != origInputCol * m_col_inflate_strides))) {
|
|
427
|
+
return Scalar(m_paddingValue);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
// Calculate row index in the original input tensor.
|
|
431
|
+
const Index rowIndex = patch2DIndex - colIndex * m_outputRows;
|
|
432
|
+
const Index rowOffset = patchOffset - colOffset * m_colStride;
|
|
433
|
+
const Index inputRow = rowIndex * m_row_strides + rowOffset * m_in_row_strides - m_rowPaddingTop;
|
|
434
|
+
const Index origInputRow = (m_row_inflate_strides == 1) ? inputRow : ((inputRow >= 0) ? (inputRow / m_fastInflateRowStride) : 0);
|
|
435
|
+
if (inputRow < 0 || inputRow >= m_input_rows_eff ||
|
|
436
|
+
((m_row_inflate_strides != 1) && (inputRow != origInputRow * m_row_inflate_strides))) {
|
|
437
|
+
return Scalar(m_paddingValue);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
const int depth_index = static_cast<int>(Layout) == static_cast<int>(ColMajor) ? 0 : NumDims - 1;
|
|
441
|
+
const Index depth = index - (index / m_fastOutputDepth) * m_dimensions[depth_index];
|
|
442
|
+
|
|
443
|
+
const Index inputIndex = depth + origInputRow * m_rowInputStride + origInputCol * m_colInputStride + otherIndex * m_patchInputStride;
|
|
444
|
+
return m_impl.coeff(inputIndex);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
template<int LoadMode>
|
|
448
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
|
|
449
|
+
{
|
|
450
|
+
EIGEN_STATIC_ASSERT((PacketSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE)
|
|
451
|
+
eigen_assert(index+PacketSize-1 < dimensions().TotalSize());
|
|
452
|
+
|
|
453
|
+
if (m_in_row_strides != 1 || m_in_col_strides != 1 || m_row_inflate_strides != 1 || m_col_inflate_strides != 1) {
|
|
454
|
+
return packetWithPossibleZero(index);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
const Index indices[2] = {index, index + PacketSize - 1};
|
|
458
|
+
const Index patchIndex = indices[0] / m_fastPatchStride;
|
|
459
|
+
if (patchIndex != indices[1] / m_fastPatchStride) {
|
|
460
|
+
return packetWithPossibleZero(index);
|
|
461
|
+
}
|
|
462
|
+
const Index otherIndex = (NumDims == 4) ? 0 : indices[0] / m_fastOtherStride;
|
|
463
|
+
eigen_assert(otherIndex == indices[1] / m_fastOtherStride);
|
|
464
|
+
|
|
465
|
+
// Find the offset of the element wrt the location of the first element.
|
|
466
|
+
const Index patchOffsets[2] = {(indices[0] - patchIndex * m_patchStride) / m_fastOutputDepth,
|
|
467
|
+
(indices[1] - patchIndex * m_patchStride) / m_fastOutputDepth};
|
|
468
|
+
|
|
469
|
+
const Index patch2DIndex = (NumDims == 4) ? patchIndex : (indices[0] - otherIndex * m_otherStride) / m_fastPatchStride;
|
|
470
|
+
eigen_assert(patch2DIndex == (indices[1] - otherIndex * m_otherStride) / m_fastPatchStride);
|
|
471
|
+
|
|
472
|
+
const Index colIndex = patch2DIndex / m_fastOutputRows;
|
|
473
|
+
const Index colOffsets[2] = {patchOffsets[0] / m_fastColStride, patchOffsets[1] / m_fastColStride};
|
|
474
|
+
|
|
475
|
+
// Calculate col indices in the original input tensor.
|
|
476
|
+
const Index inputCols[2] = {colIndex * m_col_strides + colOffsets[0] -
|
|
477
|
+
m_colPaddingLeft, colIndex * m_col_strides + colOffsets[1] - m_colPaddingLeft};
|
|
478
|
+
if (inputCols[1] < 0 || inputCols[0] >= m_inputCols) {
|
|
479
|
+
return internal::pset1<PacketReturnType>(Scalar(m_paddingValue));
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
if (inputCols[0] == inputCols[1]) {
|
|
483
|
+
const Index rowIndex = patch2DIndex - colIndex * m_outputRows;
|
|
484
|
+
const Index rowOffsets[2] = {patchOffsets[0] - colOffsets[0]*m_colStride, patchOffsets[1] - colOffsets[1]*m_colStride};
|
|
485
|
+
eigen_assert(rowOffsets[0] <= rowOffsets[1]);
|
|
486
|
+
// Calculate col indices in the original input tensor.
|
|
487
|
+
const Index inputRows[2] = {rowIndex * m_row_strides + rowOffsets[0] -
|
|
488
|
+
m_rowPaddingTop, rowIndex * m_row_strides + rowOffsets[1] - m_rowPaddingTop};
|
|
489
|
+
|
|
490
|
+
if (inputRows[1] < 0 || inputRows[0] >= m_inputRows) {
|
|
491
|
+
return internal::pset1<PacketReturnType>(Scalar(m_paddingValue));
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
if (inputRows[0] >= 0 && inputRows[1] < m_inputRows) {
|
|
495
|
+
// no padding
|
|
496
|
+
const int depth_index = static_cast<int>(Layout) == static_cast<int>(ColMajor) ? 0 : NumDims - 1;
|
|
497
|
+
const Index depth = index - (index / m_fastOutputDepth) * m_dimensions[depth_index];
|
|
498
|
+
const Index inputIndex = depth + inputRows[0] * m_rowInputStride + inputCols[0] * m_colInputStride + otherIndex * m_patchInputStride;
|
|
499
|
+
return m_impl.template packet<Unaligned>(inputIndex);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
return packetWithPossibleZero(index);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
EIGEN_DEVICE_FUNC EvaluatorPointerType data() const { return NULL; }
|
|
507
|
+
|
|
508
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorEvaluator<ArgType, Device>& impl() const { return m_impl; }
|
|
509
|
+
|
|
510
|
+
#ifdef EIGEN_USE_SYCL
|
|
511
|
+
// binding placeholder accessors to a command group handler for SYCL
|
|
512
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
|
|
513
|
+
m_impl.bind(cgh);
|
|
514
|
+
}
|
|
515
|
+
#endif
|
|
516
|
+
|
|
517
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rowPaddingTop() const { return m_rowPaddingTop; }
|
|
518
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index colPaddingLeft() const { return m_colPaddingLeft; }
|
|
519
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index outputRows() const { return m_outputRows; }
|
|
520
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index outputCols() const { return m_outputCols; }
|
|
521
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userRowStride() const { return m_row_strides; }
|
|
522
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userColStride() const { return m_col_strides; }
|
|
523
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userInRowStride() const { return m_in_row_strides; }
|
|
524
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userInColStride() const { return m_in_col_strides; }
|
|
525
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rowInflateStride() const { return m_row_inflate_strides; }
|
|
526
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index colInflateStride() const { return m_col_inflate_strides; }
|
|
527
|
+
|
|
528
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost
|
|
529
|
+
costPerCoeff(bool vectorized) const {
|
|
530
|
+
// We conservatively estimate the cost for the code path where the computed
|
|
531
|
+
// index is inside the original image and
|
|
532
|
+
// TensorEvaluator<ArgType, Device>::CoordAccess is false.
|
|
533
|
+
const double compute_cost = 3 * TensorOpCost::DivCost<Index>() +
|
|
534
|
+
6 * TensorOpCost::MulCost<Index>() +
|
|
535
|
+
8 * TensorOpCost::MulCost<Index>();
|
|
536
|
+
return m_impl.costPerCoeff(vectorized) +
|
|
537
|
+
TensorOpCost(0, 0, compute_cost, vectorized, PacketSize);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
protected:
|
|
541
|
+
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packetWithPossibleZero(Index index) const
|
|
542
|
+
{
|
|
543
|
+
EIGEN_ALIGN_MAX typename internal::remove_const<CoeffReturnType>::type values[PacketSize];
|
|
544
|
+
EIGEN_UNROLL_LOOP
|
|
545
|
+
for (int i = 0; i < PacketSize; ++i) {
|
|
546
|
+
values[i] = coeff(index+i);
|
|
547
|
+
}
|
|
548
|
+
PacketReturnType rslt = internal::pload<PacketReturnType>(values);
|
|
549
|
+
return rslt;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
Dimensions m_dimensions;
|
|
553
|
+
|
|
554
|
+
Index m_otherStride;
|
|
555
|
+
Index m_patchStride;
|
|
556
|
+
Index m_colStride;
|
|
557
|
+
Index m_row_strides;
|
|
558
|
+
Index m_col_strides;
|
|
559
|
+
|
|
560
|
+
Index m_in_row_strides;
|
|
561
|
+
Index m_in_col_strides;
|
|
562
|
+
Index m_row_inflate_strides;
|
|
563
|
+
Index m_col_inflate_strides;
|
|
564
|
+
|
|
565
|
+
Index m_input_rows_eff;
|
|
566
|
+
Index m_input_cols_eff;
|
|
567
|
+
Index m_patch_rows_eff;
|
|
568
|
+
Index m_patch_cols_eff;
|
|
569
|
+
|
|
570
|
+
internal::TensorIntDivisor<Index> m_fastOtherStride;
|
|
571
|
+
internal::TensorIntDivisor<Index> m_fastPatchStride;
|
|
572
|
+
internal::TensorIntDivisor<Index> m_fastColStride;
|
|
573
|
+
internal::TensorIntDivisor<Index> m_fastInflateRowStride;
|
|
574
|
+
internal::TensorIntDivisor<Index> m_fastInflateColStride;
|
|
575
|
+
internal::TensorIntDivisor<Index> m_fastInputColsEff;
|
|
576
|
+
|
|
577
|
+
Index m_rowInputStride;
|
|
578
|
+
Index m_colInputStride;
|
|
579
|
+
Index m_patchInputStride;
|
|
580
|
+
|
|
581
|
+
Index m_inputDepth;
|
|
582
|
+
Index m_inputRows;
|
|
583
|
+
Index m_inputCols;
|
|
584
|
+
|
|
585
|
+
Index m_outputRows;
|
|
586
|
+
Index m_outputCols;
|
|
587
|
+
|
|
588
|
+
Index m_rowPaddingTop;
|
|
589
|
+
Index m_colPaddingLeft;
|
|
590
|
+
|
|
591
|
+
internal::TensorIntDivisor<Index> m_fastOutputRows;
|
|
592
|
+
internal::TensorIntDivisor<Index> m_fastOutputDepth;
|
|
593
|
+
|
|
594
|
+
Scalar m_paddingValue;
|
|
595
|
+
|
|
596
|
+
const Device EIGEN_DEVICE_REF m_device;
|
|
597
|
+
TensorEvaluator<ArgType, Device> m_impl;
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
} // end namespace Eigen
|
|
602
|
+
|
|
603
|
+
#endif // EIGEN_CXX11_TENSOR_TENSOR_IMAGE_PATCH_H
|