pylibsparseir 0.1.0__cp311-cp311-macosx_15_0_arm64.whl → 0.6.0__cp311-cp311-macosx_15_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pylibsparseir might be problematic. Click here for more details.
- include/eigen3/Eigen/Cholesky +45 -0
- include/eigen3/Eigen/CholmodSupport +48 -0
- include/eigen3/Eigen/Core +384 -0
- include/eigen3/Eigen/Dense +7 -0
- include/eigen3/Eigen/Eigen +2 -0
- include/eigen3/Eigen/Eigenvalues +60 -0
- include/eigen3/Eigen/Geometry +59 -0
- include/eigen3/Eigen/Householder +29 -0
- include/eigen3/Eigen/IterativeLinearSolvers +48 -0
- include/eigen3/Eigen/Jacobi +32 -0
- include/eigen3/Eigen/KLUSupport +41 -0
- include/eigen3/Eigen/LU +47 -0
- include/eigen3/Eigen/MetisSupport +35 -0
- include/eigen3/Eigen/OrderingMethods +70 -0
- include/eigen3/Eigen/PaStiXSupport +49 -0
- include/eigen3/Eigen/PardisoSupport +35 -0
- include/eigen3/Eigen/QR +50 -0
- include/eigen3/Eigen/QtAlignedMalloc +39 -0
- include/eigen3/Eigen/SPQRSupport +34 -0
- include/eigen3/Eigen/SVD +50 -0
- include/eigen3/Eigen/Sparse +34 -0
- include/eigen3/Eigen/SparseCholesky +37 -0
- include/eigen3/Eigen/SparseCore +69 -0
- include/eigen3/Eigen/SparseLU +50 -0
- include/eigen3/Eigen/SparseQR +36 -0
- include/eigen3/Eigen/StdDeque +27 -0
- include/eigen3/Eigen/StdList +26 -0
- include/eigen3/Eigen/StdVector +27 -0
- include/eigen3/Eigen/SuperLUSupport +64 -0
- include/eigen3/Eigen/UmfPackSupport +40 -0
- include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
- include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
- include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
- include/eigen3/Eigen/src/Core/ArithmeticSequence.h +413 -0
- include/eigen3/Eigen/src/Core/Array.h +417 -0
- include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
- include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
- include/eigen3/Eigen/src/Core/Assign.h +90 -0
- include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
- include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
- include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
- include/eigen3/Eigen/src/Core/Block.h +448 -0
- include/eigen3/Eigen/src/Core/BooleanRedux.h +162 -0
- include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
- include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
- include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
- include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
- include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
- include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
- include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
- include/eigen3/Eigen/src/Core/Diagonal.h +258 -0
- include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
- include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
- include/eigen3/Eigen/src/Core/Dot.h +318 -0
- include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
- include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
- include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
- include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
- include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
- include/eigen3/Eigen/src/Core/IO.h +258 -0
- include/eigen3/Eigen/src/Core/IndexedView.h +237 -0
- include/eigen3/Eigen/src/Core/Inverse.h +117 -0
- include/eigen3/Eigen/src/Core/Map.h +171 -0
- include/eigen3/Eigen/src/Core/MapBase.h +310 -0
- include/eigen3/Eigen/src/Core/MathFunctions.h +2057 -0
- include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- include/eigen3/Eigen/src/Core/Matrix.h +565 -0
- include/eigen3/Eigen/src/Core/MatrixBase.h +547 -0
- include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
- include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
- include/eigen3/Eigen/src/Core/NumTraits.h +335 -0
- include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
- include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
- include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
- include/eigen3/Eigen/src/Core/Product.h +191 -0
- include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
- include/eigen3/Eigen/src/Core/Random.h +218 -0
- include/eigen3/Eigen/src/Core/Redux.h +515 -0
- include/eigen3/Eigen/src/Core/Ref.h +381 -0
- include/eigen3/Eigen/src/Core/Replicate.h +142 -0
- include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
- include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
- include/eigen3/Eigen/src/Core/Reverse.h +217 -0
- include/eigen3/Eigen/src/Core/Select.h +164 -0
- include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
- include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- include/eigen3/Eigen/src/Core/Solve.h +188 -0
- include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
- include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
- include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
- include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
- include/eigen3/Eigen/src/Core/Stride.h +116 -0
- include/eigen3/Eigen/src/Core/Swap.h +68 -0
- include/eigen3/Eigen/src/Core/Transpose.h +464 -0
- include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
- include/eigen3/Eigen/src/Core/TriangularMatrix.h +1001 -0
- include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
- include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
- include/eigen3/Eigen/src/Core/Visitor.h +381 -0
- include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +372 -0
- include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
- include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
- include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
- include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
- include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
- include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
- include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
- include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
- include/eigen3/Eigen/src/Core/arch/Default/Half.h +942 -0
- include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
- include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
- include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
- include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +648 -0
- include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +584 -0
- include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
- include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
- include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +351 -0
- include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
- include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
- include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
- include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
- include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
- include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
- include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
- include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
- include/eigen3/Eigen/src/Core/util/Macros.h +1464 -0
- include/eigen3/Eigen/src/Core/util/Memory.h +1163 -0
- include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
- include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
- include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
- include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
- include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +558 -0
- include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
- include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
- include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
- include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
- include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
- include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
- include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
- include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
- include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
- include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
- include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
- include/eigen3/Eigen/src/Geometry/Transform.h +1563 -0
- include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
- include/eigen3/Eigen/src/Geometry/Umeyama.h +166 -0
- include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
- include/eigen3/Eigen/src/Householder/Householder.h +176 -0
- include/eigen3/Eigen/src/Householder/HouseholderSequence.h +545 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
- include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- include/eigen3/Eigen/src/LU/Determinant.h +117 -0
- include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
- include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
- include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
- include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- include/eigen3/Eigen/src/LU/arch/InverseSize4.h +351 -0
- include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
- include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
- include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
- include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- include/eigen3/Eigen/src/SVD/BDCSVD.h +1366 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD.h +812 -0
- include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
- include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
- include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
- include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
- include/eigen3/Eigen/src/SparseCore/SparseBlock.h +571 -0
- include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
- include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- include/eigen3/Eigen/src/SparseCore/SparseMap.h +305 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
- include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- include/eigen3/Eigen/src/SparseCore/SparseProduct.h +181 -0
- include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
- include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
- include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
- include/eigen3/Eigen/src/SparseCore/SparseVector.h +478 -0
- include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
- include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU.h +923 -0
- include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
- include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
- include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
- include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
- include/eigen3/Eigen/src/StlSupport/details.h +84 -0
- include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- include/eigen3/Eigen/src/misc/Image.h +82 -0
- include/eigen3/Eigen/src/misc/Kernel.h +79 -0
- include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
- include/eigen3/Eigen/src/misc/blas.h +440 -0
- include/eigen3/Eigen/src/misc/lapack.h +152 -0
- include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
- include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
- include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
- include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
- include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
- include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
- include/eigen3/signature_of_eigen3_matrix_library +1 -0
- include/eigen3/unsupported/Eigen/AdolcForward +159 -0
- include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
- include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
- include/eigen3/unsupported/Eigen/AutoDiff +46 -0
- include/eigen3/unsupported/Eigen/BVH +95 -0
- include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
- include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
- include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +329 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +247 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1093 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +518 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +377 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1023 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +456 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1132 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +544 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +214 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +347 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +490 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +983 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +703 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +388 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +379 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +237 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +302 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +603 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +738 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +247 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +263 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +216 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1102 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +708 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +291 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +322 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +998 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +966 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +465 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +471 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +161 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +346 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +303 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
- include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +629 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
- include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
- include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +537 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
- include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
- include/eigen3/unsupported/Eigen/EulerAngles +43 -0
- include/eigen3/unsupported/Eigen/FFT +419 -0
- include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
- include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
- include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
- include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
- include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
- include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
- include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
- include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
- include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
- include/eigen3/unsupported/Eigen/Polynomials +137 -0
- include/eigen3/unsupported/Eigen/Skyline +39 -0
- include/eigen3/unsupported/Eigen/SparseExtra +54 -0
- include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
- include/eigen3/unsupported/Eigen/Splines +35 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
- include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
- include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
- include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
- include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +355 -0
- include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +305 -0
- include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
- include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
- include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
- include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
- include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
- include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
- include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
- include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
- include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +428 -0
- include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
- include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
- include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2045 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +46 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
- include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
- include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
- include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
- include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
- pylibsparseir/__init__.py +31 -0
- pylibsparseir/clean_build_artifacts.py +0 -1
- pylibsparseir/core.py +178 -62
- pylibsparseir/libsparseir.dylib +0 -0
- pylibsparseir-0.6.0.dist-info/METADATA +213 -0
- pylibsparseir-0.6.0.dist-info/RECORD +545 -0
- {pylibsparseir-0.1.0.dist-info → pylibsparseir-0.6.0.dist-info}/WHEEL +1 -1
- pylibsparseir-0.6.0.dist-info/licenses/LICENSE +21 -0
- share/eigen3/cmake/Eigen3Config.cmake +37 -0
- share/eigen3/cmake/Eigen3ConfigVersion.cmake +65 -0
- share/eigen3/cmake/Eigen3Targets.cmake +106 -0
- share/eigen3/cmake/UseEigen3.cmake +6 -0
- share/pkgconfig/eigen3.pc +9 -0
- pylibsparseir/libsparseir.0.4.2.dylib +0 -0
- pylibsparseir/libsparseir.0.dylib +0 -0
- pylibsparseir-0.1.0.dist-info/METADATA +0 -130
- pylibsparseir-0.1.0.dist-info/RECORD +0 -12
- pylibsparseir-0.1.0.dist-info/entry_points.txt +0 -2
- pylibsparseir-0.1.0.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,862 @@
|
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
|
2
|
+
// for linear algebra.
|
|
3
|
+
//
|
|
4
|
+
// Copyright (C) 2008-2009 Guillaume Saupin <guillaume.saupin@cea.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
|
+
#ifndef EIGEN_SKYLINEMATRIX_H
|
|
11
|
+
#define EIGEN_SKYLINEMATRIX_H
|
|
12
|
+
|
|
13
|
+
#include "SkylineStorage.h"
|
|
14
|
+
#include "SkylineMatrixBase.h"
|
|
15
|
+
|
|
16
|
+
namespace Eigen {
|
|
17
|
+
|
|
18
|
+
/** \ingroup Skyline_Module
|
|
19
|
+
*
|
|
20
|
+
* \class SkylineMatrix
|
|
21
|
+
*
|
|
22
|
+
* \brief The main skyline matrix class
|
|
23
|
+
*
|
|
24
|
+
* This class implements a skyline matrix using the very uncommon storage
|
|
25
|
+
* scheme.
|
|
26
|
+
*
|
|
27
|
+
* \param _Scalar the scalar type, i.e. the type of the coefficients
|
|
28
|
+
* \param _Options Union of bit flags controlling the storage scheme. Currently the only possibility
|
|
29
|
+
* is RowMajor. The default is 0 which means column-major.
|
|
30
|
+
*
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
namespace internal {
|
|
34
|
+
template<typename _Scalar, int _Options>
|
|
35
|
+
struct traits<SkylineMatrix<_Scalar, _Options> > {
|
|
36
|
+
typedef _Scalar Scalar;
|
|
37
|
+
typedef Sparse StorageKind;
|
|
38
|
+
|
|
39
|
+
enum {
|
|
40
|
+
RowsAtCompileTime = Dynamic,
|
|
41
|
+
ColsAtCompileTime = Dynamic,
|
|
42
|
+
MaxRowsAtCompileTime = Dynamic,
|
|
43
|
+
MaxColsAtCompileTime = Dynamic,
|
|
44
|
+
Flags = SkylineBit | _Options,
|
|
45
|
+
CoeffReadCost = NumTraits<Scalar>::ReadCost,
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
template<typename _Scalar, int _Options>
|
|
51
|
+
class SkylineMatrix
|
|
52
|
+
: public SkylineMatrixBase<SkylineMatrix<_Scalar, _Options> > {
|
|
53
|
+
public:
|
|
54
|
+
EIGEN_SKYLINE_GENERIC_PUBLIC_INTERFACE(SkylineMatrix)
|
|
55
|
+
EIGEN_SKYLINE_INHERIT_ASSIGNMENT_OPERATOR(SkylineMatrix, +=)
|
|
56
|
+
EIGEN_SKYLINE_INHERIT_ASSIGNMENT_OPERATOR(SkylineMatrix, -=)
|
|
57
|
+
|
|
58
|
+
using Base::IsRowMajor;
|
|
59
|
+
|
|
60
|
+
protected:
|
|
61
|
+
|
|
62
|
+
typedef SkylineMatrix<Scalar, (Flags&~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0) > TransposedSkylineMatrix;
|
|
63
|
+
|
|
64
|
+
Index m_outerSize;
|
|
65
|
+
Index m_innerSize;
|
|
66
|
+
|
|
67
|
+
public:
|
|
68
|
+
Index* m_colStartIndex;
|
|
69
|
+
Index* m_rowStartIndex;
|
|
70
|
+
SkylineStorage<Scalar> m_data;
|
|
71
|
+
|
|
72
|
+
public:
|
|
73
|
+
|
|
74
|
+
inline Index rows() const {
|
|
75
|
+
return IsRowMajor ? m_outerSize : m_innerSize;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
inline Index cols() const {
|
|
79
|
+
return IsRowMajor ? m_innerSize : m_outerSize;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
inline Index innerSize() const {
|
|
83
|
+
return m_innerSize;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
inline Index outerSize() const {
|
|
87
|
+
return m_outerSize;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
inline Index upperNonZeros() const {
|
|
91
|
+
return m_data.upperSize();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
inline Index lowerNonZeros() const {
|
|
95
|
+
return m_data.lowerSize();
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
inline Index upperNonZeros(Index j) const {
|
|
99
|
+
return m_colStartIndex[j + 1] - m_colStartIndex[j];
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
inline Index lowerNonZeros(Index j) const {
|
|
103
|
+
return m_rowStartIndex[j + 1] - m_rowStartIndex[j];
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
inline const Scalar* _diagPtr() const {
|
|
107
|
+
return &m_data.diag(0);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
inline Scalar* _diagPtr() {
|
|
111
|
+
return &m_data.diag(0);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
inline const Scalar* _upperPtr() const {
|
|
115
|
+
return &m_data.upper(0);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
inline Scalar* _upperPtr() {
|
|
119
|
+
return &m_data.upper(0);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
inline const Scalar* _lowerPtr() const {
|
|
123
|
+
return &m_data.lower(0);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
inline Scalar* _lowerPtr() {
|
|
127
|
+
return &m_data.lower(0);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
inline const Index* _upperProfilePtr() const {
|
|
131
|
+
return &m_data.upperProfile(0);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
inline Index* _upperProfilePtr() {
|
|
135
|
+
return &m_data.upperProfile(0);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
inline const Index* _lowerProfilePtr() const {
|
|
139
|
+
return &m_data.lowerProfile(0);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
inline Index* _lowerProfilePtr() {
|
|
143
|
+
return &m_data.lowerProfile(0);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
inline Scalar coeff(Index row, Index col) const {
|
|
147
|
+
const Index outer = IsRowMajor ? row : col;
|
|
148
|
+
const Index inner = IsRowMajor ? col : row;
|
|
149
|
+
|
|
150
|
+
eigen_assert(outer < outerSize());
|
|
151
|
+
eigen_assert(inner < innerSize());
|
|
152
|
+
|
|
153
|
+
if (outer == inner)
|
|
154
|
+
return this->m_data.diag(outer);
|
|
155
|
+
|
|
156
|
+
if (IsRowMajor) {
|
|
157
|
+
if (inner > outer) //upper matrix
|
|
158
|
+
{
|
|
159
|
+
const Index minOuterIndex = inner - m_data.upperProfile(inner);
|
|
160
|
+
if (outer >= minOuterIndex)
|
|
161
|
+
return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
|
|
162
|
+
else
|
|
163
|
+
return Scalar(0);
|
|
164
|
+
}
|
|
165
|
+
if (inner < outer) //lower matrix
|
|
166
|
+
{
|
|
167
|
+
const Index minInnerIndex = outer - m_data.lowerProfile(outer);
|
|
168
|
+
if (inner >= minInnerIndex)
|
|
169
|
+
return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
|
|
170
|
+
else
|
|
171
|
+
return Scalar(0);
|
|
172
|
+
}
|
|
173
|
+
return m_data.upper(m_colStartIndex[inner] + outer - inner);
|
|
174
|
+
} else {
|
|
175
|
+
if (outer > inner) //upper matrix
|
|
176
|
+
{
|
|
177
|
+
const Index maxOuterIndex = inner + m_data.upperProfile(inner);
|
|
178
|
+
if (outer <= maxOuterIndex)
|
|
179
|
+
return this->m_data.upper(m_colStartIndex[inner] + (outer - inner));
|
|
180
|
+
else
|
|
181
|
+
return Scalar(0);
|
|
182
|
+
}
|
|
183
|
+
if (outer < inner) //lower matrix
|
|
184
|
+
{
|
|
185
|
+
const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
|
|
186
|
+
|
|
187
|
+
if (inner <= maxInnerIndex)
|
|
188
|
+
return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer));
|
|
189
|
+
else
|
|
190
|
+
return Scalar(0);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
inline Scalar& coeffRef(Index row, Index col) {
|
|
196
|
+
const Index outer = IsRowMajor ? row : col;
|
|
197
|
+
const Index inner = IsRowMajor ? col : row;
|
|
198
|
+
|
|
199
|
+
eigen_assert(outer < outerSize());
|
|
200
|
+
eigen_assert(inner < innerSize());
|
|
201
|
+
|
|
202
|
+
if (outer == inner)
|
|
203
|
+
return this->m_data.diag(outer);
|
|
204
|
+
|
|
205
|
+
if (IsRowMajor) {
|
|
206
|
+
if (col > row) //upper matrix
|
|
207
|
+
{
|
|
208
|
+
const Index minOuterIndex = inner - m_data.upperProfile(inner);
|
|
209
|
+
eigen_assert(outer >= minOuterIndex && "You tried to access a coeff that does not exist in the storage");
|
|
210
|
+
return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
|
|
211
|
+
}
|
|
212
|
+
if (col < row) //lower matrix
|
|
213
|
+
{
|
|
214
|
+
const Index minInnerIndex = outer - m_data.lowerProfile(outer);
|
|
215
|
+
eigen_assert(inner >= minInnerIndex && "You tried to access a coeff that does not exist in the storage");
|
|
216
|
+
return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
|
|
217
|
+
}
|
|
218
|
+
} else {
|
|
219
|
+
if (outer > inner) //upper matrix
|
|
220
|
+
{
|
|
221
|
+
const Index maxOuterIndex = inner + m_data.upperProfile(inner);
|
|
222
|
+
eigen_assert(outer <= maxOuterIndex && "You tried to access a coeff that does not exist in the storage");
|
|
223
|
+
return this->m_data.upper(m_colStartIndex[inner] + (outer - inner));
|
|
224
|
+
}
|
|
225
|
+
if (outer < inner) //lower matrix
|
|
226
|
+
{
|
|
227
|
+
const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
|
|
228
|
+
eigen_assert(inner <= maxInnerIndex && "You tried to access a coeff that does not exist in the storage");
|
|
229
|
+
return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer));
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
inline Scalar coeffDiag(Index idx) const {
|
|
235
|
+
eigen_assert(idx < outerSize());
|
|
236
|
+
eigen_assert(idx < innerSize());
|
|
237
|
+
return this->m_data.diag(idx);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
inline Scalar coeffLower(Index row, Index col) const {
|
|
241
|
+
const Index outer = IsRowMajor ? row : col;
|
|
242
|
+
const Index inner = IsRowMajor ? col : row;
|
|
243
|
+
|
|
244
|
+
eigen_assert(outer < outerSize());
|
|
245
|
+
eigen_assert(inner < innerSize());
|
|
246
|
+
eigen_assert(inner != outer);
|
|
247
|
+
|
|
248
|
+
if (IsRowMajor) {
|
|
249
|
+
const Index minInnerIndex = outer - m_data.lowerProfile(outer);
|
|
250
|
+
if (inner >= minInnerIndex)
|
|
251
|
+
return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
|
|
252
|
+
else
|
|
253
|
+
return Scalar(0);
|
|
254
|
+
|
|
255
|
+
} else {
|
|
256
|
+
const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
|
|
257
|
+
if (inner <= maxInnerIndex)
|
|
258
|
+
return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer));
|
|
259
|
+
else
|
|
260
|
+
return Scalar(0);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
inline Scalar coeffUpper(Index row, Index col) const {
|
|
265
|
+
const Index outer = IsRowMajor ? row : col;
|
|
266
|
+
const Index inner = IsRowMajor ? col : row;
|
|
267
|
+
|
|
268
|
+
eigen_assert(outer < outerSize());
|
|
269
|
+
eigen_assert(inner < innerSize());
|
|
270
|
+
eigen_assert(inner != outer);
|
|
271
|
+
|
|
272
|
+
if (IsRowMajor) {
|
|
273
|
+
const Index minOuterIndex = inner - m_data.upperProfile(inner);
|
|
274
|
+
if (outer >= minOuterIndex)
|
|
275
|
+
return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
|
|
276
|
+
else
|
|
277
|
+
return Scalar(0);
|
|
278
|
+
} else {
|
|
279
|
+
const Index maxOuterIndex = inner + m_data.upperProfile(inner);
|
|
280
|
+
if (outer <= maxOuterIndex)
|
|
281
|
+
return this->m_data.upper(m_colStartIndex[inner] + (outer - inner));
|
|
282
|
+
else
|
|
283
|
+
return Scalar(0);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
inline Scalar& coeffRefDiag(Index idx) {
|
|
288
|
+
eigen_assert(idx < outerSize());
|
|
289
|
+
eigen_assert(idx < innerSize());
|
|
290
|
+
return this->m_data.diag(idx);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
inline Scalar& coeffRefLower(Index row, Index col) {
|
|
294
|
+
const Index outer = IsRowMajor ? row : col;
|
|
295
|
+
const Index inner = IsRowMajor ? col : row;
|
|
296
|
+
|
|
297
|
+
eigen_assert(outer < outerSize());
|
|
298
|
+
eigen_assert(inner < innerSize());
|
|
299
|
+
eigen_assert(inner != outer);
|
|
300
|
+
|
|
301
|
+
if (IsRowMajor) {
|
|
302
|
+
const Index minInnerIndex = outer - m_data.lowerProfile(outer);
|
|
303
|
+
eigen_assert(inner >= minInnerIndex && "You tried to access a coeff that does not exist in the storage");
|
|
304
|
+
return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
|
|
305
|
+
} else {
|
|
306
|
+
const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
|
|
307
|
+
eigen_assert(inner <= maxInnerIndex && "You tried to access a coeff that does not exist in the storage");
|
|
308
|
+
return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer));
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
inline bool coeffExistLower(Index row, Index col) {
|
|
313
|
+
const Index outer = IsRowMajor ? row : col;
|
|
314
|
+
const Index inner = IsRowMajor ? col : row;
|
|
315
|
+
|
|
316
|
+
eigen_assert(outer < outerSize());
|
|
317
|
+
eigen_assert(inner < innerSize());
|
|
318
|
+
eigen_assert(inner != outer);
|
|
319
|
+
|
|
320
|
+
if (IsRowMajor) {
|
|
321
|
+
const Index minInnerIndex = outer - m_data.lowerProfile(outer);
|
|
322
|
+
return inner >= minInnerIndex;
|
|
323
|
+
} else {
|
|
324
|
+
const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
|
|
325
|
+
return inner <= maxInnerIndex;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
inline Scalar& coeffRefUpper(Index row, Index col) {
|
|
330
|
+
const Index outer = IsRowMajor ? row : col;
|
|
331
|
+
const Index inner = IsRowMajor ? col : row;
|
|
332
|
+
|
|
333
|
+
eigen_assert(outer < outerSize());
|
|
334
|
+
eigen_assert(inner < innerSize());
|
|
335
|
+
eigen_assert(inner != outer);
|
|
336
|
+
|
|
337
|
+
if (IsRowMajor) {
|
|
338
|
+
const Index minOuterIndex = inner - m_data.upperProfile(inner);
|
|
339
|
+
eigen_assert(outer >= minOuterIndex && "You tried to access a coeff that does not exist in the storage");
|
|
340
|
+
return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
|
|
341
|
+
} else {
|
|
342
|
+
const Index maxOuterIndex = inner + m_data.upperProfile(inner);
|
|
343
|
+
eigen_assert(outer <= maxOuterIndex && "You tried to access a coeff that does not exist in the storage");
|
|
344
|
+
return this->m_data.upper(m_colStartIndex[inner] + (outer - inner));
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
inline bool coeffExistUpper(Index row, Index col) {
|
|
349
|
+
const Index outer = IsRowMajor ? row : col;
|
|
350
|
+
const Index inner = IsRowMajor ? col : row;
|
|
351
|
+
|
|
352
|
+
eigen_assert(outer < outerSize());
|
|
353
|
+
eigen_assert(inner < innerSize());
|
|
354
|
+
eigen_assert(inner != outer);
|
|
355
|
+
|
|
356
|
+
if (IsRowMajor) {
|
|
357
|
+
const Index minOuterIndex = inner - m_data.upperProfile(inner);
|
|
358
|
+
return outer >= minOuterIndex;
|
|
359
|
+
} else {
|
|
360
|
+
const Index maxOuterIndex = inner + m_data.upperProfile(inner);
|
|
361
|
+
return outer <= maxOuterIndex;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
protected:
|
|
367
|
+
|
|
368
|
+
public:
|
|
369
|
+
class InnerUpperIterator;
|
|
370
|
+
class InnerLowerIterator;
|
|
371
|
+
|
|
372
|
+
class OuterUpperIterator;
|
|
373
|
+
class OuterLowerIterator;
|
|
374
|
+
|
|
375
|
+
/** Removes all non zeros */
|
|
376
|
+
inline void setZero() {
|
|
377
|
+
m_data.clear();
|
|
378
|
+
memset(m_colStartIndex, 0, (m_outerSize + 1) * sizeof (Index));
|
|
379
|
+
memset(m_rowStartIndex, 0, (m_outerSize + 1) * sizeof (Index));
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/** \returns the number of non zero coefficients */
|
|
383
|
+
inline Index nonZeros() const {
|
|
384
|
+
return m_data.diagSize() + m_data.upperSize() + m_data.lowerSize();
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/** Preallocates \a reserveSize non zeros */
|
|
388
|
+
inline void reserve(Index reserveSize, Index reserveUpperSize, Index reserveLowerSize) {
|
|
389
|
+
m_data.reserve(reserveSize, reserveUpperSize, reserveLowerSize);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/** \returns a reference to a novel non zero coefficient with coordinates \a row x \a col.
|
|
393
|
+
|
|
394
|
+
*
|
|
395
|
+
* \warning This function can be extremely slow if the non zero coefficients
|
|
396
|
+
* are not inserted in a coherent order.
|
|
397
|
+
*
|
|
398
|
+
* After an insertion session, you should call the finalize() function.
|
|
399
|
+
*/
|
|
400
|
+
EIGEN_DONT_INLINE Scalar & insert(Index row, Index col) {
|
|
401
|
+
const Index outer = IsRowMajor ? row : col;
|
|
402
|
+
const Index inner = IsRowMajor ? col : row;
|
|
403
|
+
|
|
404
|
+
eigen_assert(outer < outerSize());
|
|
405
|
+
eigen_assert(inner < innerSize());
|
|
406
|
+
|
|
407
|
+
if (outer == inner)
|
|
408
|
+
return m_data.diag(col);
|
|
409
|
+
|
|
410
|
+
if (IsRowMajor) {
|
|
411
|
+
if (outer < inner) //upper matrix
|
|
412
|
+
{
|
|
413
|
+
Index minOuterIndex = 0;
|
|
414
|
+
minOuterIndex = inner - m_data.upperProfile(inner);
|
|
415
|
+
|
|
416
|
+
if (outer < minOuterIndex) //The value does not yet exist
|
|
417
|
+
{
|
|
418
|
+
const Index previousProfile = m_data.upperProfile(inner);
|
|
419
|
+
|
|
420
|
+
m_data.upperProfile(inner) = inner - outer;
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
const Index bandIncrement = m_data.upperProfile(inner) - previousProfile;
|
|
424
|
+
//shift data stored after this new one
|
|
425
|
+
const Index stop = m_colStartIndex[cols()];
|
|
426
|
+
const Index start = m_colStartIndex[inner];
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
for (Index innerIdx = stop; innerIdx >= start; innerIdx--) {
|
|
430
|
+
m_data.upper(innerIdx + bandIncrement) = m_data.upper(innerIdx);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
for (Index innerIdx = cols(); innerIdx > inner; innerIdx--) {
|
|
434
|
+
m_colStartIndex[innerIdx] += bandIncrement;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
//zeros new data
|
|
438
|
+
memset(this->_upperPtr() + start, 0, (bandIncrement - 1) * sizeof (Scalar));
|
|
439
|
+
|
|
440
|
+
return m_data.upper(m_colStartIndex[inner]);
|
|
441
|
+
} else {
|
|
442
|
+
return m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner)));
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
if (outer > inner) //lower matrix
|
|
447
|
+
{
|
|
448
|
+
const Index minInnerIndex = outer - m_data.lowerProfile(outer);
|
|
449
|
+
if (inner < minInnerIndex) //The value does not yet exist
|
|
450
|
+
{
|
|
451
|
+
const Index previousProfile = m_data.lowerProfile(outer);
|
|
452
|
+
m_data.lowerProfile(outer) = outer - inner;
|
|
453
|
+
|
|
454
|
+
const Index bandIncrement = m_data.lowerProfile(outer) - previousProfile;
|
|
455
|
+
//shift data stored after this new one
|
|
456
|
+
const Index stop = m_rowStartIndex[rows()];
|
|
457
|
+
const Index start = m_rowStartIndex[outer];
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
for (Index innerIdx = stop; innerIdx >= start; innerIdx--) {
|
|
461
|
+
m_data.lower(innerIdx + bandIncrement) = m_data.lower(innerIdx);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
for (Index innerIdx = rows(); innerIdx > outer; innerIdx--) {
|
|
465
|
+
m_rowStartIndex[innerIdx] += bandIncrement;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
//zeros new data
|
|
469
|
+
memset(this->_lowerPtr() + start, 0, (bandIncrement - 1) * sizeof (Scalar));
|
|
470
|
+
return m_data.lower(m_rowStartIndex[outer]);
|
|
471
|
+
} else {
|
|
472
|
+
return m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer)));
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
} else {
|
|
476
|
+
if (outer > inner) //upper matrix
|
|
477
|
+
{
|
|
478
|
+
const Index maxOuterIndex = inner + m_data.upperProfile(inner);
|
|
479
|
+
if (outer > maxOuterIndex) //The value does not yet exist
|
|
480
|
+
{
|
|
481
|
+
const Index previousProfile = m_data.upperProfile(inner);
|
|
482
|
+
m_data.upperProfile(inner) = outer - inner;
|
|
483
|
+
|
|
484
|
+
const Index bandIncrement = m_data.upperProfile(inner) - previousProfile;
|
|
485
|
+
//shift data stored after this new one
|
|
486
|
+
const Index stop = m_rowStartIndex[rows()];
|
|
487
|
+
const Index start = m_rowStartIndex[inner + 1];
|
|
488
|
+
|
|
489
|
+
for (Index innerIdx = stop; innerIdx >= start; innerIdx--) {
|
|
490
|
+
m_data.upper(innerIdx + bandIncrement) = m_data.upper(innerIdx);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
for (Index innerIdx = inner + 1; innerIdx < outerSize() + 1; innerIdx++) {
|
|
494
|
+
m_rowStartIndex[innerIdx] += bandIncrement;
|
|
495
|
+
}
|
|
496
|
+
memset(this->_upperPtr() + m_rowStartIndex[inner] + previousProfile + 1, 0, (bandIncrement - 1) * sizeof (Scalar));
|
|
497
|
+
return m_data.upper(m_rowStartIndex[inner] + m_data.upperProfile(inner));
|
|
498
|
+
} else {
|
|
499
|
+
return m_data.upper(m_rowStartIndex[inner] + (outer - inner));
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
if (outer < inner) //lower matrix
|
|
504
|
+
{
|
|
505
|
+
const Index maxInnerIndex = outer + m_data.lowerProfile(outer);
|
|
506
|
+
if (inner > maxInnerIndex) //The value does not yet exist
|
|
507
|
+
{
|
|
508
|
+
const Index previousProfile = m_data.lowerProfile(outer);
|
|
509
|
+
m_data.lowerProfile(outer) = inner - outer;
|
|
510
|
+
|
|
511
|
+
const Index bandIncrement = m_data.lowerProfile(outer) - previousProfile;
|
|
512
|
+
//shift data stored after this new one
|
|
513
|
+
const Index stop = m_colStartIndex[cols()];
|
|
514
|
+
const Index start = m_colStartIndex[outer + 1];
|
|
515
|
+
|
|
516
|
+
for (Index innerIdx = stop; innerIdx >= start; innerIdx--) {
|
|
517
|
+
m_data.lower(innerIdx + bandIncrement) = m_data.lower(innerIdx);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
for (Index innerIdx = outer + 1; innerIdx < outerSize() + 1; innerIdx++) {
|
|
521
|
+
m_colStartIndex[innerIdx] += bandIncrement;
|
|
522
|
+
}
|
|
523
|
+
memset(this->_lowerPtr() + m_colStartIndex[outer] + previousProfile + 1, 0, (bandIncrement - 1) * sizeof (Scalar));
|
|
524
|
+
return m_data.lower(m_colStartIndex[outer] + m_data.lowerProfile(outer));
|
|
525
|
+
} else {
|
|
526
|
+
return m_data.lower(m_colStartIndex[outer] + (inner - outer));
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/** Must be called after inserting a set of non zero entries.
|
|
533
|
+
*/
|
|
534
|
+
inline void finalize() {
|
|
535
|
+
if (IsRowMajor) {
|
|
536
|
+
if (rows() > cols())
|
|
537
|
+
m_data.resize(cols(), cols(), rows(), m_colStartIndex[cols()] + 1, m_rowStartIndex[rows()] + 1);
|
|
538
|
+
else
|
|
539
|
+
m_data.resize(rows(), cols(), rows(), m_colStartIndex[cols()] + 1, m_rowStartIndex[rows()] + 1);
|
|
540
|
+
|
|
541
|
+
// eigen_assert(rows() == cols() && "memory reorganisatrion only works with suare matrix");
|
|
542
|
+
//
|
|
543
|
+
// Scalar* newArray = new Scalar[m_colStartIndex[cols()] + 1 + m_rowStartIndex[rows()] + 1];
|
|
544
|
+
// Index dataIdx = 0;
|
|
545
|
+
// for (Index row = 0; row < rows(); row++) {
|
|
546
|
+
//
|
|
547
|
+
// const Index nbLowerElts = m_rowStartIndex[row + 1] - m_rowStartIndex[row];
|
|
548
|
+
// // std::cout << "nbLowerElts" << nbLowerElts << std::endl;
|
|
549
|
+
// memcpy(newArray + dataIdx, m_data.m_lower + m_rowStartIndex[row], nbLowerElts * sizeof (Scalar));
|
|
550
|
+
// m_rowStartIndex[row] = dataIdx;
|
|
551
|
+
// dataIdx += nbLowerElts;
|
|
552
|
+
//
|
|
553
|
+
// const Index nbUpperElts = m_colStartIndex[row + 1] - m_colStartIndex[row];
|
|
554
|
+
// memcpy(newArray + dataIdx, m_data.m_upper + m_colStartIndex[row], nbUpperElts * sizeof (Scalar));
|
|
555
|
+
// m_colStartIndex[row] = dataIdx;
|
|
556
|
+
// dataIdx += nbUpperElts;
|
|
557
|
+
//
|
|
558
|
+
//
|
|
559
|
+
// }
|
|
560
|
+
// //todo : don't access m_data profile directly : add an accessor from SkylineMatrix
|
|
561
|
+
// m_rowStartIndex[rows()] = m_rowStartIndex[rows()-1] + m_data.lowerProfile(rows()-1);
|
|
562
|
+
// m_colStartIndex[cols()] = m_colStartIndex[cols()-1] + m_data.upperProfile(cols()-1);
|
|
563
|
+
//
|
|
564
|
+
// delete[] m_data.m_lower;
|
|
565
|
+
// delete[] m_data.m_upper;
|
|
566
|
+
//
|
|
567
|
+
// m_data.m_lower = newArray;
|
|
568
|
+
// m_data.m_upper = newArray;
|
|
569
|
+
} else {
|
|
570
|
+
if (rows() > cols())
|
|
571
|
+
m_data.resize(cols(), rows(), cols(), m_rowStartIndex[cols()] + 1, m_colStartIndex[cols()] + 1);
|
|
572
|
+
else
|
|
573
|
+
m_data.resize(rows(), rows(), cols(), m_rowStartIndex[rows()] + 1, m_colStartIndex[rows()] + 1);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
inline void squeeze() {
|
|
578
|
+
finalize();
|
|
579
|
+
m_data.squeeze();
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
void prune(Scalar reference, RealScalar epsilon = dummy_precision<RealScalar > ()) {
|
|
583
|
+
//TODO
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/** Resizes the matrix to a \a rows x \a cols matrix and initializes it to zero
|
|
587
|
+
* \sa resizeNonZeros(Index), reserve(), setZero()
|
|
588
|
+
*/
|
|
589
|
+
void resize(size_t rows, size_t cols) {
|
|
590
|
+
const Index diagSize = rows > cols ? cols : rows;
|
|
591
|
+
m_innerSize = IsRowMajor ? cols : rows;
|
|
592
|
+
|
|
593
|
+
eigen_assert(rows == cols && "Skyline matrix must be square matrix");
|
|
594
|
+
|
|
595
|
+
if (diagSize % 2) { // diagSize is odd
|
|
596
|
+
const Index k = (diagSize - 1) / 2;
|
|
597
|
+
|
|
598
|
+
m_data.resize(diagSize, IsRowMajor ? cols : rows, IsRowMajor ? rows : cols,
|
|
599
|
+
2 * k * k + k + 1,
|
|
600
|
+
2 * k * k + k + 1);
|
|
601
|
+
|
|
602
|
+
} else // diagSize is even
|
|
603
|
+
{
|
|
604
|
+
const Index k = diagSize / 2;
|
|
605
|
+
m_data.resize(diagSize, IsRowMajor ? cols : rows, IsRowMajor ? rows : cols,
|
|
606
|
+
2 * k * k - k + 1,
|
|
607
|
+
2 * k * k - k + 1);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
if (m_colStartIndex && m_rowStartIndex) {
|
|
611
|
+
delete[] m_colStartIndex;
|
|
612
|
+
delete[] m_rowStartIndex;
|
|
613
|
+
}
|
|
614
|
+
m_colStartIndex = new Index [cols + 1];
|
|
615
|
+
m_rowStartIndex = new Index [rows + 1];
|
|
616
|
+
m_outerSize = diagSize;
|
|
617
|
+
|
|
618
|
+
m_data.reset();
|
|
619
|
+
m_data.clear();
|
|
620
|
+
|
|
621
|
+
m_outerSize = diagSize;
|
|
622
|
+
memset(m_colStartIndex, 0, (cols + 1) * sizeof (Index));
|
|
623
|
+
memset(m_rowStartIndex, 0, (rows + 1) * sizeof (Index));
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
void resizeNonZeros(Index size) {
|
|
627
|
+
m_data.resize(size);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
inline SkylineMatrix()
|
|
631
|
+
: m_outerSize(-1), m_innerSize(0), m_colStartIndex(0), m_rowStartIndex(0) {
|
|
632
|
+
resize(0, 0);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
inline SkylineMatrix(size_t rows, size_t cols)
|
|
636
|
+
: m_outerSize(0), m_innerSize(0), m_colStartIndex(0), m_rowStartIndex(0) {
|
|
637
|
+
resize(rows, cols);
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
template<typename OtherDerived>
|
|
641
|
+
inline SkylineMatrix(const SkylineMatrixBase<OtherDerived>& other)
|
|
642
|
+
: m_outerSize(0), m_innerSize(0), m_colStartIndex(0), m_rowStartIndex(0) {
|
|
643
|
+
*this = other.derived();
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
inline SkylineMatrix(const SkylineMatrix & other)
|
|
647
|
+
: Base(), m_outerSize(0), m_innerSize(0), m_colStartIndex(0), m_rowStartIndex(0) {
|
|
648
|
+
*this = other.derived();
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
inline void swap(SkylineMatrix & other) {
|
|
652
|
+
//EIGEN_DBG_SKYLINE(std::cout << "SkylineMatrix:: swap\n");
|
|
653
|
+
std::swap(m_colStartIndex, other.m_colStartIndex);
|
|
654
|
+
std::swap(m_rowStartIndex, other.m_rowStartIndex);
|
|
655
|
+
std::swap(m_innerSize, other.m_innerSize);
|
|
656
|
+
std::swap(m_outerSize, other.m_outerSize);
|
|
657
|
+
m_data.swap(other.m_data);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
inline SkylineMatrix & operator=(const SkylineMatrix & other) {
|
|
661
|
+
std::cout << "SkylineMatrix& operator=(const SkylineMatrix& other)\n";
|
|
662
|
+
if (other.isRValue()) {
|
|
663
|
+
swap(other.const_cast_derived());
|
|
664
|
+
} else {
|
|
665
|
+
resize(other.rows(), other.cols());
|
|
666
|
+
memcpy(m_colStartIndex, other.m_colStartIndex, (m_outerSize + 1) * sizeof (Index));
|
|
667
|
+
memcpy(m_rowStartIndex, other.m_rowStartIndex, (m_outerSize + 1) * sizeof (Index));
|
|
668
|
+
m_data = other.m_data;
|
|
669
|
+
}
|
|
670
|
+
return *this;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
template<typename OtherDerived>
|
|
674
|
+
inline SkylineMatrix & operator=(const SkylineMatrixBase<OtherDerived>& other) {
|
|
675
|
+
const bool needToTranspose = (Flags & RowMajorBit) != (OtherDerived::Flags & RowMajorBit);
|
|
676
|
+
if (needToTranspose) {
|
|
677
|
+
// TODO
|
|
678
|
+
// return *this;
|
|
679
|
+
} else {
|
|
680
|
+
// there is no special optimization
|
|
681
|
+
return SkylineMatrixBase<SkylineMatrix>::operator=(other.derived());
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
friend std::ostream & operator <<(std::ostream & s, const SkylineMatrix & m) {
|
|
686
|
+
|
|
687
|
+
EIGEN_DBG_SKYLINE(
|
|
688
|
+
std::cout << "upper elements : " << std::endl;
|
|
689
|
+
for (Index i = 0; i < m.m_data.upperSize(); i++)
|
|
690
|
+
std::cout << m.m_data.upper(i) << "\t";
|
|
691
|
+
std::cout << std::endl;
|
|
692
|
+
std::cout << "upper profile : " << std::endl;
|
|
693
|
+
for (Index i = 0; i < m.m_data.upperProfileSize(); i++)
|
|
694
|
+
std::cout << m.m_data.upperProfile(i) << "\t";
|
|
695
|
+
std::cout << std::endl;
|
|
696
|
+
std::cout << "lower startIdx : " << std::endl;
|
|
697
|
+
for (Index i = 0; i < m.m_data.upperProfileSize(); i++)
|
|
698
|
+
std::cout << (IsRowMajor ? m.m_colStartIndex[i] : m.m_rowStartIndex[i]) << "\t";
|
|
699
|
+
std::cout << std::endl;
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
std::cout << "lower elements : " << std::endl;
|
|
703
|
+
for (Index i = 0; i < m.m_data.lowerSize(); i++)
|
|
704
|
+
std::cout << m.m_data.lower(i) << "\t";
|
|
705
|
+
std::cout << std::endl;
|
|
706
|
+
std::cout << "lower profile : " << std::endl;
|
|
707
|
+
for (Index i = 0; i < m.m_data.lowerProfileSize(); i++)
|
|
708
|
+
std::cout << m.m_data.lowerProfile(i) << "\t";
|
|
709
|
+
std::cout << std::endl;
|
|
710
|
+
std::cout << "lower startIdx : " << std::endl;
|
|
711
|
+
for (Index i = 0; i < m.m_data.lowerProfileSize(); i++)
|
|
712
|
+
std::cout << (IsRowMajor ? m.m_rowStartIndex[i] : m.m_colStartIndex[i]) << "\t";
|
|
713
|
+
std::cout << std::endl;
|
|
714
|
+
);
|
|
715
|
+
for (Index rowIdx = 0; rowIdx < m.rows(); rowIdx++) {
|
|
716
|
+
for (Index colIdx = 0; colIdx < m.cols(); colIdx++) {
|
|
717
|
+
s << m.coeff(rowIdx, colIdx) << "\t";
|
|
718
|
+
}
|
|
719
|
+
s << std::endl;
|
|
720
|
+
}
|
|
721
|
+
return s;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/** Destructor */
|
|
725
|
+
inline ~SkylineMatrix() {
|
|
726
|
+
delete[] m_colStartIndex;
|
|
727
|
+
delete[] m_rowStartIndex;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/** Overloaded for performance */
|
|
731
|
+
Scalar sum() const;
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
template<typename Scalar, int _Options>
|
|
735
|
+
class SkylineMatrix<Scalar, _Options>::InnerUpperIterator {
|
|
736
|
+
public:
|
|
737
|
+
|
|
738
|
+
InnerUpperIterator(const SkylineMatrix& mat, Index outer)
|
|
739
|
+
: m_matrix(mat), m_outer(outer),
|
|
740
|
+
m_id(_Options == RowMajor ? mat.m_colStartIndex[outer] : mat.m_rowStartIndex[outer] + 1),
|
|
741
|
+
m_start(m_id),
|
|
742
|
+
m_end(_Options == RowMajor ? mat.m_colStartIndex[outer + 1] : mat.m_rowStartIndex[outer + 1] + 1) {
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
inline InnerUpperIterator & operator++() {
|
|
746
|
+
m_id++;
|
|
747
|
+
return *this;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
inline InnerUpperIterator & operator+=(Index shift) {
|
|
751
|
+
m_id += shift;
|
|
752
|
+
return *this;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
inline Scalar value() const {
|
|
756
|
+
return m_matrix.m_data.upper(m_id);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
inline Scalar* valuePtr() {
|
|
760
|
+
return const_cast<Scalar*> (&(m_matrix.m_data.upper(m_id)));
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
inline Scalar& valueRef() {
|
|
764
|
+
return const_cast<Scalar&> (m_matrix.m_data.upper(m_id));
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
inline Index index() const {
|
|
768
|
+
return IsRowMajor ? m_outer - m_matrix.m_data.upperProfile(m_outer) + (m_id - m_start) :
|
|
769
|
+
m_outer + (m_id - m_start) + 1;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
inline Index row() const {
|
|
773
|
+
return IsRowMajor ? index() : m_outer;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
inline Index col() const {
|
|
777
|
+
return IsRowMajor ? m_outer : index();
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
inline size_t size() const {
|
|
781
|
+
return m_matrix.m_data.upperProfile(m_outer);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
inline operator bool() const {
|
|
785
|
+
return (m_id < m_end) && (m_id >= m_start);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
protected:
|
|
789
|
+
const SkylineMatrix& m_matrix;
|
|
790
|
+
const Index m_outer;
|
|
791
|
+
Index m_id;
|
|
792
|
+
const Index m_start;
|
|
793
|
+
const Index m_end;
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
template<typename Scalar, int _Options>
|
|
797
|
+
class SkylineMatrix<Scalar, _Options>::InnerLowerIterator {
|
|
798
|
+
public:
|
|
799
|
+
|
|
800
|
+
InnerLowerIterator(const SkylineMatrix& mat, Index outer)
|
|
801
|
+
: m_matrix(mat),
|
|
802
|
+
m_outer(outer),
|
|
803
|
+
m_id(_Options == RowMajor ? mat.m_rowStartIndex[outer] : mat.m_colStartIndex[outer] + 1),
|
|
804
|
+
m_start(m_id),
|
|
805
|
+
m_end(_Options == RowMajor ? mat.m_rowStartIndex[outer + 1] : mat.m_colStartIndex[outer + 1] + 1) {
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
inline InnerLowerIterator & operator++() {
|
|
809
|
+
m_id++;
|
|
810
|
+
return *this;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
inline InnerLowerIterator & operator+=(Index shift) {
|
|
814
|
+
m_id += shift;
|
|
815
|
+
return *this;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
inline Scalar value() const {
|
|
819
|
+
return m_matrix.m_data.lower(m_id);
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
inline Scalar* valuePtr() {
|
|
823
|
+
return const_cast<Scalar*> (&(m_matrix.m_data.lower(m_id)));
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
inline Scalar& valueRef() {
|
|
827
|
+
return const_cast<Scalar&> (m_matrix.m_data.lower(m_id));
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
inline Index index() const {
|
|
831
|
+
return IsRowMajor ? m_outer - m_matrix.m_data.lowerProfile(m_outer) + (m_id - m_start) :
|
|
832
|
+
m_outer + (m_id - m_start) + 1;
|
|
833
|
+
;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
inline Index row() const {
|
|
837
|
+
return IsRowMajor ? m_outer : index();
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
inline Index col() const {
|
|
841
|
+
return IsRowMajor ? index() : m_outer;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
inline size_t size() const {
|
|
845
|
+
return m_matrix.m_data.lowerProfile(m_outer);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
inline operator bool() const {
|
|
849
|
+
return (m_id < m_end) && (m_id >= m_start);
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
protected:
|
|
853
|
+
const SkylineMatrix& m_matrix;
|
|
854
|
+
const Index m_outer;
|
|
855
|
+
Index m_id;
|
|
856
|
+
const Index m_start;
|
|
857
|
+
const Index m_end;
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
} // end namespace Eigen
|
|
861
|
+
|
|
862
|
+
#endif // EIGEN_SKYLINEMATRIX_H
|