umappp 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +25 -0
- data/README.md +110 -0
- data/ext/umappp/extconf.rb +25 -0
- data/ext/umappp/numo.hpp +867 -0
- data/ext/umappp/umappp.cpp +225 -0
- data/lib/umappp/version.rb +5 -0
- data/lib/umappp.rb +41 -0
- data/vendor/Eigen/Cholesky +45 -0
- data/vendor/Eigen/CholmodSupport +48 -0
- data/vendor/Eigen/Core +384 -0
- data/vendor/Eigen/Dense +7 -0
- data/vendor/Eigen/Eigen +2 -0
- data/vendor/Eigen/Eigenvalues +60 -0
- data/vendor/Eigen/Geometry +59 -0
- data/vendor/Eigen/Householder +29 -0
- data/vendor/Eigen/IterativeLinearSolvers +48 -0
- data/vendor/Eigen/Jacobi +32 -0
- data/vendor/Eigen/KLUSupport +41 -0
- data/vendor/Eigen/LU +47 -0
- data/vendor/Eigen/MetisSupport +35 -0
- data/vendor/Eigen/OrderingMethods +70 -0
- data/vendor/Eigen/PaStiXSupport +49 -0
- data/vendor/Eigen/PardisoSupport +35 -0
- data/vendor/Eigen/QR +50 -0
- data/vendor/Eigen/QtAlignedMalloc +39 -0
- data/vendor/Eigen/SPQRSupport +34 -0
- data/vendor/Eigen/SVD +50 -0
- data/vendor/Eigen/Sparse +34 -0
- data/vendor/Eigen/SparseCholesky +37 -0
- data/vendor/Eigen/SparseCore +69 -0
- data/vendor/Eigen/SparseLU +50 -0
- data/vendor/Eigen/SparseQR +36 -0
- data/vendor/Eigen/StdDeque +27 -0
- data/vendor/Eigen/StdList +26 -0
- data/vendor/Eigen/StdVector +27 -0
- data/vendor/Eigen/SuperLUSupport +64 -0
- data/vendor/Eigen/UmfPackSupport +40 -0
- data/vendor/Eigen/src/Cholesky/LDLT.h +688 -0
- data/vendor/Eigen/src/Cholesky/LLT.h +558 -0
- data/vendor/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- data/vendor/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
- data/vendor/Eigen/src/Core/ArithmeticSequence.h +413 -0
- data/vendor/Eigen/src/Core/Array.h +417 -0
- data/vendor/Eigen/src/Core/ArrayBase.h +226 -0
- data/vendor/Eigen/src/Core/ArrayWrapper.h +209 -0
- data/vendor/Eigen/src/Core/Assign.h +90 -0
- data/vendor/Eigen/src/Core/AssignEvaluator.h +1010 -0
- data/vendor/Eigen/src/Core/Assign_MKL.h +178 -0
- data/vendor/Eigen/src/Core/BandMatrix.h +353 -0
- data/vendor/Eigen/src/Core/Block.h +448 -0
- data/vendor/Eigen/src/Core/BooleanRedux.h +162 -0
- data/vendor/Eigen/src/Core/CommaInitializer.h +164 -0
- data/vendor/Eigen/src/Core/ConditionEstimator.h +175 -0
- data/vendor/Eigen/src/Core/CoreEvaluators.h +1741 -0
- data/vendor/Eigen/src/Core/CoreIterators.h +132 -0
- data/vendor/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- data/vendor/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- data/vendor/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- data/vendor/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- data/vendor/Eigen/src/Core/CwiseUnaryView.h +132 -0
- data/vendor/Eigen/src/Core/DenseBase.h +701 -0
- data/vendor/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- data/vendor/Eigen/src/Core/DenseStorage.h +652 -0
- data/vendor/Eigen/src/Core/Diagonal.h +258 -0
- data/vendor/Eigen/src/Core/DiagonalMatrix.h +391 -0
- data/vendor/Eigen/src/Core/DiagonalProduct.h +28 -0
- data/vendor/Eigen/src/Core/Dot.h +318 -0
- data/vendor/Eigen/src/Core/EigenBase.h +160 -0
- data/vendor/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- data/vendor/Eigen/src/Core/Fuzzy.h +155 -0
- data/vendor/Eigen/src/Core/GeneralProduct.h +465 -0
- data/vendor/Eigen/src/Core/GenericPacketMath.h +1040 -0
- data/vendor/Eigen/src/Core/GlobalFunctions.h +194 -0
- data/vendor/Eigen/src/Core/IO.h +258 -0
- data/vendor/Eigen/src/Core/IndexedView.h +237 -0
- data/vendor/Eigen/src/Core/Inverse.h +117 -0
- data/vendor/Eigen/src/Core/Map.h +171 -0
- data/vendor/Eigen/src/Core/MapBase.h +310 -0
- data/vendor/Eigen/src/Core/MathFunctions.h +2057 -0
- data/vendor/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- data/vendor/Eigen/src/Core/Matrix.h +565 -0
- data/vendor/Eigen/src/Core/MatrixBase.h +547 -0
- data/vendor/Eigen/src/Core/NestByValue.h +85 -0
- data/vendor/Eigen/src/Core/NoAlias.h +109 -0
- data/vendor/Eigen/src/Core/NumTraits.h +335 -0
- data/vendor/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
- data/vendor/Eigen/src/Core/PermutationMatrix.h +605 -0
- data/vendor/Eigen/src/Core/PlainObjectBase.h +1128 -0
- data/vendor/Eigen/src/Core/Product.h +191 -0
- data/vendor/Eigen/src/Core/ProductEvaluators.h +1179 -0
- data/vendor/Eigen/src/Core/Random.h +218 -0
- data/vendor/Eigen/src/Core/Redux.h +515 -0
- data/vendor/Eigen/src/Core/Ref.h +381 -0
- data/vendor/Eigen/src/Core/Replicate.h +142 -0
- data/vendor/Eigen/src/Core/Reshaped.h +454 -0
- data/vendor/Eigen/src/Core/ReturnByValue.h +119 -0
- data/vendor/Eigen/src/Core/Reverse.h +217 -0
- data/vendor/Eigen/src/Core/Select.h +164 -0
- data/vendor/Eigen/src/Core/SelfAdjointView.h +365 -0
- data/vendor/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- data/vendor/Eigen/src/Core/Solve.h +188 -0
- data/vendor/Eigen/src/Core/SolveTriangular.h +235 -0
- data/vendor/Eigen/src/Core/SolverBase.h +168 -0
- data/vendor/Eigen/src/Core/StableNorm.h +251 -0
- data/vendor/Eigen/src/Core/StlIterators.h +463 -0
- data/vendor/Eigen/src/Core/Stride.h +116 -0
- data/vendor/Eigen/src/Core/Swap.h +68 -0
- data/vendor/Eigen/src/Core/Transpose.h +464 -0
- data/vendor/Eigen/src/Core/Transpositions.h +386 -0
- data/vendor/Eigen/src/Core/TriangularMatrix.h +1001 -0
- data/vendor/Eigen/src/Core/VectorBlock.h +96 -0
- data/vendor/Eigen/src/Core/VectorwiseOp.h +784 -0
- data/vendor/Eigen/src/Core/Visitor.h +381 -0
- data/vendor/Eigen/src/Core/arch/AVX/Complex.h +372 -0
- data/vendor/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- data/vendor/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
- data/vendor/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- data/vendor/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
- data/vendor/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
- data/vendor/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
- data/vendor/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- data/vendor/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
- data/vendor/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
- data/vendor/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
- data/vendor/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
- data/vendor/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
- data/vendor/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
- data/vendor/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
- data/vendor/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
- data/vendor/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- data/vendor/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
- data/vendor/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
- data/vendor/Eigen/src/Core/arch/Default/Half.h +942 -0
- data/vendor/Eigen/src/Core/arch/Default/Settings.h +49 -0
- data/vendor/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- data/vendor/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- data/vendor/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
- data/vendor/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
- data/vendor/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- data/vendor/Eigen/src/Core/arch/MSA/Complex.h +648 -0
- data/vendor/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- data/vendor/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- data/vendor/Eigen/src/Core/arch/NEON/Complex.h +584 -0
- data/vendor/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- data/vendor/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- data/vendor/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
- data/vendor/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
- data/vendor/Eigen/src/Core/arch/SSE/Complex.h +351 -0
- data/vendor/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- data/vendor/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- data/vendor/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- data/vendor/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- data/vendor/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- data/vendor/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- data/vendor/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- data/vendor/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- data/vendor/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- data/vendor/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- data/vendor/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- data/vendor/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
- data/vendor/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- data/vendor/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- data/vendor/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- data/vendor/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- data/vendor/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- data/vendor/Eigen/src/Core/functors/StlFunctors.h +166 -0
- data/vendor/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- data/vendor/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- data/vendor/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- data/vendor/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- data/vendor/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
- data/vendor/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- data/vendor/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- data/vendor/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
- data/vendor/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- data/vendor/Eigen/src/Core/products/Parallelizer.h +180 -0
- data/vendor/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- data/vendor/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- data/vendor/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- data/vendor/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- data/vendor/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- data/vendor/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- data/vendor/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- data/vendor/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- data/vendor/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- data/vendor/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- data/vendor/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- data/vendor/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- data/vendor/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- data/vendor/Eigen/src/Core/util/BlasUtil.h +583 -0
- data/vendor/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
- data/vendor/Eigen/src/Core/util/Constants.h +563 -0
- data/vendor/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
- data/vendor/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- data/vendor/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- data/vendor/Eigen/src/Core/util/IntegralConstant.h +272 -0
- data/vendor/Eigen/src/Core/util/MKL_support.h +137 -0
- data/vendor/Eigen/src/Core/util/Macros.h +1464 -0
- data/vendor/Eigen/src/Core/util/Memory.h +1163 -0
- data/vendor/Eigen/src/Core/util/Meta.h +812 -0
- data/vendor/Eigen/src/Core/util/NonMPL2.h +3 -0
- data/vendor/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- data/vendor/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- data/vendor/Eigen/src/Core/util/StaticAssert.h +221 -0
- data/vendor/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- data/vendor/Eigen/src/Core/util/XprHelper.h +856 -0
- data/vendor/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
- data/vendor/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- data/vendor/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- data/vendor/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- data/vendor/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
- data/vendor/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- data/vendor/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- data/vendor/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- data/vendor/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- data/vendor/Eigen/src/Eigenvalues/RealSchur.h +558 -0
- data/vendor/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- data/vendor/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- data/vendor/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- data/vendor/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
- data/vendor/Eigen/src/Geometry/AlignedBox.h +486 -0
- data/vendor/Eigen/src/Geometry/AngleAxis.h +247 -0
- data/vendor/Eigen/src/Geometry/EulerAngles.h +114 -0
- data/vendor/Eigen/src/Geometry/Homogeneous.h +501 -0
- data/vendor/Eigen/src/Geometry/Hyperplane.h +282 -0
- data/vendor/Eigen/src/Geometry/OrthoMethods.h +235 -0
- data/vendor/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- data/vendor/Eigen/src/Geometry/Quaternion.h +870 -0
- data/vendor/Eigen/src/Geometry/Rotation2D.h +199 -0
- data/vendor/Eigen/src/Geometry/RotationBase.h +206 -0
- data/vendor/Eigen/src/Geometry/Scaling.h +188 -0
- data/vendor/Eigen/src/Geometry/Transform.h +1563 -0
- data/vendor/Eigen/src/Geometry/Translation.h +202 -0
- data/vendor/Eigen/src/Geometry/Umeyama.h +166 -0
- data/vendor/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- data/vendor/Eigen/src/Householder/BlockHouseholder.h +110 -0
- data/vendor/Eigen/src/Householder/Householder.h +176 -0
- data/vendor/Eigen/src/Householder/HouseholderSequence.h +545 -0
- data/vendor/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- data/vendor/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- data/vendor/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
- data/vendor/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- data/vendor/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- data/vendor/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- data/vendor/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- data/vendor/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- data/vendor/Eigen/src/Jacobi/Jacobi.h +483 -0
- data/vendor/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- data/vendor/Eigen/src/LU/Determinant.h +117 -0
- data/vendor/Eigen/src/LU/FullPivLU.h +877 -0
- data/vendor/Eigen/src/LU/InverseImpl.h +432 -0
- data/vendor/Eigen/src/LU/PartialPivLU.h +624 -0
- data/vendor/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- data/vendor/Eigen/src/LU/arch/InverseSize4.h +351 -0
- data/vendor/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- data/vendor/Eigen/src/OrderingMethods/Amd.h +435 -0
- data/vendor/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- data/vendor/Eigen/src/OrderingMethods/Ordering.h +153 -0
- data/vendor/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- data/vendor/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- data/vendor/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- data/vendor/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- data/vendor/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- data/vendor/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- data/vendor/Eigen/src/QR/HouseholderQR.h +434 -0
- data/vendor/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- data/vendor/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- data/vendor/Eigen/src/SVD/BDCSVD.h +1366 -0
- data/vendor/Eigen/src/SVD/JacobiSVD.h +812 -0
- data/vendor/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- data/vendor/Eigen/src/SVD/SVDBase.h +376 -0
- data/vendor/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
- data/vendor/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- data/vendor/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- data/vendor/Eigen/src/SparseCore/AmbiVector.h +378 -0
- data/vendor/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- data/vendor/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- data/vendor/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- data/vendor/Eigen/src/SparseCore/SparseAssign.h +270 -0
- data/vendor/Eigen/src/SparseCore/SparseBlock.h +571 -0
- data/vendor/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- data/vendor/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- data/vendor/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- data/vendor/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- data/vendor/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- data/vendor/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- data/vendor/Eigen/src/SparseCore/SparseDot.h +98 -0
- data/vendor/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- data/vendor/Eigen/src/SparseCore/SparseMap.h +305 -0
- data/vendor/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- data/vendor/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
- data/vendor/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- data/vendor/Eigen/src/SparseCore/SparseProduct.h +181 -0
- data/vendor/Eigen/src/SparseCore/SparseRedux.h +49 -0
- data/vendor/Eigen/src/SparseCore/SparseRef.h +397 -0
- data/vendor/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- data/vendor/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- data/vendor/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- data/vendor/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- data/vendor/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- data/vendor/Eigen/src/SparseCore/SparseUtil.h +186 -0
- data/vendor/Eigen/src/SparseCore/SparseVector.h +478 -0
- data/vendor/Eigen/src/SparseCore/SparseView.h +254 -0
- data/vendor/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- data/vendor/Eigen/src/SparseLU/SparseLU.h +923 -0
- data/vendor/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- data/vendor/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- data/vendor/Eigen/src/SparseQR/SparseQR.h +758 -0
- data/vendor/Eigen/src/StlSupport/StdDeque.h +116 -0
- data/vendor/Eigen/src/StlSupport/StdList.h +106 -0
- data/vendor/Eigen/src/StlSupport/StdVector.h +131 -0
- data/vendor/Eigen/src/StlSupport/details.h +84 -0
- data/vendor/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- data/vendor/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- data/vendor/Eigen/src/misc/Image.h +82 -0
- data/vendor/Eigen/src/misc/Kernel.h +79 -0
- data/vendor/Eigen/src/misc/RealSvd2x2.h +55 -0
- data/vendor/Eigen/src/misc/blas.h +440 -0
- data/vendor/Eigen/src/misc/lapack.h +152 -0
- data/vendor/Eigen/src/misc/lapacke.h +16292 -0
- data/vendor/Eigen/src/misc/lapacke_mangling.h +17 -0
- data/vendor/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
- data/vendor/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- data/vendor/Eigen/src/plugins/BlockMethods.h +1442 -0
- data/vendor/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- data/vendor/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- data/vendor/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- data/vendor/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
- data/vendor/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- data/vendor/Eigen/src/plugins/ReshapedMethods.h +149 -0
- data/vendor/aarand/aarand.hpp +114 -0
- data/vendor/annoy/annoylib.h +1495 -0
- data/vendor/annoy/kissrandom.h +120 -0
- data/vendor/annoy/mman.h +242 -0
- data/vendor/hnswlib/bruteforce.h +152 -0
- data/vendor/hnswlib/hnswalg.h +1192 -0
- data/vendor/hnswlib/hnswlib.h +108 -0
- data/vendor/hnswlib/space_ip.h +282 -0
- data/vendor/hnswlib/space_l2.h +281 -0
- data/vendor/hnswlib/visited_list_pool.h +79 -0
- data/vendor/irlba/irlba.hpp +575 -0
- data/vendor/irlba/lanczos.hpp +212 -0
- data/vendor/irlba/parallel.hpp +474 -0
- data/vendor/irlba/utils.hpp +224 -0
- data/vendor/irlba/wrappers.hpp +228 -0
- data/vendor/kmeans/Base.hpp +75 -0
- data/vendor/kmeans/Details.hpp +79 -0
- data/vendor/kmeans/HartiganWong.hpp +492 -0
- data/vendor/kmeans/InitializeKmeansPP.hpp +144 -0
- data/vendor/kmeans/InitializeNone.hpp +44 -0
- data/vendor/kmeans/InitializePCAPartition.hpp +309 -0
- data/vendor/kmeans/InitializeRandom.hpp +91 -0
- data/vendor/kmeans/Kmeans.hpp +161 -0
- data/vendor/kmeans/Lloyd.hpp +134 -0
- data/vendor/kmeans/MiniBatch.hpp +269 -0
- data/vendor/kmeans/QuickSearch.hpp +179 -0
- data/vendor/kmeans/compute_centroids.hpp +32 -0
- data/vendor/kmeans/compute_wcss.hpp +27 -0
- data/vendor/kmeans/is_edge_case.hpp +42 -0
- data/vendor/kmeans/random.hpp +55 -0
- data/vendor/knncolle/Annoy/Annoy.hpp +193 -0
- data/vendor/knncolle/BruteForce/BruteForce.hpp +120 -0
- data/vendor/knncolle/Hnsw/Hnsw.hpp +225 -0
- data/vendor/knncolle/Kmknn/Kmknn.hpp +286 -0
- data/vendor/knncolle/VpTree/VpTree.hpp +256 -0
- data/vendor/knncolle/knncolle.hpp +34 -0
- data/vendor/knncolle/utils/Base.hpp +100 -0
- data/vendor/knncolle/utils/NeighborQueue.hpp +94 -0
- data/vendor/knncolle/utils/distances.hpp +98 -0
- data/vendor/knncolle/utils/find_nearest_neighbors.hpp +112 -0
- data/vendor/powerit/PowerIterations.hpp +157 -0
- data/vendor/umappp/NeighborList.hpp +37 -0
- data/vendor/umappp/Umap.hpp +662 -0
- data/vendor/umappp/combine_neighbor_sets.hpp +95 -0
- data/vendor/umappp/find_ab.hpp +157 -0
- data/vendor/umappp/neighbor_similarities.hpp +136 -0
- data/vendor/umappp/optimize_layout.hpp +285 -0
- data/vendor/umappp/spectral_init.hpp +181 -0
- data/vendor/umappp/umappp.hpp +13 -0
- metadata +465 -0
data/vendor/Eigen/Core
ADDED
@@ -0,0 +1,384 @@
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
2
|
+
// for linear algebra.
|
3
|
+
//
|
4
|
+
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
|
5
|
+
// Copyright (C) 2007-2011 Benoit Jacob <jacob.benoit.1@gmail.com>
|
6
|
+
//
|
7
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
8
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
9
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
10
|
+
|
11
|
+
#ifndef EIGEN_CORE_H
|
12
|
+
#define EIGEN_CORE_H
|
13
|
+
|
14
|
+
// first thing Eigen does: stop the compiler from reporting useless warnings.
|
15
|
+
#include "src/Core/util/DisableStupidWarnings.h"
|
16
|
+
|
17
|
+
// then include this file where all our macros are defined. It's really important to do it first because
|
18
|
+
// it's where we do all the compiler/OS/arch detections and define most defaults.
|
19
|
+
#include "src/Core/util/Macros.h"
|
20
|
+
|
21
|
+
// This detects SSE/AVX/NEON/etc. and configure alignment settings
|
22
|
+
#include "src/Core/util/ConfigureVectorization.h"
|
23
|
+
|
24
|
+
// We need cuda_runtime.h/hip_runtime.h to ensure that
|
25
|
+
// the EIGEN_USING_STD macro works properly on the device side
|
26
|
+
#if defined(EIGEN_CUDACC)
|
27
|
+
#include <cuda_runtime.h>
|
28
|
+
#elif defined(EIGEN_HIPCC)
|
29
|
+
#include <hip/hip_runtime.h>
|
30
|
+
#endif
|
31
|
+
|
32
|
+
|
33
|
+
#ifdef EIGEN_EXCEPTIONS
|
34
|
+
#include <new>
|
35
|
+
#endif
|
36
|
+
|
37
|
+
// Disable the ipa-cp-clone optimization flag with MinGW 6.x or newer (enabled by default with -O3)
|
38
|
+
// See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=556 for details.
|
39
|
+
#if EIGEN_COMP_MINGW && EIGEN_GNUC_AT_LEAST(4,6) && EIGEN_GNUC_AT_MOST(5,5)
|
40
|
+
#pragma GCC optimize ("-fno-ipa-cp-clone")
|
41
|
+
#endif
|
42
|
+
|
43
|
+
// Prevent ICC from specializing std::complex operators that silently fail
|
44
|
+
// on device. This allows us to use our own device-compatible specializations
|
45
|
+
// instead.
|
46
|
+
#if defined(EIGEN_COMP_ICC) && defined(EIGEN_GPU_COMPILE_PHASE) \
|
47
|
+
&& !defined(_OVERRIDE_COMPLEX_SPECIALIZATION_)
|
48
|
+
#define _OVERRIDE_COMPLEX_SPECIALIZATION_ 1
|
49
|
+
#endif
|
50
|
+
#include <complex>
|
51
|
+
|
52
|
+
// this include file manages BLAS and MKL related macros
|
53
|
+
// and inclusion of their respective header files
|
54
|
+
#include "src/Core/util/MKL_support.h"
|
55
|
+
|
56
|
+
|
57
|
+
#if defined(EIGEN_HAS_CUDA_FP16) || defined(EIGEN_HAS_HIP_FP16)
|
58
|
+
#define EIGEN_HAS_GPU_FP16
|
59
|
+
#endif
|
60
|
+
|
61
|
+
#if defined(EIGEN_HAS_CUDA_BF16) || defined(EIGEN_HAS_HIP_BF16)
|
62
|
+
#define EIGEN_HAS_GPU_BF16
|
63
|
+
#endif
|
64
|
+
|
65
|
+
#if (defined _OPENMP) && (!defined EIGEN_DONT_PARALLELIZE)
|
66
|
+
#define EIGEN_HAS_OPENMP
|
67
|
+
#endif
|
68
|
+
|
69
|
+
#ifdef EIGEN_HAS_OPENMP
|
70
|
+
#include <omp.h>
|
71
|
+
#endif
|
72
|
+
|
73
|
+
// MSVC for windows mobile does not have the errno.h file
|
74
|
+
#if !(EIGEN_COMP_MSVC && EIGEN_OS_WINCE) && !EIGEN_COMP_ARM
|
75
|
+
#define EIGEN_HAS_ERRNO
|
76
|
+
#endif
|
77
|
+
|
78
|
+
#ifdef EIGEN_HAS_ERRNO
|
79
|
+
#include <cerrno>
|
80
|
+
#endif
|
81
|
+
#include <cstddef>
|
82
|
+
#include <cstdlib>
|
83
|
+
#include <cmath>
|
84
|
+
#include <cassert>
|
85
|
+
#include <functional>
|
86
|
+
#include <sstream>
|
87
|
+
#ifndef EIGEN_NO_IO
|
88
|
+
#include <iosfwd>
|
89
|
+
#endif
|
90
|
+
#include <cstring>
|
91
|
+
#include <string>
|
92
|
+
#include <limits>
|
93
|
+
#include <climits> // for CHAR_BIT
|
94
|
+
// for min/max:
|
95
|
+
#include <algorithm>
|
96
|
+
|
97
|
+
#if EIGEN_HAS_CXX11
|
98
|
+
#include <array>
|
99
|
+
#endif
|
100
|
+
|
101
|
+
// for std::is_nothrow_move_assignable
|
102
|
+
#ifdef EIGEN_INCLUDE_TYPE_TRAITS
|
103
|
+
#include <type_traits>
|
104
|
+
#endif
|
105
|
+
|
106
|
+
// for outputting debug info
|
107
|
+
#ifdef EIGEN_DEBUG_ASSIGN
|
108
|
+
#include <iostream>
|
109
|
+
#endif
|
110
|
+
|
111
|
+
// required for __cpuid, needs to be included after cmath
|
112
|
+
#if EIGEN_COMP_MSVC && EIGEN_ARCH_i386_OR_x86_64 && !EIGEN_OS_WINCE
|
113
|
+
#include <intrin.h>
|
114
|
+
#endif
|
115
|
+
|
116
|
+
#if defined(EIGEN_USE_SYCL)
|
117
|
+
#undef min
|
118
|
+
#undef max
|
119
|
+
#undef isnan
|
120
|
+
#undef isinf
|
121
|
+
#undef isfinite
|
122
|
+
#include <CL/sycl.hpp>
|
123
|
+
#include <map>
|
124
|
+
#include <memory>
|
125
|
+
#include <utility>
|
126
|
+
#include <thread>
|
127
|
+
#ifndef EIGEN_SYCL_LOCAL_THREAD_DIM0
|
128
|
+
#define EIGEN_SYCL_LOCAL_THREAD_DIM0 16
|
129
|
+
#endif
|
130
|
+
#ifndef EIGEN_SYCL_LOCAL_THREAD_DIM1
|
131
|
+
#define EIGEN_SYCL_LOCAL_THREAD_DIM1 16
|
132
|
+
#endif
|
133
|
+
#endif
|
134
|
+
|
135
|
+
|
136
|
+
#if defined EIGEN2_SUPPORT_STAGE40_FULL_EIGEN3_STRICTNESS || defined EIGEN2_SUPPORT_STAGE30_FULL_EIGEN3_API || defined EIGEN2_SUPPORT_STAGE20_RESOLVE_API_CONFLICTS || defined EIGEN2_SUPPORT_STAGE10_FULL_EIGEN2_API || defined EIGEN2_SUPPORT
|
137
|
+
// This will generate an error message:
|
138
|
+
#error Eigen2-support is only available up to version 3.2. Please go to "http://eigen.tuxfamily.org/index.php?title=Eigen2" for further information
|
139
|
+
#endif
|
140
|
+
|
141
|
+
namespace Eigen {
|
142
|
+
|
143
|
+
// we use size_t frequently and we'll never remember to prepend it with std:: every time just to
|
144
|
+
// ensure QNX/QCC support
|
145
|
+
using std::size_t;
|
146
|
+
// gcc 4.6.0 wants std:: for ptrdiff_t
|
147
|
+
using std::ptrdiff_t;
|
148
|
+
|
149
|
+
}
|
150
|
+
|
151
|
+
/** \defgroup Core_Module Core module
|
152
|
+
* This is the main module of Eigen providing dense matrix and vector support
|
153
|
+
* (both fixed and dynamic size) with all the features corresponding to a BLAS library
|
154
|
+
* and much more...
|
155
|
+
*
|
156
|
+
* \code
|
157
|
+
* #include <Eigen/Core>
|
158
|
+
* \endcode
|
159
|
+
*/
|
160
|
+
|
161
|
+
#include "src/Core/util/Constants.h"
|
162
|
+
#include "src/Core/util/Meta.h"
|
163
|
+
#include "src/Core/util/ForwardDeclarations.h"
|
164
|
+
#include "src/Core/util/StaticAssert.h"
|
165
|
+
#include "src/Core/util/XprHelper.h"
|
166
|
+
#include "src/Core/util/Memory.h"
|
167
|
+
#include "src/Core/util/IntegralConstant.h"
|
168
|
+
#include "src/Core/util/SymbolicIndex.h"
|
169
|
+
|
170
|
+
#include "src/Core/NumTraits.h"
|
171
|
+
#include "src/Core/MathFunctions.h"
|
172
|
+
#include "src/Core/GenericPacketMath.h"
|
173
|
+
#include "src/Core/MathFunctionsImpl.h"
|
174
|
+
#include "src/Core/arch/Default/ConjHelper.h"
|
175
|
+
// Generic half float support
|
176
|
+
#include "src/Core/arch/Default/Half.h"
|
177
|
+
#include "src/Core/arch/Default/BFloat16.h"
|
178
|
+
#include "src/Core/arch/Default/TypeCasting.h"
|
179
|
+
#include "src/Core/arch/Default/GenericPacketMathFunctionsFwd.h"
|
180
|
+
|
181
|
+
#if defined EIGEN_VECTORIZE_AVX512
|
182
|
+
#include "src/Core/arch/SSE/PacketMath.h"
|
183
|
+
#include "src/Core/arch/SSE/TypeCasting.h"
|
184
|
+
#include "src/Core/arch/SSE/Complex.h"
|
185
|
+
#include "src/Core/arch/AVX/PacketMath.h"
|
186
|
+
#include "src/Core/arch/AVX/TypeCasting.h"
|
187
|
+
#include "src/Core/arch/AVX/Complex.h"
|
188
|
+
#include "src/Core/arch/AVX512/PacketMath.h"
|
189
|
+
#include "src/Core/arch/AVX512/TypeCasting.h"
|
190
|
+
#include "src/Core/arch/AVX512/Complex.h"
|
191
|
+
#include "src/Core/arch/SSE/MathFunctions.h"
|
192
|
+
#include "src/Core/arch/AVX/MathFunctions.h"
|
193
|
+
#include "src/Core/arch/AVX512/MathFunctions.h"
|
194
|
+
#elif defined EIGEN_VECTORIZE_AVX
|
195
|
+
// Use AVX for floats and doubles, SSE for integers
|
196
|
+
#include "src/Core/arch/SSE/PacketMath.h"
|
197
|
+
#include "src/Core/arch/SSE/TypeCasting.h"
|
198
|
+
#include "src/Core/arch/SSE/Complex.h"
|
199
|
+
#include "src/Core/arch/AVX/PacketMath.h"
|
200
|
+
#include "src/Core/arch/AVX/TypeCasting.h"
|
201
|
+
#include "src/Core/arch/AVX/Complex.h"
|
202
|
+
#include "src/Core/arch/SSE/MathFunctions.h"
|
203
|
+
#include "src/Core/arch/AVX/MathFunctions.h"
|
204
|
+
#elif defined EIGEN_VECTORIZE_SSE
|
205
|
+
#include "src/Core/arch/SSE/PacketMath.h"
|
206
|
+
#include "src/Core/arch/SSE/TypeCasting.h"
|
207
|
+
#include "src/Core/arch/SSE/MathFunctions.h"
|
208
|
+
#include "src/Core/arch/SSE/Complex.h"
|
209
|
+
#elif defined(EIGEN_VECTORIZE_ALTIVEC) || defined(EIGEN_VECTORIZE_VSX)
|
210
|
+
#include "src/Core/arch/AltiVec/PacketMath.h"
|
211
|
+
#include "src/Core/arch/AltiVec/MathFunctions.h"
|
212
|
+
#include "src/Core/arch/AltiVec/Complex.h"
|
213
|
+
#elif defined EIGEN_VECTORIZE_NEON
|
214
|
+
#include "src/Core/arch/NEON/PacketMath.h"
|
215
|
+
#include "src/Core/arch/NEON/TypeCasting.h"
|
216
|
+
#include "src/Core/arch/NEON/MathFunctions.h"
|
217
|
+
#include "src/Core/arch/NEON/Complex.h"
|
218
|
+
#elif defined EIGEN_VECTORIZE_SVE
|
219
|
+
#include "src/Core/arch/SVE/PacketMath.h"
|
220
|
+
#include "src/Core/arch/SVE/TypeCasting.h"
|
221
|
+
#include "src/Core/arch/SVE/MathFunctions.h"
|
222
|
+
#elif defined EIGEN_VECTORIZE_ZVECTOR
|
223
|
+
#include "src/Core/arch/ZVector/PacketMath.h"
|
224
|
+
#include "src/Core/arch/ZVector/MathFunctions.h"
|
225
|
+
#include "src/Core/arch/ZVector/Complex.h"
|
226
|
+
#elif defined EIGEN_VECTORIZE_MSA
|
227
|
+
#include "src/Core/arch/MSA/PacketMath.h"
|
228
|
+
#include "src/Core/arch/MSA/MathFunctions.h"
|
229
|
+
#include "src/Core/arch/MSA/Complex.h"
|
230
|
+
#endif
|
231
|
+
|
232
|
+
#if defined EIGEN_VECTORIZE_GPU
|
233
|
+
#include "src/Core/arch/GPU/PacketMath.h"
|
234
|
+
#include "src/Core/arch/GPU/MathFunctions.h"
|
235
|
+
#include "src/Core/arch/GPU/TypeCasting.h"
|
236
|
+
#endif
|
237
|
+
|
238
|
+
#if defined(EIGEN_USE_SYCL)
|
239
|
+
#include "src/Core/arch/SYCL/SyclMemoryModel.h"
|
240
|
+
#include "src/Core/arch/SYCL/InteropHeaders.h"
|
241
|
+
#if !defined(EIGEN_DONT_VECTORIZE_SYCL)
|
242
|
+
#include "src/Core/arch/SYCL/PacketMath.h"
|
243
|
+
#include "src/Core/arch/SYCL/MathFunctions.h"
|
244
|
+
#include "src/Core/arch/SYCL/TypeCasting.h"
|
245
|
+
#endif
|
246
|
+
#endif
|
247
|
+
|
248
|
+
#include "src/Core/arch/Default/Settings.h"
|
249
|
+
// This file provides generic implementations valid for scalar as well
|
250
|
+
#include "src/Core/arch/Default/GenericPacketMathFunctions.h"
|
251
|
+
|
252
|
+
#include "src/Core/functors/TernaryFunctors.h"
|
253
|
+
#include "src/Core/functors/BinaryFunctors.h"
|
254
|
+
#include "src/Core/functors/UnaryFunctors.h"
|
255
|
+
#include "src/Core/functors/NullaryFunctors.h"
|
256
|
+
#include "src/Core/functors/StlFunctors.h"
|
257
|
+
#include "src/Core/functors/AssignmentFunctors.h"
|
258
|
+
|
259
|
+
// Specialized functors to enable the processing of complex numbers
|
260
|
+
// on CUDA devices
|
261
|
+
#ifdef EIGEN_CUDACC
|
262
|
+
#include "src/Core/arch/CUDA/Complex.h"
|
263
|
+
#endif
|
264
|
+
|
265
|
+
#include "src/Core/util/IndexedViewHelper.h"
|
266
|
+
#include "src/Core/util/ReshapedHelper.h"
|
267
|
+
#include "src/Core/ArithmeticSequence.h"
|
268
|
+
#ifndef EIGEN_NO_IO
|
269
|
+
#include "src/Core/IO.h"
|
270
|
+
#endif
|
271
|
+
#include "src/Core/DenseCoeffsBase.h"
|
272
|
+
#include "src/Core/DenseBase.h"
|
273
|
+
#include "src/Core/MatrixBase.h"
|
274
|
+
#include "src/Core/EigenBase.h"
|
275
|
+
|
276
|
+
#include "src/Core/Product.h"
|
277
|
+
#include "src/Core/CoreEvaluators.h"
|
278
|
+
#include "src/Core/AssignEvaluator.h"
|
279
|
+
|
280
|
+
#ifndef EIGEN_PARSED_BY_DOXYGEN // work around Doxygen bug triggered by Assign.h r814874
|
281
|
+
// at least confirmed with Doxygen 1.5.5 and 1.5.6
|
282
|
+
#include "src/Core/Assign.h"
|
283
|
+
#endif
|
284
|
+
|
285
|
+
#include "src/Core/ArrayBase.h"
|
286
|
+
#include "src/Core/util/BlasUtil.h"
|
287
|
+
#include "src/Core/DenseStorage.h"
|
288
|
+
#include "src/Core/NestByValue.h"
|
289
|
+
|
290
|
+
// #include "src/Core/ForceAlignedAccess.h"
|
291
|
+
|
292
|
+
#include "src/Core/ReturnByValue.h"
|
293
|
+
#include "src/Core/NoAlias.h"
|
294
|
+
#include "src/Core/PlainObjectBase.h"
|
295
|
+
#include "src/Core/Matrix.h"
|
296
|
+
#include "src/Core/Array.h"
|
297
|
+
#include "src/Core/CwiseTernaryOp.h"
|
298
|
+
#include "src/Core/CwiseBinaryOp.h"
|
299
|
+
#include "src/Core/CwiseUnaryOp.h"
|
300
|
+
#include "src/Core/CwiseNullaryOp.h"
|
301
|
+
#include "src/Core/CwiseUnaryView.h"
|
302
|
+
#include "src/Core/SelfCwiseBinaryOp.h"
|
303
|
+
#include "src/Core/Dot.h"
|
304
|
+
#include "src/Core/StableNorm.h"
|
305
|
+
#include "src/Core/Stride.h"
|
306
|
+
#include "src/Core/MapBase.h"
|
307
|
+
#include "src/Core/Map.h"
|
308
|
+
#include "src/Core/Ref.h"
|
309
|
+
#include "src/Core/Block.h"
|
310
|
+
#include "src/Core/VectorBlock.h"
|
311
|
+
#include "src/Core/IndexedView.h"
|
312
|
+
#include "src/Core/Reshaped.h"
|
313
|
+
#include "src/Core/Transpose.h"
|
314
|
+
#include "src/Core/DiagonalMatrix.h"
|
315
|
+
#include "src/Core/Diagonal.h"
|
316
|
+
#include "src/Core/DiagonalProduct.h"
|
317
|
+
#include "src/Core/Redux.h"
|
318
|
+
#include "src/Core/Visitor.h"
|
319
|
+
#include "src/Core/Fuzzy.h"
|
320
|
+
#include "src/Core/Swap.h"
|
321
|
+
#include "src/Core/CommaInitializer.h"
|
322
|
+
#include "src/Core/GeneralProduct.h"
|
323
|
+
#include "src/Core/Solve.h"
|
324
|
+
#include "src/Core/Inverse.h"
|
325
|
+
#include "src/Core/SolverBase.h"
|
326
|
+
#include "src/Core/PermutationMatrix.h"
|
327
|
+
#include "src/Core/Transpositions.h"
|
328
|
+
#include "src/Core/TriangularMatrix.h"
|
329
|
+
#include "src/Core/SelfAdjointView.h"
|
330
|
+
#include "src/Core/products/GeneralBlockPanelKernel.h"
|
331
|
+
#include "src/Core/products/Parallelizer.h"
|
332
|
+
#include "src/Core/ProductEvaluators.h"
|
333
|
+
#include "src/Core/products/GeneralMatrixVector.h"
|
334
|
+
#include "src/Core/products/GeneralMatrixMatrix.h"
|
335
|
+
#include "src/Core/SolveTriangular.h"
|
336
|
+
#include "src/Core/products/GeneralMatrixMatrixTriangular.h"
|
337
|
+
#include "src/Core/products/SelfadjointMatrixVector.h"
|
338
|
+
#include "src/Core/products/SelfadjointMatrixMatrix.h"
|
339
|
+
#include "src/Core/products/SelfadjointProduct.h"
|
340
|
+
#include "src/Core/products/SelfadjointRank2Update.h"
|
341
|
+
#include "src/Core/products/TriangularMatrixVector.h"
|
342
|
+
#include "src/Core/products/TriangularMatrixMatrix.h"
|
343
|
+
#include "src/Core/products/TriangularSolverMatrix.h"
|
344
|
+
#include "src/Core/products/TriangularSolverVector.h"
|
345
|
+
#include "src/Core/BandMatrix.h"
|
346
|
+
#include "src/Core/CoreIterators.h"
|
347
|
+
#include "src/Core/ConditionEstimator.h"
|
348
|
+
|
349
|
+
#if defined(EIGEN_VECTORIZE_ALTIVEC) || defined(EIGEN_VECTORIZE_VSX)
|
350
|
+
#include "src/Core/arch/AltiVec/MatrixProduct.h"
|
351
|
+
#elif defined EIGEN_VECTORIZE_NEON
|
352
|
+
#include "src/Core/arch/NEON/GeneralBlockPanelKernel.h"
|
353
|
+
#endif
|
354
|
+
|
355
|
+
#include "src/Core/BooleanRedux.h"
|
356
|
+
#include "src/Core/Select.h"
|
357
|
+
#include "src/Core/VectorwiseOp.h"
|
358
|
+
#include "src/Core/PartialReduxEvaluator.h"
|
359
|
+
#include "src/Core/Random.h"
|
360
|
+
#include "src/Core/Replicate.h"
|
361
|
+
#include "src/Core/Reverse.h"
|
362
|
+
#include "src/Core/ArrayWrapper.h"
|
363
|
+
#include "src/Core/StlIterators.h"
|
364
|
+
|
365
|
+
#ifdef EIGEN_USE_BLAS
|
366
|
+
#include "src/Core/products/GeneralMatrixMatrix_BLAS.h"
|
367
|
+
#include "src/Core/products/GeneralMatrixVector_BLAS.h"
|
368
|
+
#include "src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h"
|
369
|
+
#include "src/Core/products/SelfadjointMatrixMatrix_BLAS.h"
|
370
|
+
#include "src/Core/products/SelfadjointMatrixVector_BLAS.h"
|
371
|
+
#include "src/Core/products/TriangularMatrixMatrix_BLAS.h"
|
372
|
+
#include "src/Core/products/TriangularMatrixVector_BLAS.h"
|
373
|
+
#include "src/Core/products/TriangularSolverMatrix_BLAS.h"
|
374
|
+
#endif // EIGEN_USE_BLAS
|
375
|
+
|
376
|
+
#ifdef EIGEN_USE_MKL_VML
|
377
|
+
#include "src/Core/Assign_MKL.h"
|
378
|
+
#endif
|
379
|
+
|
380
|
+
#include "src/Core/GlobalFunctions.h"
|
381
|
+
|
382
|
+
#include "src/Core/util/ReenableStupidWarnings.h"
|
383
|
+
|
384
|
+
#endif // EIGEN_CORE_H
|
data/vendor/Eigen/Dense
ADDED
data/vendor/Eigen/Eigen
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
2
|
+
// for linear algebra.
|
3
|
+
//
|
4
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
5
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
6
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
7
|
+
|
8
|
+
#ifndef EIGEN_EIGENVALUES_MODULE_H
|
9
|
+
#define EIGEN_EIGENVALUES_MODULE_H
|
10
|
+
|
11
|
+
#include "Core"
|
12
|
+
|
13
|
+
#include "Cholesky"
|
14
|
+
#include "Jacobi"
|
15
|
+
#include "Householder"
|
16
|
+
#include "LU"
|
17
|
+
#include "Geometry"
|
18
|
+
|
19
|
+
#include "src/Core/util/DisableStupidWarnings.h"
|
20
|
+
|
21
|
+
/** \defgroup Eigenvalues_Module Eigenvalues module
|
22
|
+
*
|
23
|
+
*
|
24
|
+
*
|
25
|
+
* This module mainly provides various eigenvalue solvers.
|
26
|
+
* This module also provides some MatrixBase methods, including:
|
27
|
+
* - MatrixBase::eigenvalues(),
|
28
|
+
* - MatrixBase::operatorNorm()
|
29
|
+
*
|
30
|
+
* \code
|
31
|
+
* #include <Eigen/Eigenvalues>
|
32
|
+
* \endcode
|
33
|
+
*/
|
34
|
+
|
35
|
+
#include "src/misc/RealSvd2x2.h"
|
36
|
+
#include "src/Eigenvalues/Tridiagonalization.h"
|
37
|
+
#include "src/Eigenvalues/RealSchur.h"
|
38
|
+
#include "src/Eigenvalues/EigenSolver.h"
|
39
|
+
#include "src/Eigenvalues/SelfAdjointEigenSolver.h"
|
40
|
+
#include "src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h"
|
41
|
+
#include "src/Eigenvalues/HessenbergDecomposition.h"
|
42
|
+
#include "src/Eigenvalues/ComplexSchur.h"
|
43
|
+
#include "src/Eigenvalues/ComplexEigenSolver.h"
|
44
|
+
#include "src/Eigenvalues/RealQZ.h"
|
45
|
+
#include "src/Eigenvalues/GeneralizedEigenSolver.h"
|
46
|
+
#include "src/Eigenvalues/MatrixBaseEigenvalues.h"
|
47
|
+
#ifdef EIGEN_USE_LAPACKE
|
48
|
+
#ifdef EIGEN_USE_MKL
|
49
|
+
#include "mkl_lapacke.h"
|
50
|
+
#else
|
51
|
+
#include "src/misc/lapacke.h"
|
52
|
+
#endif
|
53
|
+
#include "src/Eigenvalues/RealSchur_LAPACKE.h"
|
54
|
+
#include "src/Eigenvalues/ComplexSchur_LAPACKE.h"
|
55
|
+
#include "src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h"
|
56
|
+
#endif
|
57
|
+
|
58
|
+
#include "src/Core/util/ReenableStupidWarnings.h"
|
59
|
+
|
60
|
+
#endif // EIGEN_EIGENVALUES_MODULE_H
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
2
|
+
// for linear algebra.
|
3
|
+
//
|
4
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
5
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
6
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
7
|
+
|
8
|
+
#ifndef EIGEN_GEOMETRY_MODULE_H
|
9
|
+
#define EIGEN_GEOMETRY_MODULE_H
|
10
|
+
|
11
|
+
#include "Core"
|
12
|
+
|
13
|
+
#include "SVD"
|
14
|
+
#include "LU"
|
15
|
+
#include <limits>
|
16
|
+
|
17
|
+
#include "src/Core/util/DisableStupidWarnings.h"
|
18
|
+
|
19
|
+
/** \defgroup Geometry_Module Geometry module
|
20
|
+
*
|
21
|
+
* This module provides support for:
|
22
|
+
* - fixed-size homogeneous transformations
|
23
|
+
* - translation, scaling, 2D and 3D rotations
|
24
|
+
* - \link Quaternion quaternions \endlink
|
25
|
+
* - cross products (\ref MatrixBase::cross, \ref MatrixBase::cross3)
|
26
|
+
* - orthognal vector generation (\ref MatrixBase::unitOrthogonal)
|
27
|
+
* - some linear components: \link ParametrizedLine parametrized-lines \endlink and \link Hyperplane hyperplanes \endlink
|
28
|
+
* - \link AlignedBox axis aligned bounding boxes \endlink
|
29
|
+
* - \link umeyama least-square transformation fitting \endlink
|
30
|
+
*
|
31
|
+
* \code
|
32
|
+
* #include <Eigen/Geometry>
|
33
|
+
* \endcode
|
34
|
+
*/
|
35
|
+
|
36
|
+
#include "src/Geometry/OrthoMethods.h"
|
37
|
+
#include "src/Geometry/EulerAngles.h"
|
38
|
+
|
39
|
+
#include "src/Geometry/Homogeneous.h"
|
40
|
+
#include "src/Geometry/RotationBase.h"
|
41
|
+
#include "src/Geometry/Rotation2D.h"
|
42
|
+
#include "src/Geometry/Quaternion.h"
|
43
|
+
#include "src/Geometry/AngleAxis.h"
|
44
|
+
#include "src/Geometry/Transform.h"
|
45
|
+
#include "src/Geometry/Translation.h"
|
46
|
+
#include "src/Geometry/Scaling.h"
|
47
|
+
#include "src/Geometry/Hyperplane.h"
|
48
|
+
#include "src/Geometry/ParametrizedLine.h"
|
49
|
+
#include "src/Geometry/AlignedBox.h"
|
50
|
+
#include "src/Geometry/Umeyama.h"
|
51
|
+
|
52
|
+
// Use the SSE optimized version whenever possible.
|
53
|
+
#if (defined EIGEN_VECTORIZE_SSE) || (defined EIGEN_VECTORIZE_NEON)
|
54
|
+
#include "src/Geometry/arch/Geometry_SIMD.h"
|
55
|
+
#endif
|
56
|
+
|
57
|
+
#include "src/Core/util/ReenableStupidWarnings.h"
|
58
|
+
|
59
|
+
#endif // EIGEN_GEOMETRY_MODULE_H
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
2
|
+
// for linear algebra.
|
3
|
+
//
|
4
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
5
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
6
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
7
|
+
|
8
|
+
#ifndef EIGEN_HOUSEHOLDER_MODULE_H
|
9
|
+
#define EIGEN_HOUSEHOLDER_MODULE_H
|
10
|
+
|
11
|
+
#include "Core"
|
12
|
+
|
13
|
+
#include "src/Core/util/DisableStupidWarnings.h"
|
14
|
+
|
15
|
+
/** \defgroup Householder_Module Householder module
|
16
|
+
* This module provides Householder transformations.
|
17
|
+
*
|
18
|
+
* \code
|
19
|
+
* #include <Eigen/Householder>
|
20
|
+
* \endcode
|
21
|
+
*/
|
22
|
+
|
23
|
+
#include "src/Householder/Householder.h"
|
24
|
+
#include "src/Householder/HouseholderSequence.h"
|
25
|
+
#include "src/Householder/BlockHouseholder.h"
|
26
|
+
|
27
|
+
#include "src/Core/util/ReenableStupidWarnings.h"
|
28
|
+
|
29
|
+
#endif // EIGEN_HOUSEHOLDER_MODULE_H
|
@@ -0,0 +1,48 @@
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
2
|
+
// for linear algebra.
|
3
|
+
//
|
4
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
5
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
6
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
7
|
+
|
8
|
+
#ifndef EIGEN_ITERATIVELINEARSOLVERS_MODULE_H
|
9
|
+
#define EIGEN_ITERATIVELINEARSOLVERS_MODULE_H
|
10
|
+
|
11
|
+
#include "SparseCore"
|
12
|
+
#include "OrderingMethods"
|
13
|
+
|
14
|
+
#include "src/Core/util/DisableStupidWarnings.h"
|
15
|
+
|
16
|
+
/**
|
17
|
+
* \defgroup IterativeLinearSolvers_Module IterativeLinearSolvers module
|
18
|
+
*
|
19
|
+
* This module currently provides iterative methods to solve problems of the form \c A \c x = \c b, where \c A is a squared matrix, usually very large and sparse.
|
20
|
+
* Those solvers are accessible via the following classes:
|
21
|
+
* - ConjugateGradient for selfadjoint (hermitian) matrices,
|
22
|
+
* - LeastSquaresConjugateGradient for rectangular least-square problems,
|
23
|
+
* - BiCGSTAB for general square matrices.
|
24
|
+
*
|
25
|
+
* These iterative solvers are associated with some preconditioners:
|
26
|
+
* - IdentityPreconditioner - not really useful
|
27
|
+
* - DiagonalPreconditioner - also called Jacobi preconditioner, work very well on diagonal dominant matrices.
|
28
|
+
* - IncompleteLUT - incomplete LU factorization with dual thresholding
|
29
|
+
*
|
30
|
+
* Such problems can also be solved using the direct sparse decomposition modules: SparseCholesky, CholmodSupport, UmfPackSupport, SuperLUSupport.
|
31
|
+
*
|
32
|
+
\code
|
33
|
+
#include <Eigen/IterativeLinearSolvers>
|
34
|
+
\endcode
|
35
|
+
*/
|
36
|
+
|
37
|
+
#include "src/IterativeLinearSolvers/SolveWithGuess.h"
|
38
|
+
#include "src/IterativeLinearSolvers/IterativeSolverBase.h"
|
39
|
+
#include "src/IterativeLinearSolvers/BasicPreconditioners.h"
|
40
|
+
#include "src/IterativeLinearSolvers/ConjugateGradient.h"
|
41
|
+
#include "src/IterativeLinearSolvers/LeastSquareConjugateGradient.h"
|
42
|
+
#include "src/IterativeLinearSolvers/BiCGSTAB.h"
|
43
|
+
#include "src/IterativeLinearSolvers/IncompleteLUT.h"
|
44
|
+
#include "src/IterativeLinearSolvers/IncompleteCholesky.h"
|
45
|
+
|
46
|
+
#include "src/Core/util/ReenableStupidWarnings.h"
|
47
|
+
|
48
|
+
#endif // EIGEN_ITERATIVELINEARSOLVERS_MODULE_H
|
data/vendor/Eigen/Jacobi
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
2
|
+
// for linear algebra.
|
3
|
+
//
|
4
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
5
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
6
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
7
|
+
|
8
|
+
#ifndef EIGEN_JACOBI_MODULE_H
|
9
|
+
#define EIGEN_JACOBI_MODULE_H
|
10
|
+
|
11
|
+
#include "Core"
|
12
|
+
|
13
|
+
#include "src/Core/util/DisableStupidWarnings.h"
|
14
|
+
|
15
|
+
/** \defgroup Jacobi_Module Jacobi module
|
16
|
+
* This module provides Jacobi and Givens rotations.
|
17
|
+
*
|
18
|
+
* \code
|
19
|
+
* #include <Eigen/Jacobi>
|
20
|
+
* \endcode
|
21
|
+
*
|
22
|
+
* In addition to listed classes, it defines the two following MatrixBase methods to apply a Jacobi or Givens rotation:
|
23
|
+
* - MatrixBase::applyOnTheLeft()
|
24
|
+
* - MatrixBase::applyOnTheRight().
|
25
|
+
*/
|
26
|
+
|
27
|
+
#include "src/Jacobi/Jacobi.h"
|
28
|
+
|
29
|
+
#include "src/Core/util/ReenableStupidWarnings.h"
|
30
|
+
|
31
|
+
#endif // EIGEN_JACOBI_MODULE_H
|
32
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
2
|
+
// for linear algebra.
|
3
|
+
//
|
4
|
+
// This Source Code Form is subject to the terms of the Mozilla
|
5
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
6
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
7
|
+
|
8
|
+
#ifndef EIGEN_KLUSUPPORT_MODULE_H
|
9
|
+
#define EIGEN_KLUSUPPORT_MODULE_H
|
10
|
+
|
11
|
+
#include <Eigen/SparseCore>
|
12
|
+
|
13
|
+
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
|
14
|
+
|
15
|
+
extern "C" {
|
16
|
+
#include <btf.h>
|
17
|
+
#include <klu.h>
|
18
|
+
}
|
19
|
+
|
20
|
+
/** \ingroup Support_modules
|
21
|
+
* \defgroup KLUSupport_Module KLUSupport module
|
22
|
+
*
|
23
|
+
* This module provides an interface to the KLU library which is part of the <a href="http://www.suitesparse.com">suitesparse</a> package.
|
24
|
+
* It provides the following factorization class:
|
25
|
+
* - class KLU: a sparse LU factorization, well-suited for circuit simulation.
|
26
|
+
*
|
27
|
+
* \code
|
28
|
+
* #include <Eigen/KLUSupport>
|
29
|
+
* \endcode
|
30
|
+
*
|
31
|
+
* In order to use this module, the klu and btf headers must be accessible from the include paths, and your binary must be linked to the klu library and its dependencies.
|
32
|
+
* The dependencies depend on how umfpack has been compiled.
|
33
|
+
* For a cmake based project, you can use our FindKLU.cmake module to help you in this task.
|
34
|
+
*
|
35
|
+
*/
|
36
|
+
|
37
|
+
#include "src/KLUSupport/KLUSupport.h"
|
38
|
+
|
39
|
+
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
|
40
|
+
|
41
|
+
#endif // EIGEN_KLUSUPPORT_MODULE_H
|