forgeo-gmlib 0.6.2__cp314-cp314-musllinux_1_2_x86_64.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.
- forgeo/gmlib/GeologicalModel3D.py +758 -0
- forgeo/gmlib/__init__.py +9 -0
- forgeo/gmlib/_version.py +34 -0
- forgeo/gmlib/architecture/__init__.py +1 -0
- forgeo/gmlib/architecture/core.py +130 -0
- forgeo/gmlib/common.abi3.so +0 -0
- forgeo/gmlib/fault_network.py +171 -0
- forgeo/gmlib/geomodeller_data.py +101 -0
- forgeo/gmlib/geomodeller_project.py +396 -0
- forgeo/gmlib/myxmltools.py +30 -0
- forgeo/gmlib/pypotential2D.abi3.so +0 -0
- forgeo/gmlib/pypotential3D.abi3.so +0 -0
- forgeo/gmlib/tesselate.py +236 -0
- forgeo/gmlib/tesselate_deprecated.py +249 -0
- forgeo/gmlib/topography_reader.py +198 -0
- forgeo/gmlib/utils/__init__.py +0 -0
- forgeo/gmlib/utils/append_data.py +508 -0
- forgeo/gmlib/utils/export.py +45 -0
- forgeo/gmlib/utils/normalized_gradient.py +40 -0
- forgeo/gmlib/utils/tools.py +35 -0
- forgeo_gmlib-0.6.2.dist-info/METADATA +23 -0
- forgeo_gmlib-0.6.2.dist-info/RECORD +554 -0
- forgeo_gmlib-0.6.2.dist-info/WHEEL +5 -0
- forgeo_gmlib-0.6.2.dist-info/licenses/LICENSE +661 -0
- include/eigen3/Eigen/Cholesky +45 -0
- include/eigen3/Eigen/CholmodSupport +48 -0
- include/eigen3/Eigen/Core +385 -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 +48 -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 +406 -0
- include/eigen3/Eigen/src/Core/Array.h +425 -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 +463 -0
- include/eigen3/Eigen/src/Core/BooleanRedux.h +164 -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 +259 -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 +313 -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 +247 -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 +2212 -0
- include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- include/eigen3/Eigen/src/Core/Matrix.h +578 -0
- include/eigen3/Eigen/src/Core/MatrixBase.h +541 -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 +351 -0
- include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +237 -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 +120 -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 +994 -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 +368 -0
- include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1588 -0
- include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +384 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +361 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2270 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +415 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +119 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2776 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +159 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +627 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h +2400 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2743 -0
- include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +269 -0
- include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +688 -0
- include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1662 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +116 -0
- include/eigen3/Eigen/src/Core/arch/Default/Half.h +950 -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 +1646 -0
- include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +79 -0
- include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +645 -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 +560 -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 +4653 -0
- include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1424 -0
- include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +338 -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 +428 -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 +322 -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 +523 -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 +521 -0
- include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
- include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +138 -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 +1511 -0
- include/eigen3/Eigen/src/Core/util/Memory.h +1202 -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 +345 -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 +417 -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 +557 -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 +560 -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 +1566 -0
- include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
- include/eigen3/Eigen/src/Geometry/Umeyama.h +168 -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 +553 -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 +227 -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 +363 -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 +1377 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD.h +813 -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 +415 -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 +566 -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 +306 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +399 -0
- include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- include/eigen3/Eigen/src/SparseCore/SparseProduct.h +182 -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 +480 -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 +925 -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 +374 -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_heap_relax_snode.h +121 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +129 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +222 -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 +431 -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 +184 -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 +48 -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 +327 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +242 -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 +1083 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +510 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +373 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1019 -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 +455 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1126 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +536 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +213 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +342 -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 +234 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +493 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +229 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +980 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +701 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +389 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +377 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +232 -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 +297 -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 +602 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +735 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +244 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +257 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +213 -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 +1098 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +705 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +286 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +317 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +1000 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +973 -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 +462 -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 +466 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +157 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +341 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +299 -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 +628 -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 +538 -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 +420 -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 +356 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +306 -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 +429 -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 +2051 -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 +51 -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
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
|
|
5
|
+
// Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr>
|
|
6
|
+
//
|
|
7
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
|
8
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
9
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
|
|
13
|
+
* NOTE: This file is the modified version of [s,d,c,z]panel_bmod.c file in SuperLU
|
|
14
|
+
|
|
15
|
+
* -- SuperLU routine (version 3.0) --
|
|
16
|
+
* Univ. of California Berkeley, Xerox Palo Alto Research Center,
|
|
17
|
+
* and Lawrence Berkeley National Lab.
|
|
18
|
+
* October 15, 2003
|
|
19
|
+
*
|
|
20
|
+
* Copyright (c) 1994 by Xerox Corporation. All rights reserved.
|
|
21
|
+
*
|
|
22
|
+
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
|
|
23
|
+
* EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
|
|
24
|
+
*
|
|
25
|
+
* Permission is hereby granted to use or copy this program for any
|
|
26
|
+
* purpose, provided the above notices are retained on all copies.
|
|
27
|
+
* Permission to modify the code and to distribute modified code is
|
|
28
|
+
* granted, provided the above notices are retained, and a notice that
|
|
29
|
+
* the code was modified is included with the above copyright notice.
|
|
30
|
+
*/
|
|
31
|
+
#ifndef SPARSELU_PANEL_BMOD_H
|
|
32
|
+
#define SPARSELU_PANEL_BMOD_H
|
|
33
|
+
|
|
34
|
+
namespace Eigen {
|
|
35
|
+
namespace internal {
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* \brief Performs numeric block updates (sup-panel) in topological order.
|
|
39
|
+
*
|
|
40
|
+
* Before entering this routine, the original nonzeros in the panel
|
|
41
|
+
* were already copied into the spa[m,w]
|
|
42
|
+
*
|
|
43
|
+
* \param m number of rows in the matrix
|
|
44
|
+
* \param w Panel size
|
|
45
|
+
* \param jcol Starting column of the panel
|
|
46
|
+
* \param nseg Number of segments in the U part
|
|
47
|
+
* \param dense Store the full representation of the panel
|
|
48
|
+
* \param tempv working array
|
|
49
|
+
* \param segrep segment representative... first row in the segment
|
|
50
|
+
* \param repfnz First nonzero rows
|
|
51
|
+
* \param glu Global LU data.
|
|
52
|
+
*
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
template <typename Scalar, typename StorageIndex>
|
|
56
|
+
void SparseLUImpl<Scalar,StorageIndex>::panel_bmod(const Index m, const Index w, const Index jcol,
|
|
57
|
+
const Index nseg, ScalarVector& dense, ScalarVector& tempv,
|
|
58
|
+
IndexVector& segrep, IndexVector& repfnz, GlobalLU_t& glu)
|
|
59
|
+
{
|
|
60
|
+
|
|
61
|
+
Index ksub,jj,nextl_col;
|
|
62
|
+
Index fsupc, nsupc, nsupr, nrow;
|
|
63
|
+
Index krep, kfnz;
|
|
64
|
+
Index lptr; // points to the row subscripts of a supernode
|
|
65
|
+
Index luptr; // ...
|
|
66
|
+
Index segsize,no_zeros ;
|
|
67
|
+
// For each nonz supernode segment of U[*,j] in topological order
|
|
68
|
+
Index k = nseg - 1;
|
|
69
|
+
const Index PacketSize = internal::packet_traits<Scalar>::size;
|
|
70
|
+
|
|
71
|
+
for (ksub = 0; ksub < nseg; ksub++)
|
|
72
|
+
{ // For each updating supernode
|
|
73
|
+
/* krep = representative of current k-th supernode
|
|
74
|
+
* fsupc = first supernodal column
|
|
75
|
+
* nsupc = number of columns in a supernode
|
|
76
|
+
* nsupr = number of rows in a supernode
|
|
77
|
+
*/
|
|
78
|
+
krep = segrep(k); k--;
|
|
79
|
+
fsupc = glu.xsup(glu.supno(krep));
|
|
80
|
+
nsupc = krep - fsupc + 1;
|
|
81
|
+
nsupr = glu.xlsub(fsupc+1) - glu.xlsub(fsupc);
|
|
82
|
+
nrow = nsupr - nsupc;
|
|
83
|
+
lptr = glu.xlsub(fsupc);
|
|
84
|
+
|
|
85
|
+
// loop over the panel columns to detect the actual number of columns and rows
|
|
86
|
+
Index u_rows = 0;
|
|
87
|
+
Index u_cols = 0;
|
|
88
|
+
for (jj = jcol; jj < jcol + w; jj++)
|
|
89
|
+
{
|
|
90
|
+
nextl_col = (jj-jcol) * m;
|
|
91
|
+
VectorBlock<IndexVector> repfnz_col(repfnz, nextl_col, m); // First nonzero column index for each row
|
|
92
|
+
|
|
93
|
+
kfnz = repfnz_col(krep);
|
|
94
|
+
if ( kfnz == emptyIdxLU )
|
|
95
|
+
continue; // skip any zero segment
|
|
96
|
+
|
|
97
|
+
segsize = krep - kfnz + 1;
|
|
98
|
+
u_cols++;
|
|
99
|
+
u_rows = (std::max)(segsize,u_rows);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if(nsupc >= 2)
|
|
103
|
+
{
|
|
104
|
+
Index ldu = internal::first_multiple<Index>(u_rows, PacketSize);
|
|
105
|
+
Map<ScalarMatrix, Aligned, OuterStride<> > U(tempv.data(), u_rows, u_cols, OuterStride<>(ldu));
|
|
106
|
+
|
|
107
|
+
// gather U
|
|
108
|
+
Index u_col = 0;
|
|
109
|
+
for (jj = jcol; jj < jcol + w; jj++)
|
|
110
|
+
{
|
|
111
|
+
nextl_col = (jj-jcol) * m;
|
|
112
|
+
VectorBlock<IndexVector> repfnz_col(repfnz, nextl_col, m); // First nonzero column index for each row
|
|
113
|
+
VectorBlock<ScalarVector> dense_col(dense, nextl_col, m); // Scatter/gather entire matrix column from/to here
|
|
114
|
+
|
|
115
|
+
kfnz = repfnz_col(krep);
|
|
116
|
+
if ( kfnz == emptyIdxLU )
|
|
117
|
+
continue; // skip any zero segment
|
|
118
|
+
|
|
119
|
+
segsize = krep - kfnz + 1;
|
|
120
|
+
luptr = glu.xlusup(fsupc);
|
|
121
|
+
no_zeros = kfnz - fsupc;
|
|
122
|
+
|
|
123
|
+
Index isub = lptr + no_zeros;
|
|
124
|
+
Index off = u_rows-segsize;
|
|
125
|
+
for (Index i = 0; i < off; i++) U(i,u_col) = 0;
|
|
126
|
+
for (Index i = 0; i < segsize; i++)
|
|
127
|
+
{
|
|
128
|
+
Index irow = glu.lsub(isub);
|
|
129
|
+
U(i+off,u_col) = dense_col(irow);
|
|
130
|
+
++isub;
|
|
131
|
+
}
|
|
132
|
+
u_col++;
|
|
133
|
+
}
|
|
134
|
+
// solve U = A^-1 U
|
|
135
|
+
luptr = glu.xlusup(fsupc);
|
|
136
|
+
Index lda = glu.xlusup(fsupc+1) - glu.xlusup(fsupc);
|
|
137
|
+
no_zeros = (krep - u_rows + 1) - fsupc;
|
|
138
|
+
luptr += lda * no_zeros + no_zeros;
|
|
139
|
+
MappedMatrixBlock A(glu.lusup.data()+luptr, u_rows, u_rows, OuterStride<>(lda) );
|
|
140
|
+
U = A.template triangularView<UnitLower>().solve(U);
|
|
141
|
+
|
|
142
|
+
// update
|
|
143
|
+
luptr += u_rows;
|
|
144
|
+
MappedMatrixBlock B(glu.lusup.data()+luptr, nrow, u_rows, OuterStride<>(lda) );
|
|
145
|
+
eigen_assert(tempv.size()>w*ldu + nrow*w + 1);
|
|
146
|
+
|
|
147
|
+
Index ldl = internal::first_multiple<Index>(nrow, PacketSize);
|
|
148
|
+
Index offset = (PacketSize-internal::first_default_aligned(B.data(), PacketSize)) % PacketSize;
|
|
149
|
+
MappedMatrixBlock L(tempv.data()+w*ldu+offset, nrow, u_cols, OuterStride<>(ldl));
|
|
150
|
+
|
|
151
|
+
L.noalias() = B * U;
|
|
152
|
+
|
|
153
|
+
// scatter U and L
|
|
154
|
+
u_col = 0;
|
|
155
|
+
for (jj = jcol; jj < jcol + w; jj++)
|
|
156
|
+
{
|
|
157
|
+
nextl_col = (jj-jcol) * m;
|
|
158
|
+
VectorBlock<IndexVector> repfnz_col(repfnz, nextl_col, m); // First nonzero column index for each row
|
|
159
|
+
VectorBlock<ScalarVector> dense_col(dense, nextl_col, m); // Scatter/gather entire matrix column from/to here
|
|
160
|
+
|
|
161
|
+
kfnz = repfnz_col(krep);
|
|
162
|
+
if ( kfnz == emptyIdxLU )
|
|
163
|
+
continue; // skip any zero segment
|
|
164
|
+
|
|
165
|
+
segsize = krep - kfnz + 1;
|
|
166
|
+
no_zeros = kfnz - fsupc;
|
|
167
|
+
Index isub = lptr + no_zeros;
|
|
168
|
+
|
|
169
|
+
Index off = u_rows-segsize;
|
|
170
|
+
for (Index i = 0; i < segsize; i++)
|
|
171
|
+
{
|
|
172
|
+
Index irow = glu.lsub(isub++);
|
|
173
|
+
dense_col(irow) = U.coeff(i+off,u_col);
|
|
174
|
+
U.coeffRef(i+off,u_col) = 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// Scatter l into SPA dense[]
|
|
178
|
+
for (Index i = 0; i < nrow; i++)
|
|
179
|
+
{
|
|
180
|
+
Index irow = glu.lsub(isub++);
|
|
181
|
+
dense_col(irow) -= L.coeff(i,u_col);
|
|
182
|
+
L.coeffRef(i,u_col) = 0;
|
|
183
|
+
}
|
|
184
|
+
u_col++;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
else // level 2 only
|
|
188
|
+
{
|
|
189
|
+
// Sequence through each column in the panel
|
|
190
|
+
for (jj = jcol; jj < jcol + w; jj++)
|
|
191
|
+
{
|
|
192
|
+
nextl_col = (jj-jcol) * m;
|
|
193
|
+
VectorBlock<IndexVector> repfnz_col(repfnz, nextl_col, m); // First nonzero column index for each row
|
|
194
|
+
VectorBlock<ScalarVector> dense_col(dense, nextl_col, m); // Scatter/gather entire matrix column from/to here
|
|
195
|
+
|
|
196
|
+
kfnz = repfnz_col(krep);
|
|
197
|
+
if ( kfnz == emptyIdxLU )
|
|
198
|
+
continue; // skip any zero segment
|
|
199
|
+
|
|
200
|
+
segsize = krep - kfnz + 1;
|
|
201
|
+
luptr = glu.xlusup(fsupc);
|
|
202
|
+
|
|
203
|
+
Index lda = glu.xlusup(fsupc+1)-glu.xlusup(fsupc);// nsupr
|
|
204
|
+
|
|
205
|
+
// Perform a trianglar solve and block update,
|
|
206
|
+
// then scatter the result of sup-col update to dense[]
|
|
207
|
+
no_zeros = kfnz - fsupc;
|
|
208
|
+
if(segsize==1) LU_kernel_bmod<1>::run(segsize, dense_col, tempv, glu.lusup, luptr, lda, nrow, glu.lsub, lptr, no_zeros);
|
|
209
|
+
else if(segsize==2) LU_kernel_bmod<2>::run(segsize, dense_col, tempv, glu.lusup, luptr, lda, nrow, glu.lsub, lptr, no_zeros);
|
|
210
|
+
else if(segsize==3) LU_kernel_bmod<3>::run(segsize, dense_col, tempv, glu.lusup, luptr, lda, nrow, glu.lsub, lptr, no_zeros);
|
|
211
|
+
else LU_kernel_bmod<Dynamic>::run(segsize, dense_col, tempv, glu.lusup, luptr, lda, nrow, glu.lsub, lptr, no_zeros);
|
|
212
|
+
} // End for each column in the panel
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
} // End for each updating supernode
|
|
216
|
+
} // end panel bmod
|
|
217
|
+
|
|
218
|
+
} // end namespace internal
|
|
219
|
+
|
|
220
|
+
} // end namespace Eigen
|
|
221
|
+
|
|
222
|
+
#endif // SPARSELU_PANEL_BMOD_H
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
|
|
5
|
+
//
|
|
6
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
|
7
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
8
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
|
|
12
|
+
* NOTE: This file is the modified version of [s,d,c,z]panel_dfs.c file in SuperLU
|
|
13
|
+
|
|
14
|
+
* -- SuperLU routine (version 2.0) --
|
|
15
|
+
* Univ. of California Berkeley, Xerox Palo Alto Research Center,
|
|
16
|
+
* and Lawrence Berkeley National Lab.
|
|
17
|
+
* November 15, 1997
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 1994 by Xerox Corporation. All rights reserved.
|
|
20
|
+
*
|
|
21
|
+
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
|
|
22
|
+
* EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
|
|
23
|
+
*
|
|
24
|
+
* Permission is hereby granted to use or copy this program for any
|
|
25
|
+
* purpose, provided the above notices are retained on all copies.
|
|
26
|
+
* Permission to modify the code and to distribute modified code is
|
|
27
|
+
* granted, provided the above notices are retained, and a notice that
|
|
28
|
+
* the code was modified is included with the above copyright notice.
|
|
29
|
+
*/
|
|
30
|
+
#ifndef SPARSELU_PANEL_DFS_H
|
|
31
|
+
#define SPARSELU_PANEL_DFS_H
|
|
32
|
+
|
|
33
|
+
namespace Eigen {
|
|
34
|
+
|
|
35
|
+
namespace internal {
|
|
36
|
+
|
|
37
|
+
template<typename IndexVector>
|
|
38
|
+
struct panel_dfs_traits
|
|
39
|
+
{
|
|
40
|
+
typedef typename IndexVector::Scalar StorageIndex;
|
|
41
|
+
panel_dfs_traits(Index jcol, StorageIndex* marker)
|
|
42
|
+
: m_jcol(jcol), m_marker(marker)
|
|
43
|
+
{}
|
|
44
|
+
bool update_segrep(Index krep, StorageIndex jj)
|
|
45
|
+
{
|
|
46
|
+
if(m_marker[krep]<m_jcol)
|
|
47
|
+
{
|
|
48
|
+
m_marker[krep] = jj;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
void mem_expand(IndexVector& /*glu.lsub*/, Index /*nextl*/, Index /*chmark*/) {}
|
|
54
|
+
enum { ExpandMem = false };
|
|
55
|
+
Index m_jcol;
|
|
56
|
+
StorageIndex* m_marker;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
template <typename Scalar, typename StorageIndex>
|
|
61
|
+
template <typename Traits>
|
|
62
|
+
void SparseLUImpl<Scalar,StorageIndex>::dfs_kernel(const StorageIndex jj, IndexVector& perm_r,
|
|
63
|
+
Index& nseg, IndexVector& panel_lsub, IndexVector& segrep,
|
|
64
|
+
Ref<IndexVector> repfnz_col, IndexVector& xprune, Ref<IndexVector> marker, IndexVector& parent,
|
|
65
|
+
IndexVector& xplore, GlobalLU_t& glu,
|
|
66
|
+
Index& nextl_col, Index krow, Traits& traits
|
|
67
|
+
)
|
|
68
|
+
{
|
|
69
|
+
|
|
70
|
+
StorageIndex kmark = marker(krow);
|
|
71
|
+
|
|
72
|
+
// For each unmarked krow of jj
|
|
73
|
+
marker(krow) = jj;
|
|
74
|
+
StorageIndex kperm = perm_r(krow);
|
|
75
|
+
if (kperm == emptyIdxLU ) {
|
|
76
|
+
// krow is in L : place it in structure of L(*, jj)
|
|
77
|
+
panel_lsub(nextl_col++) = StorageIndex(krow); // krow is indexed into A
|
|
78
|
+
|
|
79
|
+
traits.mem_expand(panel_lsub, nextl_col, kmark);
|
|
80
|
+
}
|
|
81
|
+
else
|
|
82
|
+
{
|
|
83
|
+
// krow is in U : if its supernode-representative krep
|
|
84
|
+
// has been explored, update repfnz(*)
|
|
85
|
+
// krep = supernode representative of the current row
|
|
86
|
+
StorageIndex krep = glu.xsup(glu.supno(kperm)+1) - 1;
|
|
87
|
+
// First nonzero element in the current column:
|
|
88
|
+
StorageIndex myfnz = repfnz_col(krep);
|
|
89
|
+
|
|
90
|
+
if (myfnz != emptyIdxLU )
|
|
91
|
+
{
|
|
92
|
+
// Representative visited before
|
|
93
|
+
if (myfnz > kperm ) repfnz_col(krep) = kperm;
|
|
94
|
+
|
|
95
|
+
}
|
|
96
|
+
else
|
|
97
|
+
{
|
|
98
|
+
// Otherwise, perform dfs starting at krep
|
|
99
|
+
StorageIndex oldrep = emptyIdxLU;
|
|
100
|
+
parent(krep) = oldrep;
|
|
101
|
+
repfnz_col(krep) = kperm;
|
|
102
|
+
StorageIndex xdfs = glu.xlsub(krep);
|
|
103
|
+
Index maxdfs = xprune(krep);
|
|
104
|
+
|
|
105
|
+
StorageIndex kpar;
|
|
106
|
+
do
|
|
107
|
+
{
|
|
108
|
+
// For each unmarked kchild of krep
|
|
109
|
+
while (xdfs < maxdfs)
|
|
110
|
+
{
|
|
111
|
+
StorageIndex kchild = glu.lsub(xdfs);
|
|
112
|
+
xdfs++;
|
|
113
|
+
StorageIndex chmark = marker(kchild);
|
|
114
|
+
|
|
115
|
+
if (chmark != jj )
|
|
116
|
+
{
|
|
117
|
+
marker(kchild) = jj;
|
|
118
|
+
StorageIndex chperm = perm_r(kchild);
|
|
119
|
+
|
|
120
|
+
if (chperm == emptyIdxLU)
|
|
121
|
+
{
|
|
122
|
+
// case kchild is in L: place it in L(*, j)
|
|
123
|
+
panel_lsub(nextl_col++) = kchild;
|
|
124
|
+
traits.mem_expand(panel_lsub, nextl_col, chmark);
|
|
125
|
+
}
|
|
126
|
+
else
|
|
127
|
+
{
|
|
128
|
+
// case kchild is in U :
|
|
129
|
+
// chrep = its supernode-rep. If its rep has been explored,
|
|
130
|
+
// update its repfnz(*)
|
|
131
|
+
StorageIndex chrep = glu.xsup(glu.supno(chperm)+1) - 1;
|
|
132
|
+
myfnz = repfnz_col(chrep);
|
|
133
|
+
|
|
134
|
+
if (myfnz != emptyIdxLU)
|
|
135
|
+
{ // Visited before
|
|
136
|
+
if (myfnz > chperm)
|
|
137
|
+
repfnz_col(chrep) = chperm;
|
|
138
|
+
}
|
|
139
|
+
else
|
|
140
|
+
{ // Cont. dfs at snode-rep of kchild
|
|
141
|
+
xplore(krep) = xdfs;
|
|
142
|
+
oldrep = krep;
|
|
143
|
+
krep = chrep; // Go deeper down G(L)
|
|
144
|
+
parent(krep) = oldrep;
|
|
145
|
+
repfnz_col(krep) = chperm;
|
|
146
|
+
xdfs = glu.xlsub(krep);
|
|
147
|
+
maxdfs = xprune(krep);
|
|
148
|
+
|
|
149
|
+
} // end if myfnz != -1
|
|
150
|
+
} // end if chperm == -1
|
|
151
|
+
|
|
152
|
+
} // end if chmark !=jj
|
|
153
|
+
} // end while xdfs < maxdfs
|
|
154
|
+
|
|
155
|
+
// krow has no more unexplored nbrs :
|
|
156
|
+
// Place snode-rep krep in postorder DFS, if this
|
|
157
|
+
// segment is seen for the first time. (Note that
|
|
158
|
+
// "repfnz(krep)" may change later.)
|
|
159
|
+
// Baktrack dfs to its parent
|
|
160
|
+
if(traits.update_segrep(krep,jj))
|
|
161
|
+
//if (marker1(krep) < jcol )
|
|
162
|
+
{
|
|
163
|
+
segrep(nseg) = krep;
|
|
164
|
+
++nseg;
|
|
165
|
+
//marker1(krep) = jj;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
kpar = parent(krep); // Pop recursion, mimic recursion
|
|
169
|
+
if (kpar == emptyIdxLU)
|
|
170
|
+
break; // dfs done
|
|
171
|
+
krep = kpar;
|
|
172
|
+
xdfs = xplore(krep);
|
|
173
|
+
maxdfs = xprune(krep);
|
|
174
|
+
|
|
175
|
+
} while (kpar != emptyIdxLU); // Do until empty stack
|
|
176
|
+
|
|
177
|
+
} // end if (myfnz = -1)
|
|
178
|
+
|
|
179
|
+
} // end if (kperm == -1)
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* \brief Performs a symbolic factorization on a panel of columns [jcol, jcol+w)
|
|
184
|
+
*
|
|
185
|
+
* A supernode representative is the last column of a supernode.
|
|
186
|
+
* The nonzeros in U[*,j] are segments that end at supernodes representatives
|
|
187
|
+
*
|
|
188
|
+
* The routine returns a list of the supernodal representatives
|
|
189
|
+
* in topological order of the dfs that generates them. This list is
|
|
190
|
+
* a superset of the topological order of each individual column within
|
|
191
|
+
* the panel.
|
|
192
|
+
* The location of the first nonzero in each supernodal segment
|
|
193
|
+
* (supernodal entry location) is also returned. Each column has
|
|
194
|
+
* a separate list for this purpose.
|
|
195
|
+
*
|
|
196
|
+
* Two markers arrays are used for dfs :
|
|
197
|
+
* marker[i] == jj, if i was visited during dfs of current column jj;
|
|
198
|
+
* marker1[i] >= jcol, if i was visited by earlier columns in this panel;
|
|
199
|
+
*
|
|
200
|
+
* \param[in] m number of rows in the matrix
|
|
201
|
+
* \param[in] w Panel size
|
|
202
|
+
* \param[in] jcol Starting column of the panel
|
|
203
|
+
* \param[in] A Input matrix in column-major storage
|
|
204
|
+
* \param[in] perm_r Row permutation
|
|
205
|
+
* \param[out] nseg Number of U segments
|
|
206
|
+
* \param[out] dense Accumulate the column vectors of the panel
|
|
207
|
+
* \param[out] panel_lsub Subscripts of the row in the panel
|
|
208
|
+
* \param[out] segrep Segment representative i.e first nonzero row of each segment
|
|
209
|
+
* \param[out] repfnz First nonzero location in each row
|
|
210
|
+
* \param[out] xprune The pruned elimination tree
|
|
211
|
+
* \param[out] marker work vector
|
|
212
|
+
* \param parent The elimination tree
|
|
213
|
+
* \param xplore work vector
|
|
214
|
+
* \param glu The global data structure
|
|
215
|
+
*
|
|
216
|
+
*/
|
|
217
|
+
|
|
218
|
+
template <typename Scalar, typename StorageIndex>
|
|
219
|
+
void SparseLUImpl<Scalar,StorageIndex>::panel_dfs(const Index m, const Index w, const Index jcol, MatrixType& A, IndexVector& perm_r, Index& nseg, ScalarVector& dense, IndexVector& panel_lsub, IndexVector& segrep, IndexVector& repfnz, IndexVector& xprune, IndexVector& marker, IndexVector& parent, IndexVector& xplore, GlobalLU_t& glu)
|
|
220
|
+
{
|
|
221
|
+
Index nextl_col; // Next available position in panel_lsub[*,jj]
|
|
222
|
+
|
|
223
|
+
// Initialize pointers
|
|
224
|
+
VectorBlock<IndexVector> marker1(marker, m, m);
|
|
225
|
+
nseg = 0;
|
|
226
|
+
|
|
227
|
+
panel_dfs_traits<IndexVector> traits(jcol, marker1.data());
|
|
228
|
+
|
|
229
|
+
// For each column in the panel
|
|
230
|
+
for (StorageIndex jj = StorageIndex(jcol); jj < jcol + w; jj++)
|
|
231
|
+
{
|
|
232
|
+
nextl_col = (jj - jcol) * m;
|
|
233
|
+
|
|
234
|
+
VectorBlock<IndexVector> repfnz_col(repfnz, nextl_col, m); // First nonzero location in each row
|
|
235
|
+
VectorBlock<ScalarVector> dense_col(dense,nextl_col, m); // Accumulate a column vector here
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
// For each nnz in A[*, jj] do depth first search
|
|
239
|
+
for (typename MatrixType::InnerIterator it(A, jj); it; ++it)
|
|
240
|
+
{
|
|
241
|
+
Index krow = it.row();
|
|
242
|
+
dense_col(krow) = it.value();
|
|
243
|
+
|
|
244
|
+
StorageIndex kmark = marker(krow);
|
|
245
|
+
if (kmark == jj)
|
|
246
|
+
continue; // krow visited before, go to the next nonzero
|
|
247
|
+
|
|
248
|
+
dfs_kernel(jj, perm_r, nseg, panel_lsub, segrep, repfnz_col, xprune, marker, parent,
|
|
249
|
+
xplore, glu, nextl_col, krow, traits);
|
|
250
|
+
}// end for nonzeros in column jj
|
|
251
|
+
|
|
252
|
+
} // end for column jj
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
} // end namespace internal
|
|
256
|
+
} // end namespace Eigen
|
|
257
|
+
|
|
258
|
+
#endif // SPARSELU_PANEL_DFS_H
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
|
|
5
|
+
//
|
|
6
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
|
7
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
8
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
|
|
12
|
+
* NOTE: This file is the modified version of xpivotL.c file in SuperLU
|
|
13
|
+
|
|
14
|
+
* -- SuperLU routine (version 3.0) --
|
|
15
|
+
* Univ. of California Berkeley, Xerox Palo Alto Research Center,
|
|
16
|
+
* and Lawrence Berkeley National Lab.
|
|
17
|
+
* October 15, 2003
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 1994 by Xerox Corporation. All rights reserved.
|
|
20
|
+
*
|
|
21
|
+
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
|
|
22
|
+
* EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
|
|
23
|
+
*
|
|
24
|
+
* Permission is hereby granted to use or copy this program for any
|
|
25
|
+
* purpose, provided the above notices are retained on all copies.
|
|
26
|
+
* Permission to modify the code and to distribute modified code is
|
|
27
|
+
* granted, provided the above notices are retained, and a notice that
|
|
28
|
+
* the code was modified is included with the above copyright notice.
|
|
29
|
+
*/
|
|
30
|
+
#ifndef SPARSELU_PIVOTL_H
|
|
31
|
+
#define SPARSELU_PIVOTL_H
|
|
32
|
+
|
|
33
|
+
namespace Eigen {
|
|
34
|
+
namespace internal {
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* \brief Performs the numerical pivotin on the current column of L, and the CDIV operation.
|
|
38
|
+
*
|
|
39
|
+
* Pivot policy :
|
|
40
|
+
* (1) Compute thresh = u * max_(i>=j) abs(A_ij);
|
|
41
|
+
* (2) IF user specifies pivot row k and abs(A_kj) >= thresh THEN
|
|
42
|
+
* pivot row = k;
|
|
43
|
+
* ELSE IF abs(A_jj) >= thresh THEN
|
|
44
|
+
* pivot row = j;
|
|
45
|
+
* ELSE
|
|
46
|
+
* pivot row = m;
|
|
47
|
+
*
|
|
48
|
+
* Note: If you absolutely want to use a given pivot order, then set u=0.0.
|
|
49
|
+
*
|
|
50
|
+
* \param jcol The current column of L
|
|
51
|
+
* \param diagpivotthresh diagonal pivoting threshold
|
|
52
|
+
* \param[in,out] perm_r Row permutation (threshold pivoting)
|
|
53
|
+
* \param[in] iperm_c column permutation - used to finf diagonal of Pc*A*Pc'
|
|
54
|
+
* \param[out] pivrow The pivot row
|
|
55
|
+
* \param glu Global LU data
|
|
56
|
+
* \return 0 if success, i > 0 if U(i,i) is exactly zero
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
template <typename Scalar, typename StorageIndex>
|
|
60
|
+
Index SparseLUImpl<Scalar,StorageIndex>::pivotL(const Index jcol, const RealScalar& diagpivotthresh, IndexVector& perm_r, IndexVector& iperm_c, Index& pivrow, GlobalLU_t& glu)
|
|
61
|
+
{
|
|
62
|
+
|
|
63
|
+
Index fsupc = (glu.xsup)((glu.supno)(jcol)); // First column in the supernode containing the column jcol
|
|
64
|
+
Index nsupc = jcol - fsupc; // Number of columns in the supernode portion, excluding jcol; nsupc >=0
|
|
65
|
+
Index lptr = glu.xlsub(fsupc); // pointer to the starting location of the row subscripts for this supernode portion
|
|
66
|
+
Index nsupr = glu.xlsub(fsupc+1) - lptr; // Number of rows in the supernode
|
|
67
|
+
Index lda = glu.xlusup(fsupc+1) - glu.xlusup(fsupc); // leading dimension
|
|
68
|
+
Scalar* lu_sup_ptr = &(glu.lusup.data()[glu.xlusup(fsupc)]); // Start of the current supernode
|
|
69
|
+
Scalar* lu_col_ptr = &(glu.lusup.data()[glu.xlusup(jcol)]); // Start of jcol in the supernode
|
|
70
|
+
StorageIndex* lsub_ptr = &(glu.lsub.data()[lptr]); // Start of row indices of the supernode
|
|
71
|
+
|
|
72
|
+
// Determine the largest abs numerical value for partial pivoting
|
|
73
|
+
Index diagind = iperm_c(jcol); // diagonal index
|
|
74
|
+
RealScalar pivmax(-1.0);
|
|
75
|
+
Index pivptr = nsupc;
|
|
76
|
+
Index diag = emptyIdxLU;
|
|
77
|
+
RealScalar rtemp;
|
|
78
|
+
Index isub, icol, itemp, k;
|
|
79
|
+
for (isub = nsupc; isub < nsupr; ++isub) {
|
|
80
|
+
using std::abs;
|
|
81
|
+
rtemp = abs(lu_col_ptr[isub]);
|
|
82
|
+
if (rtemp > pivmax) {
|
|
83
|
+
pivmax = rtemp;
|
|
84
|
+
pivptr = isub;
|
|
85
|
+
}
|
|
86
|
+
if (lsub_ptr[isub] == diagind) diag = isub;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// Test for singularity
|
|
90
|
+
if ( pivmax <= RealScalar(0.0) ) {
|
|
91
|
+
// if pivmax == -1, the column is structurally empty, otherwise it is only numerically zero
|
|
92
|
+
pivrow = pivmax < RealScalar(0.0) ? diagind : lsub_ptr[pivptr];
|
|
93
|
+
perm_r(pivrow) = StorageIndex(jcol);
|
|
94
|
+
return (jcol+1);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
RealScalar thresh = diagpivotthresh * pivmax;
|
|
98
|
+
|
|
99
|
+
// Choose appropriate pivotal element
|
|
100
|
+
|
|
101
|
+
{
|
|
102
|
+
// Test if the diagonal element can be used as a pivot (given the threshold value)
|
|
103
|
+
if (diag >= 0 )
|
|
104
|
+
{
|
|
105
|
+
// Diagonal element exists
|
|
106
|
+
using std::abs;
|
|
107
|
+
rtemp = abs(lu_col_ptr[diag]);
|
|
108
|
+
if (rtemp != RealScalar(0.0) && rtemp >= thresh) pivptr = diag;
|
|
109
|
+
}
|
|
110
|
+
pivrow = lsub_ptr[pivptr];
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Record pivot row
|
|
114
|
+
perm_r(pivrow) = StorageIndex(jcol);
|
|
115
|
+
// Interchange row subscripts
|
|
116
|
+
if (pivptr != nsupc )
|
|
117
|
+
{
|
|
118
|
+
std::swap( lsub_ptr[pivptr], lsub_ptr[nsupc] );
|
|
119
|
+
// Interchange numerical values as well, for the two rows in the whole snode
|
|
120
|
+
// such that L is indexed the same way as A
|
|
121
|
+
for (icol = 0; icol <= nsupc; icol++)
|
|
122
|
+
{
|
|
123
|
+
itemp = pivptr + icol * lda;
|
|
124
|
+
std::swap(lu_sup_ptr[itemp], lu_sup_ptr[nsupc + icol * lda]);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
// cdiv operations
|
|
128
|
+
Scalar temp = Scalar(1.0) / lu_col_ptr[nsupc];
|
|
129
|
+
for (k = nsupc+1; k < nsupr; k++)
|
|
130
|
+
lu_col_ptr[k] *= temp;
|
|
131
|
+
return 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
} // end namespace internal
|
|
135
|
+
} // end namespace Eigen
|
|
136
|
+
|
|
137
|
+
#endif // SPARSELU_PIVOTL_H
|