xtgeo 4.10.0__cp313-cp313-macosx_11_0_arm64.whl → 4.11.0__cp313-cp313-macosx_11_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 xtgeo might be problematic. Click here for more details.
- xtgeo/_cxtgeo.cpython-313-darwin.so +0 -0
- xtgeo/_internal.cpython-313-darwin.so +0 -0
- xtgeo/common/version.py +16 -3
- xtgeo/cube/_cube_window_attributes.py +13 -4
- xtgeo/grid3d/_grid_etc1.py +10 -5
- xtgeo/grid3d/grid.py +22 -6
- xtgeo/include/fmt/args.h +220 -0
- xtgeo/include/fmt/base.h +2989 -0
- xtgeo/include/fmt/chrono.h +2330 -0
- xtgeo/include/fmt/color.h +637 -0
- xtgeo/include/fmt/compile.h +539 -0
- xtgeo/include/fmt/core.h +5 -0
- xtgeo/include/fmt/format-inl.h +1948 -0
- xtgeo/include/fmt/format.h +4244 -0
- xtgeo/include/fmt/os.h +427 -0
- xtgeo/include/fmt/ostream.h +167 -0
- xtgeo/include/fmt/printf.h +633 -0
- xtgeo/include/fmt/ranges.h +850 -0
- xtgeo/include/fmt/std.h +728 -0
- xtgeo/include/fmt/xchar.h +369 -0
- xtgeo/lib/cmake/fmt/fmt-config-version.cmake +43 -0
- xtgeo/lib/cmake/fmt/fmt-config.cmake +31 -0
- xtgeo/lib/cmake/fmt/fmt-targets-release.cmake +19 -0
- xtgeo/{share/eigen3/cmake/Eigen3Targets.cmake → lib/cmake/fmt/fmt-targets.cmake} +16 -6
- xtgeo/lib/libfmt.a +0 -0
- xtgeo/lib/pkgconfig/fmt.pc +11 -0
- xtgeo/metadata/metadata.py +20 -13
- {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/METADATA +1 -1
- xtgeo-4.11.0.dist-info/RECORD +137 -0
- {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/WHEEL +1 -1
- xtgeo/include/eigen3/Eigen/Cholesky +0 -45
- xtgeo/include/eigen3/Eigen/CholmodSupport +0 -48
- xtgeo/include/eigen3/Eigen/Core +0 -384
- xtgeo/include/eigen3/Eigen/Dense +0 -7
- xtgeo/include/eigen3/Eigen/Eigen +0 -2
- xtgeo/include/eigen3/Eigen/Eigenvalues +0 -60
- xtgeo/include/eigen3/Eigen/Geometry +0 -59
- xtgeo/include/eigen3/Eigen/Householder +0 -29
- xtgeo/include/eigen3/Eigen/IterativeLinearSolvers +0 -48
- xtgeo/include/eigen3/Eigen/Jacobi +0 -32
- xtgeo/include/eigen3/Eigen/KLUSupport +0 -41
- xtgeo/include/eigen3/Eigen/LU +0 -47
- xtgeo/include/eigen3/Eigen/MetisSupport +0 -35
- xtgeo/include/eigen3/Eigen/OrderingMethods +0 -70
- xtgeo/include/eigen3/Eigen/PaStiXSupport +0 -49
- xtgeo/include/eigen3/Eigen/PardisoSupport +0 -35
- xtgeo/include/eigen3/Eigen/QR +0 -50
- xtgeo/include/eigen3/Eigen/QtAlignedMalloc +0 -39
- xtgeo/include/eigen3/Eigen/SPQRSupport +0 -34
- xtgeo/include/eigen3/Eigen/SVD +0 -50
- xtgeo/include/eigen3/Eigen/Sparse +0 -34
- xtgeo/include/eigen3/Eigen/SparseCholesky +0 -37
- xtgeo/include/eigen3/Eigen/SparseCore +0 -69
- xtgeo/include/eigen3/Eigen/SparseLU +0 -50
- xtgeo/include/eigen3/Eigen/SparseQR +0 -36
- xtgeo/include/eigen3/Eigen/StdDeque +0 -27
- xtgeo/include/eigen3/Eigen/StdList +0 -26
- xtgeo/include/eigen3/Eigen/StdVector +0 -27
- xtgeo/include/eigen3/Eigen/SuperLUSupport +0 -64
- xtgeo/include/eigen3/Eigen/UmfPackSupport +0 -40
- xtgeo/include/eigen3/Eigen/src/Cholesky/LDLT.h +0 -688
- xtgeo/include/eigen3/Eigen/src/Cholesky/LLT.h +0 -558
- xtgeo/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +0 -99
- xtgeo/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +0 -682
- xtgeo/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +0 -413
- xtgeo/include/eigen3/Eigen/src/Core/Array.h +0 -417
- xtgeo/include/eigen3/Eigen/src/Core/ArrayBase.h +0 -226
- xtgeo/include/eigen3/Eigen/src/Core/ArrayWrapper.h +0 -209
- xtgeo/include/eigen3/Eigen/src/Core/Assign.h +0 -90
- xtgeo/include/eigen3/Eigen/src/Core/AssignEvaluator.h +0 -1010
- xtgeo/include/eigen3/Eigen/src/Core/Assign_MKL.h +0 -178
- xtgeo/include/eigen3/Eigen/src/Core/BandMatrix.h +0 -353
- xtgeo/include/eigen3/Eigen/src/Core/Block.h +0 -448
- xtgeo/include/eigen3/Eigen/src/Core/BooleanRedux.h +0 -162
- xtgeo/include/eigen3/Eigen/src/Core/CommaInitializer.h +0 -164
- xtgeo/include/eigen3/Eigen/src/Core/ConditionEstimator.h +0 -175
- xtgeo/include/eigen3/Eigen/src/Core/CoreEvaluators.h +0 -1741
- xtgeo/include/eigen3/Eigen/src/Core/CoreIterators.h +0 -132
- xtgeo/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +0 -183
- xtgeo/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +0 -1001
- xtgeo/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +0 -197
- xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +0 -103
- xtgeo/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +0 -132
- xtgeo/include/eigen3/Eigen/src/Core/DenseBase.h +0 -701
- xtgeo/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +0 -685
- xtgeo/include/eigen3/Eigen/src/Core/DenseStorage.h +0 -652
- xtgeo/include/eigen3/Eigen/src/Core/Diagonal.h +0 -258
- xtgeo/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +0 -391
- xtgeo/include/eigen3/Eigen/src/Core/DiagonalProduct.h +0 -28
- xtgeo/include/eigen3/Eigen/src/Core/Dot.h +0 -318
- xtgeo/include/eigen3/Eigen/src/Core/EigenBase.h +0 -160
- xtgeo/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +0 -150
- xtgeo/include/eigen3/Eigen/src/Core/Fuzzy.h +0 -155
- xtgeo/include/eigen3/Eigen/src/Core/GeneralProduct.h +0 -465
- xtgeo/include/eigen3/Eigen/src/Core/GenericPacketMath.h +0 -1040
- xtgeo/include/eigen3/Eigen/src/Core/GlobalFunctions.h +0 -194
- xtgeo/include/eigen3/Eigen/src/Core/IO.h +0 -258
- xtgeo/include/eigen3/Eigen/src/Core/IndexedView.h +0 -237
- xtgeo/include/eigen3/Eigen/src/Core/Inverse.h +0 -117
- xtgeo/include/eigen3/Eigen/src/Core/Map.h +0 -171
- xtgeo/include/eigen3/Eigen/src/Core/MapBase.h +0 -310
- xtgeo/include/eigen3/Eigen/src/Core/MathFunctions.h +0 -2057
- xtgeo/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +0 -200
- xtgeo/include/eigen3/Eigen/src/Core/Matrix.h +0 -565
- xtgeo/include/eigen3/Eigen/src/Core/MatrixBase.h +0 -547
- xtgeo/include/eigen3/Eigen/src/Core/NestByValue.h +0 -85
- xtgeo/include/eigen3/Eigen/src/Core/NoAlias.h +0 -109
- xtgeo/include/eigen3/Eigen/src/Core/NumTraits.h +0 -335
- xtgeo/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +0 -232
- xtgeo/include/eigen3/Eigen/src/Core/PermutationMatrix.h +0 -605
- xtgeo/include/eigen3/Eigen/src/Core/PlainObjectBase.h +0 -1128
- xtgeo/include/eigen3/Eigen/src/Core/Product.h +0 -191
- xtgeo/include/eigen3/Eigen/src/Core/ProductEvaluators.h +0 -1179
- xtgeo/include/eigen3/Eigen/src/Core/Random.h +0 -218
- xtgeo/include/eigen3/Eigen/src/Core/Redux.h +0 -515
- xtgeo/include/eigen3/Eigen/src/Core/Ref.h +0 -381
- xtgeo/include/eigen3/Eigen/src/Core/Replicate.h +0 -142
- xtgeo/include/eigen3/Eigen/src/Core/Reshaped.h +0 -454
- xtgeo/include/eigen3/Eigen/src/Core/ReturnByValue.h +0 -119
- xtgeo/include/eigen3/Eigen/src/Core/Reverse.h +0 -217
- xtgeo/include/eigen3/Eigen/src/Core/Select.h +0 -164
- xtgeo/include/eigen3/Eigen/src/Core/SelfAdjointView.h +0 -365
- xtgeo/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +0 -47
- xtgeo/include/eigen3/Eigen/src/Core/Solve.h +0 -188
- xtgeo/include/eigen3/Eigen/src/Core/SolveTriangular.h +0 -235
- xtgeo/include/eigen3/Eigen/src/Core/SolverBase.h +0 -168
- xtgeo/include/eigen3/Eigen/src/Core/StableNorm.h +0 -251
- xtgeo/include/eigen3/Eigen/src/Core/StlIterators.h +0 -463
- xtgeo/include/eigen3/Eigen/src/Core/Stride.h +0 -116
- xtgeo/include/eigen3/Eigen/src/Core/Swap.h +0 -68
- xtgeo/include/eigen3/Eigen/src/Core/Transpose.h +0 -464
- xtgeo/include/eigen3/Eigen/src/Core/Transpositions.h +0 -386
- xtgeo/include/eigen3/Eigen/src/Core/TriangularMatrix.h +0 -1001
- xtgeo/include/eigen3/Eigen/src/Core/VectorBlock.h +0 -96
- xtgeo/include/eigen3/Eigen/src/Core/VectorwiseOp.h +0 -784
- xtgeo/include/eigen3/Eigen/src/Core/Visitor.h +0 -381
- xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +0 -372
- xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +0 -228
- xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +0 -1574
- xtgeo/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +0 -115
- xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +0 -422
- xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +0 -362
- xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +0 -2303
- xtgeo/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +0 -89
- xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +0 -417
- xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +0 -90
- xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +0 -2937
- xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +0 -221
- xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +0 -629
- xtgeo/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +0 -2711
- xtgeo/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +0 -258
- xtgeo/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +0 -700
- xtgeo/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +0 -117
- xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +0 -1649
- xtgeo/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +0 -110
- xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Half.h +0 -942
- xtgeo/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +0 -49
- xtgeo/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +0 -120
- xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +0 -103
- xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +0 -1685
- xtgeo/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +0 -80
- xtgeo/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +0 -23
- xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +0 -648
- xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +0 -387
- xtgeo/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +0 -1233
- xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +0 -584
- xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +0 -183
- xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +0 -75
- xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +0 -4587
- xtgeo/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +0 -1419
- xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +0 -351
- xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +0 -199
- xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +0 -1505
- xtgeo/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +0 -142
- xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +0 -44
- xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +0 -752
- xtgeo/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +0 -49
- xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +0 -232
- xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +0 -301
- xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +0 -670
- xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +0 -694
- xtgeo/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +0 -85
- xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +0 -426
- xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +0 -233
- xtgeo/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +0 -1060
- xtgeo/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +0 -177
- xtgeo/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +0 -541
- xtgeo/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +0 -189
- xtgeo/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +0 -166
- xtgeo/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +0 -25
- xtgeo/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +0 -1131
- xtgeo/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +0 -2645
- xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +0 -517
- xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +0 -317
- xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +0 -145
- xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +0 -124
- xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +0 -518
- xtgeo/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +0 -136
- xtgeo/include/eigen3/Eigen/src/Core/products/Parallelizer.h +0 -180
- xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +0 -544
- xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +0 -295
- xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +0 -262
- xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +0 -118
- xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +0 -133
- xtgeo/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +0 -94
- xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +0 -472
- xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +0 -317
- xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +0 -350
- xtgeo/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +0 -255
- xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +0 -337
- xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +0 -167
- xtgeo/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +0 -148
- xtgeo/include/eigen3/Eigen/src/Core/util/BlasUtil.h +0 -583
- xtgeo/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +0 -512
- xtgeo/include/eigen3/Eigen/src/Core/util/Constants.h +0 -563
- xtgeo/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +0 -106
- xtgeo/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +0 -322
- xtgeo/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +0 -186
- xtgeo/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +0 -272
- xtgeo/include/eigen3/Eigen/src/Core/util/MKL_support.h +0 -137
- xtgeo/include/eigen3/Eigen/src/Core/util/Macros.h +0 -1464
- xtgeo/include/eigen3/Eigen/src/Core/util/Memory.h +0 -1163
- xtgeo/include/eigen3/Eigen/src/Core/util/Meta.h +0 -812
- xtgeo/include/eigen3/Eigen/src/Core/util/NonMPL2.h +0 -3
- xtgeo/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +0 -31
- xtgeo/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +0 -51
- xtgeo/include/eigen3/Eigen/src/Core/util/StaticAssert.h +0 -221
- xtgeo/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +0 -293
- xtgeo/include/eigen3/Eigen/src/Core/util/XprHelper.h +0 -856
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +0 -346
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +0 -462
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +0 -91
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +0 -622
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +0 -418
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +0 -226
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +0 -374
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +0 -158
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +0 -657
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +0 -558
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +0 -77
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +0 -904
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +0 -87
- xtgeo/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +0 -561
- xtgeo/include/eigen3/Eigen/src/Geometry/AlignedBox.h +0 -486
- xtgeo/include/eigen3/Eigen/src/Geometry/AngleAxis.h +0 -247
- xtgeo/include/eigen3/Eigen/src/Geometry/EulerAngles.h +0 -114
- xtgeo/include/eigen3/Eigen/src/Geometry/Homogeneous.h +0 -501
- xtgeo/include/eigen3/Eigen/src/Geometry/Hyperplane.h +0 -282
- xtgeo/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +0 -235
- xtgeo/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +0 -232
- xtgeo/include/eigen3/Eigen/src/Geometry/Quaternion.h +0 -870
- xtgeo/include/eigen3/Eigen/src/Geometry/Rotation2D.h +0 -199
- xtgeo/include/eigen3/Eigen/src/Geometry/RotationBase.h +0 -206
- xtgeo/include/eigen3/Eigen/src/Geometry/Scaling.h +0 -188
- xtgeo/include/eigen3/Eigen/src/Geometry/Transform.h +0 -1563
- xtgeo/include/eigen3/Eigen/src/Geometry/Translation.h +0 -202
- xtgeo/include/eigen3/Eigen/src/Geometry/Umeyama.h +0 -166
- xtgeo/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +0 -168
- xtgeo/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +0 -110
- xtgeo/include/eigen3/Eigen/src/Householder/Householder.h +0 -176
- xtgeo/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +0 -545
- xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +0 -226
- xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +0 -212
- xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +0 -229
- xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +0 -394
- xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +0 -453
- xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +0 -444
- xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +0 -198
- xtgeo/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +0 -117
- xtgeo/include/eigen3/Eigen/src/Jacobi/Jacobi.h +0 -483
- xtgeo/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +0 -358
- xtgeo/include/eigen3/Eigen/src/LU/Determinant.h +0 -117
- xtgeo/include/eigen3/Eigen/src/LU/FullPivLU.h +0 -877
- xtgeo/include/eigen3/Eigen/src/LU/InverseImpl.h +0 -432
- xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU.h +0 -624
- xtgeo/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +0 -83
- xtgeo/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +0 -351
- xtgeo/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +0 -137
- xtgeo/include/eigen3/Eigen/src/OrderingMethods/Amd.h +0 -435
- xtgeo/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +0 -1863
- xtgeo/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +0 -153
- xtgeo/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +0 -678
- xtgeo/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +0 -545
- xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +0 -674
- xtgeo/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +0 -97
- xtgeo/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +0 -635
- xtgeo/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +0 -713
- xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR.h +0 -434
- xtgeo/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +0 -68
- xtgeo/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +0 -335
- xtgeo/include/eigen3/Eigen/src/SVD/BDCSVD.h +0 -1366
- xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD.h +0 -812
- xtgeo/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +0 -91
- xtgeo/include/eigen3/Eigen/src/SVD/SVDBase.h +0 -376
- xtgeo/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +0 -414
- xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +0 -697
- xtgeo/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +0 -174
- xtgeo/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +0 -378
- xtgeo/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +0 -274
- xtgeo/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +0 -352
- xtgeo/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +0 -67
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +0 -270
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +0 -571
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +0 -206
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +0 -370
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +0 -722
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +0 -150
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +0 -342
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +0 -138
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseDot.h +0 -98
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +0 -29
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMap.h +0 -305
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +0 -1518
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +0 -398
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +0 -178
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +0 -181
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +0 -49
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseRef.h +0 -397
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +0 -659
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +0 -124
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +0 -198
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +0 -92
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +0 -189
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +0 -186
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseVector.h +0 -478
- xtgeo/include/eigen3/Eigen/src/SparseCore/SparseView.h +0 -254
- xtgeo/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +0 -315
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU.h +0 -923
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +0 -66
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +0 -226
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +0 -110
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +0 -375
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +0 -80
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +0 -181
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +0 -179
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +0 -107
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +0 -280
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +0 -126
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +0 -130
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +0 -223
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +0 -258
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +0 -137
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +0 -136
- xtgeo/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +0 -83
- xtgeo/include/eigen3/Eigen/src/SparseQR/SparseQR.h +0 -758
- xtgeo/include/eigen3/Eigen/src/StlSupport/StdDeque.h +0 -116
- xtgeo/include/eigen3/Eigen/src/StlSupport/StdList.h +0 -106
- xtgeo/include/eigen3/Eigen/src/StlSupport/StdVector.h +0 -131
- xtgeo/include/eigen3/Eigen/src/StlSupport/details.h +0 -84
- xtgeo/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +0 -1025
- xtgeo/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +0 -642
- xtgeo/include/eigen3/Eigen/src/misc/Image.h +0 -82
- xtgeo/include/eigen3/Eigen/src/misc/Kernel.h +0 -79
- xtgeo/include/eigen3/Eigen/src/misc/RealSvd2x2.h +0 -55
- xtgeo/include/eigen3/Eigen/src/misc/blas.h +0 -440
- xtgeo/include/eigen3/Eigen/src/misc/lapack.h +0 -152
- xtgeo/include/eigen3/Eigen/src/misc/lapacke.h +0 -16292
- xtgeo/include/eigen3/Eigen/src/misc/lapacke_mangling.h +0 -17
- xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +0 -358
- xtgeo/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +0 -696
- xtgeo/include/eigen3/Eigen/src/plugins/BlockMethods.h +0 -1442
- xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +0 -115
- xtgeo/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +0 -177
- xtgeo/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +0 -262
- xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +0 -152
- xtgeo/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +0 -95
- xtgeo/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +0 -149
- xtgeo/include/eigen3/signature_of_eigen3_matrix_library +0 -1
- xtgeo/include/eigen3/unsupported/Eigen/AdolcForward +0 -159
- xtgeo/include/eigen3/unsupported/Eigen/AlignedVector3 +0 -234
- xtgeo/include/eigen3/unsupported/Eigen/ArpackSupport +0 -30
- xtgeo/include/eigen3/unsupported/Eigen/AutoDiff +0 -46
- xtgeo/include/eigen3/unsupported/Eigen/BVH +0 -95
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/Tensor +0 -137
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +0 -42
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +0 -74
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +0 -554
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +0 -329
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +0 -247
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +0 -1176
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +0 -1559
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +0 -1093
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +0 -518
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +0 -377
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +0 -1023
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +0 -73
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +0 -6
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +0 -1413
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +0 -575
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +0 -1650
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +0 -1679
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +0 -456
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +0 -1132
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +0 -544
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +0 -214
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +0 -347
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +0 -137
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +0 -6
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +0 -104
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +0 -389
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +0 -1048
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +0 -409
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +0 -236
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +0 -490
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +0 -236
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +0 -983
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +0 -703
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +0 -388
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +0 -669
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +0 -379
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +0 -237
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +0 -191
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +0 -488
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +0 -302
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +0 -33
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +0 -99
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +0 -44
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +0 -79
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +0 -603
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +0 -738
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +0 -247
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +0 -82
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +0 -263
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +0 -216
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +0 -98
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +0 -327
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +0 -311
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +0 -1102
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +0 -708
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +0 -291
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +0 -322
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +0 -998
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +0 -6
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +0 -966
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +0 -582
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +0 -454
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +0 -465
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +0 -528
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +0 -513
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +0 -471
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +0 -161
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +0 -346
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +0 -303
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +0 -264
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +0 -249
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +0 -629
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +0 -293
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +0 -236
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +0 -338
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +0 -669
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +0 -67
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +0 -249
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +0 -486
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +0 -236
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +0 -23
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +0 -40
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +0 -301
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +0 -48
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +0 -20
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +0 -537
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +0 -88
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +0 -261
- xtgeo/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +0 -158
- xtgeo/include/eigen3/unsupported/Eigen/EulerAngles +0 -43
- xtgeo/include/eigen3/unsupported/Eigen/FFT +0 -419
- xtgeo/include/eigen3/unsupported/Eigen/IterativeSolvers +0 -51
- xtgeo/include/eigen3/unsupported/Eigen/KroneckerProduct +0 -36
- xtgeo/include/eigen3/unsupported/Eigen/LevenbergMarquardt +0 -49
- xtgeo/include/eigen3/unsupported/Eigen/MPRealSupport +0 -213
- xtgeo/include/eigen3/unsupported/Eigen/MatrixFunctions +0 -504
- xtgeo/include/eigen3/unsupported/Eigen/MoreVectorization +0 -24
- xtgeo/include/eigen3/unsupported/Eigen/NonLinearOptimization +0 -140
- xtgeo/include/eigen3/unsupported/Eigen/NumericalDiff +0 -56
- xtgeo/include/eigen3/unsupported/Eigen/OpenGLSupport +0 -322
- xtgeo/include/eigen3/unsupported/Eigen/Polynomials +0 -137
- xtgeo/include/eigen3/unsupported/Eigen/Skyline +0 -39
- xtgeo/include/eigen3/unsupported/Eigen/SparseExtra +0 -54
- xtgeo/include/eigen3/unsupported/Eigen/SpecialFunctions +0 -103
- xtgeo/include/eigen3/unsupported/Eigen/Splines +0 -35
- xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +0 -108
- xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +0 -730
- xtgeo/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +0 -220
- xtgeo/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +0 -293
- xtgeo/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +0 -223
- xtgeo/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +0 -790
- xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +0 -355
- xtgeo/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +0 -305
- xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +0 -261
- xtgeo/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +0 -449
- xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +0 -187
- xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +0 -511
- xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +0 -335
- xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +0 -436
- xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +0 -90
- xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +0 -154
- xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +0 -267
- xtgeo/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +0 -193
- xtgeo/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +0 -305
- xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +0 -84
- xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +0 -202
- xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +0 -160
- xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +0 -188
- xtgeo/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +0 -396
- xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +0 -441
- xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +0 -569
- xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +0 -373
- xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +0 -705
- xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +0 -368
- xtgeo/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +0 -117
- xtgeo/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +0 -95
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +0 -601
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +0 -657
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +0 -66
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +0 -70
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +0 -107
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +0 -79
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +0 -298
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +0 -91
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +0 -30
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +0 -99
- xtgeo/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +0 -49
- xtgeo/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +0 -130
- xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +0 -280
- xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +0 -428
- xtgeo/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +0 -143
- xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +0 -352
- xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +0 -862
- xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +0 -212
- xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +0 -295
- xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +0 -259
- xtgeo/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +0 -89
- xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +0 -122
- xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +0 -1079
- xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +0 -404
- xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +0 -282
- xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +0 -247
- xtgeo/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +0 -349
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +0 -286
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +0 -68
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +0 -357
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +0 -66
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +0 -1959
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +0 -118
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +0 -67
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +0 -167
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +0 -58
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +0 -330
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +0 -58
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +0 -2045
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +0 -79
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +0 -46
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +0 -16
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +0 -46
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +0 -16
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +0 -369
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +0 -54
- xtgeo/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +0 -34
- xtgeo/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +0 -507
- xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +0 -431
- xtgeo/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +0 -93
- xtgeo/share/eigen3/cmake/Eigen3Config.cmake +0 -37
- xtgeo/share/eigen3/cmake/Eigen3ConfigVersion.cmake +0 -65
- xtgeo/share/eigen3/cmake/UseEigen3.cmake +0 -6
- xtgeo/share/pkgconfig/eigen3.pc +0 -9
- xtgeo-4.10.0.dist-info/RECORD +0 -652
- {xtgeo-4.10.0.dist-info → xtgeo-4.11.0.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
// Formatting library for C++ - legacy printf implementation
|
|
2
|
+
//
|
|
3
|
+
// Copyright (c) 2012 - 2016, Victor Zverovich
|
|
4
|
+
// All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
// For the license information refer to format.h.
|
|
7
|
+
|
|
8
|
+
#ifndef FMT_PRINTF_H_
|
|
9
|
+
#define FMT_PRINTF_H_
|
|
10
|
+
|
|
11
|
+
#ifndef FMT_MODULE
|
|
12
|
+
# include <algorithm> // std::max
|
|
13
|
+
# include <limits> // std::numeric_limits
|
|
14
|
+
#endif
|
|
15
|
+
|
|
16
|
+
#include "format.h"
|
|
17
|
+
|
|
18
|
+
FMT_BEGIN_NAMESPACE
|
|
19
|
+
FMT_BEGIN_EXPORT
|
|
20
|
+
|
|
21
|
+
template <typename T> struct printf_formatter {
|
|
22
|
+
printf_formatter() = delete;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
template <typename Char> class basic_printf_context {
|
|
26
|
+
private:
|
|
27
|
+
basic_appender<Char> out_;
|
|
28
|
+
basic_format_args<basic_printf_context> args_;
|
|
29
|
+
|
|
30
|
+
static_assert(std::is_same<Char, char>::value ||
|
|
31
|
+
std::is_same<Char, wchar_t>::value,
|
|
32
|
+
"Unsupported code unit type.");
|
|
33
|
+
|
|
34
|
+
public:
|
|
35
|
+
using char_type = Char;
|
|
36
|
+
using parse_context_type = parse_context<Char>;
|
|
37
|
+
template <typename T> using formatter_type = printf_formatter<T>;
|
|
38
|
+
enum { builtin_types = 1 };
|
|
39
|
+
|
|
40
|
+
/// Constructs a `printf_context` object. References to the arguments are
|
|
41
|
+
/// stored in the context object so make sure they have appropriate lifetimes.
|
|
42
|
+
basic_printf_context(basic_appender<Char> out,
|
|
43
|
+
basic_format_args<basic_printf_context> args)
|
|
44
|
+
: out_(out), args_(args) {}
|
|
45
|
+
|
|
46
|
+
auto out() -> basic_appender<Char> { return out_; }
|
|
47
|
+
void advance_to(basic_appender<Char>) {}
|
|
48
|
+
|
|
49
|
+
auto locale() -> detail::locale_ref { return {}; }
|
|
50
|
+
|
|
51
|
+
auto arg(int id) const -> basic_format_arg<basic_printf_context> {
|
|
52
|
+
return args_.get(id);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
namespace detail {
|
|
57
|
+
|
|
58
|
+
// Return the result via the out param to workaround gcc bug 77539.
|
|
59
|
+
template <bool IS_CONSTEXPR, typename T, typename Ptr = const T*>
|
|
60
|
+
FMT_CONSTEXPR auto find(Ptr first, Ptr last, T value, Ptr& out) -> bool {
|
|
61
|
+
for (out = first; out != last; ++out) {
|
|
62
|
+
if (*out == value) return true;
|
|
63
|
+
}
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
template <>
|
|
68
|
+
inline auto find<false, char>(const char* first, const char* last, char value,
|
|
69
|
+
const char*& out) -> bool {
|
|
70
|
+
out =
|
|
71
|
+
static_cast<const char*>(memchr(first, value, to_unsigned(last - first)));
|
|
72
|
+
return out != nullptr;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Checks if a value fits in int - used to avoid warnings about comparing
|
|
76
|
+
// signed and unsigned integers.
|
|
77
|
+
template <bool IsSigned> struct int_checker {
|
|
78
|
+
template <typename T> static auto fits_in_int(T value) -> bool {
|
|
79
|
+
unsigned max = to_unsigned(max_value<int>());
|
|
80
|
+
return value <= max;
|
|
81
|
+
}
|
|
82
|
+
inline static auto fits_in_int(bool) -> bool { return true; }
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
template <> struct int_checker<true> {
|
|
86
|
+
template <typename T> static auto fits_in_int(T value) -> bool {
|
|
87
|
+
return value >= (std::numeric_limits<int>::min)() &&
|
|
88
|
+
value <= max_value<int>();
|
|
89
|
+
}
|
|
90
|
+
inline static auto fits_in_int(int) -> bool { return true; }
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
struct printf_precision_handler {
|
|
94
|
+
template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
|
|
95
|
+
auto operator()(T value) -> int {
|
|
96
|
+
if (!int_checker<std::numeric_limits<T>::is_signed>::fits_in_int(value))
|
|
97
|
+
report_error("number is too big");
|
|
98
|
+
return (std::max)(static_cast<int>(value), 0);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
template <typename T, FMT_ENABLE_IF(!std::is_integral<T>::value)>
|
|
102
|
+
auto operator()(T) -> int {
|
|
103
|
+
report_error("precision is not integer");
|
|
104
|
+
return 0;
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// An argument visitor that returns true iff arg is a zero integer.
|
|
109
|
+
struct is_zero_int {
|
|
110
|
+
template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
|
|
111
|
+
auto operator()(T value) -> bool {
|
|
112
|
+
return value == 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
template <typename T, FMT_ENABLE_IF(!std::is_integral<T>::value)>
|
|
116
|
+
auto operator()(T) -> bool {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
template <typename T> struct make_unsigned_or_bool : std::make_unsigned<T> {};
|
|
122
|
+
|
|
123
|
+
template <> struct make_unsigned_or_bool<bool> {
|
|
124
|
+
using type = bool;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
template <typename T, typename Context> class arg_converter {
|
|
128
|
+
private:
|
|
129
|
+
using char_type = typename Context::char_type;
|
|
130
|
+
|
|
131
|
+
basic_format_arg<Context>& arg_;
|
|
132
|
+
char_type type_;
|
|
133
|
+
|
|
134
|
+
public:
|
|
135
|
+
arg_converter(basic_format_arg<Context>& arg, char_type type)
|
|
136
|
+
: arg_(arg), type_(type) {}
|
|
137
|
+
|
|
138
|
+
void operator()(bool value) {
|
|
139
|
+
if (type_ != 's') operator()<bool>(value);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
template <typename U, FMT_ENABLE_IF(std::is_integral<U>::value)>
|
|
143
|
+
void operator()(U value) {
|
|
144
|
+
bool is_signed = type_ == 'd' || type_ == 'i';
|
|
145
|
+
using target_type = conditional_t<std::is_same<T, void>::value, U, T>;
|
|
146
|
+
if (const_check(sizeof(target_type) <= sizeof(int))) {
|
|
147
|
+
// Extra casts are used to silence warnings.
|
|
148
|
+
using unsigned_type = typename make_unsigned_or_bool<target_type>::type;
|
|
149
|
+
if (is_signed)
|
|
150
|
+
arg_ = static_cast<int>(static_cast<target_type>(value));
|
|
151
|
+
else
|
|
152
|
+
arg_ = static_cast<unsigned>(static_cast<unsigned_type>(value));
|
|
153
|
+
} else {
|
|
154
|
+
// glibc's printf doesn't sign extend arguments of smaller types:
|
|
155
|
+
// std::printf("%lld", -42); // prints "4294967254"
|
|
156
|
+
// but we don't have to do the same because it's a UB.
|
|
157
|
+
if (is_signed)
|
|
158
|
+
arg_ = static_cast<long long>(value);
|
|
159
|
+
else
|
|
160
|
+
arg_ = static_cast<typename make_unsigned_or_bool<U>::type>(value);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
template <typename U, FMT_ENABLE_IF(!std::is_integral<U>::value)>
|
|
165
|
+
void operator()(U) {} // No conversion needed for non-integral types.
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
// Converts an integer argument to T for printf, if T is an integral type.
|
|
169
|
+
// If T is void, the argument is converted to corresponding signed or unsigned
|
|
170
|
+
// type depending on the type specifier: 'd' and 'i' - signed, other -
|
|
171
|
+
// unsigned).
|
|
172
|
+
template <typename T, typename Context, typename Char>
|
|
173
|
+
void convert_arg(basic_format_arg<Context>& arg, Char type) {
|
|
174
|
+
arg.visit(arg_converter<T, Context>(arg, type));
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// Converts an integer argument to char for printf.
|
|
178
|
+
template <typename Context> class char_converter {
|
|
179
|
+
private:
|
|
180
|
+
basic_format_arg<Context>& arg_;
|
|
181
|
+
|
|
182
|
+
public:
|
|
183
|
+
explicit char_converter(basic_format_arg<Context>& arg) : arg_(arg) {}
|
|
184
|
+
|
|
185
|
+
template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
|
|
186
|
+
void operator()(T value) {
|
|
187
|
+
arg_ = static_cast<typename Context::char_type>(value);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
template <typename T, FMT_ENABLE_IF(!std::is_integral<T>::value)>
|
|
191
|
+
void operator()(T) {} // No conversion needed for non-integral types.
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
// An argument visitor that return a pointer to a C string if argument is a
|
|
195
|
+
// string or null otherwise.
|
|
196
|
+
template <typename Char> struct get_cstring {
|
|
197
|
+
template <typename T> auto operator()(T) -> const Char* { return nullptr; }
|
|
198
|
+
auto operator()(const Char* s) -> const Char* { return s; }
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
// Checks if an argument is a valid printf width specifier and sets
|
|
202
|
+
// left alignment if it is negative.
|
|
203
|
+
class printf_width_handler {
|
|
204
|
+
private:
|
|
205
|
+
format_specs& specs_;
|
|
206
|
+
|
|
207
|
+
public:
|
|
208
|
+
inline explicit printf_width_handler(format_specs& specs) : specs_(specs) {}
|
|
209
|
+
|
|
210
|
+
template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
|
|
211
|
+
auto operator()(T value) -> unsigned {
|
|
212
|
+
auto width = static_cast<uint32_or_64_or_128_t<T>>(value);
|
|
213
|
+
if (detail::is_negative(value)) {
|
|
214
|
+
specs_.set_align(align::left);
|
|
215
|
+
width = 0 - width;
|
|
216
|
+
}
|
|
217
|
+
unsigned int_max = to_unsigned(max_value<int>());
|
|
218
|
+
if (width > int_max) report_error("number is too big");
|
|
219
|
+
return static_cast<unsigned>(width);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
template <typename T, FMT_ENABLE_IF(!std::is_integral<T>::value)>
|
|
223
|
+
auto operator()(T) -> unsigned {
|
|
224
|
+
report_error("width is not integer");
|
|
225
|
+
return 0;
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
// Workaround for a bug with the XL compiler when initializing
|
|
230
|
+
// printf_arg_formatter's base class.
|
|
231
|
+
template <typename Char>
|
|
232
|
+
auto make_arg_formatter(basic_appender<Char> iter, format_specs& s)
|
|
233
|
+
-> arg_formatter<Char> {
|
|
234
|
+
return {iter, s, locale_ref()};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
// The `printf` argument formatter.
|
|
238
|
+
template <typename Char>
|
|
239
|
+
class printf_arg_formatter : public arg_formatter<Char> {
|
|
240
|
+
private:
|
|
241
|
+
using base = arg_formatter<Char>;
|
|
242
|
+
using context_type = basic_printf_context<Char>;
|
|
243
|
+
|
|
244
|
+
context_type& context_;
|
|
245
|
+
|
|
246
|
+
void write_null_pointer(bool is_string = false) {
|
|
247
|
+
auto s = this->specs;
|
|
248
|
+
s.set_type(presentation_type::none);
|
|
249
|
+
write_bytes<Char>(this->out, is_string ? "(null)" : "(nil)", s);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
template <typename T> void write(T value) {
|
|
253
|
+
detail::write<Char>(this->out, value, this->specs, this->locale);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
public:
|
|
257
|
+
printf_arg_formatter(basic_appender<Char> iter, format_specs& s,
|
|
258
|
+
context_type& ctx)
|
|
259
|
+
: base(make_arg_formatter(iter, s)), context_(ctx) {}
|
|
260
|
+
|
|
261
|
+
void operator()(monostate value) { write(value); }
|
|
262
|
+
|
|
263
|
+
template <typename T, FMT_ENABLE_IF(detail::is_integral<T>::value)>
|
|
264
|
+
void operator()(T value) {
|
|
265
|
+
// MSVC2013 fails to compile separate overloads for bool and Char so use
|
|
266
|
+
// std::is_same instead.
|
|
267
|
+
if (!std::is_same<T, Char>::value) {
|
|
268
|
+
write(value);
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
format_specs s = this->specs;
|
|
272
|
+
if (s.type() != presentation_type::none &&
|
|
273
|
+
s.type() != presentation_type::chr) {
|
|
274
|
+
return (*this)(static_cast<int>(value));
|
|
275
|
+
}
|
|
276
|
+
s.set_sign(sign::none);
|
|
277
|
+
s.clear_alt();
|
|
278
|
+
s.set_fill(' '); // Ignore '0' flag for char types.
|
|
279
|
+
// align::numeric needs to be overwritten here since the '0' flag is
|
|
280
|
+
// ignored for non-numeric types
|
|
281
|
+
if (s.align() == align::none || s.align() == align::numeric)
|
|
282
|
+
s.set_align(align::right);
|
|
283
|
+
detail::write<Char>(this->out, static_cast<Char>(value), s);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
template <typename T, FMT_ENABLE_IF(std::is_floating_point<T>::value)>
|
|
287
|
+
void operator()(T value) {
|
|
288
|
+
write(value);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
void operator()(const char* value) {
|
|
292
|
+
if (value)
|
|
293
|
+
write(value);
|
|
294
|
+
else
|
|
295
|
+
write_null_pointer(this->specs.type() != presentation_type::pointer);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
void operator()(const wchar_t* value) {
|
|
299
|
+
if (value)
|
|
300
|
+
write(value);
|
|
301
|
+
else
|
|
302
|
+
write_null_pointer(this->specs.type() != presentation_type::pointer);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
void operator()(basic_string_view<Char> value) { write(value); }
|
|
306
|
+
|
|
307
|
+
void operator()(const void* value) {
|
|
308
|
+
if (value)
|
|
309
|
+
write(value);
|
|
310
|
+
else
|
|
311
|
+
write_null_pointer();
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
void operator()(typename basic_format_arg<context_type>::handle handle) {
|
|
315
|
+
auto parse_ctx = parse_context<Char>({});
|
|
316
|
+
handle.format(parse_ctx, context_);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
template <typename Char>
|
|
321
|
+
void parse_flags(format_specs& specs, const Char*& it, const Char* end) {
|
|
322
|
+
for (; it != end; ++it) {
|
|
323
|
+
switch (*it) {
|
|
324
|
+
case '-': specs.set_align(align::left); break;
|
|
325
|
+
case '+': specs.set_sign(sign::plus); break;
|
|
326
|
+
case '0': specs.set_fill('0'); break;
|
|
327
|
+
case ' ':
|
|
328
|
+
if (specs.sign() != sign::plus) specs.set_sign(sign::space);
|
|
329
|
+
break;
|
|
330
|
+
case '#': specs.set_alt(); break;
|
|
331
|
+
default: return;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
template <typename Char, typename GetArg>
|
|
337
|
+
auto parse_header(const Char*& it, const Char* end, format_specs& specs,
|
|
338
|
+
GetArg get_arg) -> int {
|
|
339
|
+
int arg_index = -1;
|
|
340
|
+
Char c = *it;
|
|
341
|
+
if (c >= '0' && c <= '9') {
|
|
342
|
+
// Parse an argument index (if followed by '$') or a width possibly
|
|
343
|
+
// preceded with '0' flag(s).
|
|
344
|
+
int value = parse_nonnegative_int(it, end, -1);
|
|
345
|
+
if (it != end && *it == '$') { // value is an argument index
|
|
346
|
+
++it;
|
|
347
|
+
arg_index = value != -1 ? value : max_value<int>();
|
|
348
|
+
} else {
|
|
349
|
+
if (c == '0') specs.set_fill('0');
|
|
350
|
+
if (value != 0) {
|
|
351
|
+
// Nonzero value means that we parsed width and don't need to
|
|
352
|
+
// parse it or flags again, so return now.
|
|
353
|
+
if (value == -1) report_error("number is too big");
|
|
354
|
+
specs.width = value;
|
|
355
|
+
return arg_index;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
parse_flags(specs, it, end);
|
|
360
|
+
// Parse width.
|
|
361
|
+
if (it != end) {
|
|
362
|
+
if (*it >= '0' && *it <= '9') {
|
|
363
|
+
specs.width = parse_nonnegative_int(it, end, -1);
|
|
364
|
+
if (specs.width == -1) report_error("number is too big");
|
|
365
|
+
} else if (*it == '*') {
|
|
366
|
+
++it;
|
|
367
|
+
specs.width = static_cast<int>(
|
|
368
|
+
get_arg(-1).visit(detail::printf_width_handler(specs)));
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
return arg_index;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
inline auto parse_printf_presentation_type(char c, type t, bool& upper)
|
|
375
|
+
-> presentation_type {
|
|
376
|
+
using pt = presentation_type;
|
|
377
|
+
constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
|
|
378
|
+
switch (c) {
|
|
379
|
+
case 'd': return in(t, integral_set) ? pt::dec : pt::none;
|
|
380
|
+
case 'o': return in(t, integral_set) ? pt::oct : pt::none;
|
|
381
|
+
case 'X': upper = true; FMT_FALLTHROUGH;
|
|
382
|
+
case 'x': return in(t, integral_set) ? pt::hex : pt::none;
|
|
383
|
+
case 'E': upper = true; FMT_FALLTHROUGH;
|
|
384
|
+
case 'e': return in(t, float_set) ? pt::exp : pt::none;
|
|
385
|
+
case 'F': upper = true; FMT_FALLTHROUGH;
|
|
386
|
+
case 'f': return in(t, float_set) ? pt::fixed : pt::none;
|
|
387
|
+
case 'G': upper = true; FMT_FALLTHROUGH;
|
|
388
|
+
case 'g': return in(t, float_set) ? pt::general : pt::none;
|
|
389
|
+
case 'A': upper = true; FMT_FALLTHROUGH;
|
|
390
|
+
case 'a': return in(t, float_set) ? pt::hexfloat : pt::none;
|
|
391
|
+
case 'c': return in(t, integral_set) ? pt::chr : pt::none;
|
|
392
|
+
case 's': return in(t, string_set | cstring_set) ? pt::string : pt::none;
|
|
393
|
+
case 'p': return in(t, pointer_set | cstring_set) ? pt::pointer : pt::none;
|
|
394
|
+
default: return pt::none;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
template <typename Char, typename Context>
|
|
399
|
+
void vprintf(buffer<Char>& buf, basic_string_view<Char> format,
|
|
400
|
+
basic_format_args<Context> args) {
|
|
401
|
+
using iterator = basic_appender<Char>;
|
|
402
|
+
auto out = iterator(buf);
|
|
403
|
+
auto context = basic_printf_context<Char>(out, args);
|
|
404
|
+
auto parse_ctx = parse_context<Char>(format);
|
|
405
|
+
|
|
406
|
+
// Returns the argument with specified index or, if arg_index is -1, the next
|
|
407
|
+
// argument.
|
|
408
|
+
auto get_arg = [&](int arg_index) {
|
|
409
|
+
if (arg_index < 0)
|
|
410
|
+
arg_index = parse_ctx.next_arg_id();
|
|
411
|
+
else
|
|
412
|
+
parse_ctx.check_arg_id(--arg_index);
|
|
413
|
+
return detail::get_arg(context, arg_index);
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
const Char* start = parse_ctx.begin();
|
|
417
|
+
const Char* end = parse_ctx.end();
|
|
418
|
+
auto it = start;
|
|
419
|
+
while (it != end) {
|
|
420
|
+
if (!find<false, Char>(it, end, '%', it)) {
|
|
421
|
+
it = end; // find leaves it == nullptr if it doesn't find '%'.
|
|
422
|
+
break;
|
|
423
|
+
}
|
|
424
|
+
Char c = *it++;
|
|
425
|
+
if (it != end && *it == c) {
|
|
426
|
+
write(out, basic_string_view<Char>(start, to_unsigned(it - start)));
|
|
427
|
+
start = ++it;
|
|
428
|
+
continue;
|
|
429
|
+
}
|
|
430
|
+
write(out, basic_string_view<Char>(start, to_unsigned(it - 1 - start)));
|
|
431
|
+
|
|
432
|
+
auto specs = format_specs();
|
|
433
|
+
specs.set_align(align::right);
|
|
434
|
+
|
|
435
|
+
// Parse argument index, flags and width.
|
|
436
|
+
int arg_index = parse_header(it, end, specs, get_arg);
|
|
437
|
+
if (arg_index == 0) report_error("argument not found");
|
|
438
|
+
|
|
439
|
+
// Parse precision.
|
|
440
|
+
if (it != end && *it == '.') {
|
|
441
|
+
++it;
|
|
442
|
+
c = it != end ? *it : 0;
|
|
443
|
+
if ('0' <= c && c <= '9') {
|
|
444
|
+
specs.precision = parse_nonnegative_int(it, end, 0);
|
|
445
|
+
} else if (c == '*') {
|
|
446
|
+
++it;
|
|
447
|
+
specs.precision =
|
|
448
|
+
static_cast<int>(get_arg(-1).visit(printf_precision_handler()));
|
|
449
|
+
} else {
|
|
450
|
+
specs.precision = 0;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
auto arg = get_arg(arg_index);
|
|
455
|
+
// For d, i, o, u, x, and X conversion specifiers, if a precision is
|
|
456
|
+
// specified, the '0' flag is ignored
|
|
457
|
+
if (specs.precision >= 0 && is_integral_type(arg.type())) {
|
|
458
|
+
// Ignore '0' for non-numeric types or if '-' present.
|
|
459
|
+
specs.set_fill(' ');
|
|
460
|
+
}
|
|
461
|
+
if (specs.precision >= 0 && arg.type() == type::cstring_type) {
|
|
462
|
+
auto str = arg.visit(get_cstring<Char>());
|
|
463
|
+
auto str_end = str + specs.precision;
|
|
464
|
+
auto nul = std::find(str, str_end, Char());
|
|
465
|
+
auto sv = basic_string_view<Char>(
|
|
466
|
+
str, to_unsigned(nul != str_end ? nul - str : specs.precision));
|
|
467
|
+
arg = sv;
|
|
468
|
+
}
|
|
469
|
+
if (specs.alt() && arg.visit(is_zero_int())) specs.clear_alt();
|
|
470
|
+
if (specs.fill_unit<Char>() == '0') {
|
|
471
|
+
if (is_arithmetic_type(arg.type()) && specs.align() != align::left) {
|
|
472
|
+
specs.set_align(align::numeric);
|
|
473
|
+
} else {
|
|
474
|
+
// Ignore '0' flag for non-numeric types or if '-' flag is also present.
|
|
475
|
+
specs.set_fill(' ');
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// Parse length and convert the argument to the required type.
|
|
480
|
+
c = it != end ? *it++ : 0;
|
|
481
|
+
Char t = it != end ? *it : 0;
|
|
482
|
+
switch (c) {
|
|
483
|
+
case 'h':
|
|
484
|
+
if (t == 'h') {
|
|
485
|
+
++it;
|
|
486
|
+
t = it != end ? *it : 0;
|
|
487
|
+
convert_arg<signed char>(arg, t);
|
|
488
|
+
} else {
|
|
489
|
+
convert_arg<short>(arg, t);
|
|
490
|
+
}
|
|
491
|
+
break;
|
|
492
|
+
case 'l':
|
|
493
|
+
if (t == 'l') {
|
|
494
|
+
++it;
|
|
495
|
+
t = it != end ? *it : 0;
|
|
496
|
+
convert_arg<long long>(arg, t);
|
|
497
|
+
} else {
|
|
498
|
+
convert_arg<long>(arg, t);
|
|
499
|
+
}
|
|
500
|
+
break;
|
|
501
|
+
case 'j': convert_arg<intmax_t>(arg, t); break;
|
|
502
|
+
case 'z': convert_arg<size_t>(arg, t); break;
|
|
503
|
+
case 't': convert_arg<std::ptrdiff_t>(arg, t); break;
|
|
504
|
+
case 'L':
|
|
505
|
+
// printf produces garbage when 'L' is omitted for long double, no
|
|
506
|
+
// need to do the same.
|
|
507
|
+
break;
|
|
508
|
+
default: --it; convert_arg<void>(arg, c);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
// Parse type.
|
|
512
|
+
if (it == end) report_error("invalid format string");
|
|
513
|
+
char type = static_cast<char>(*it++);
|
|
514
|
+
if (is_integral_type(arg.type())) {
|
|
515
|
+
// Normalize type.
|
|
516
|
+
switch (type) {
|
|
517
|
+
case 'i':
|
|
518
|
+
case 'u': type = 'd'; break;
|
|
519
|
+
case 'c':
|
|
520
|
+
arg.visit(char_converter<basic_printf_context<Char>>(arg));
|
|
521
|
+
break;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
bool upper = false;
|
|
525
|
+
specs.set_type(parse_printf_presentation_type(type, arg.type(), upper));
|
|
526
|
+
if (specs.type() == presentation_type::none)
|
|
527
|
+
report_error("invalid format specifier");
|
|
528
|
+
if (upper) specs.set_upper();
|
|
529
|
+
|
|
530
|
+
start = it;
|
|
531
|
+
|
|
532
|
+
// Format argument.
|
|
533
|
+
arg.visit(printf_arg_formatter<Char>(out, specs, context));
|
|
534
|
+
}
|
|
535
|
+
write(out, basic_string_view<Char>(start, to_unsigned(it - start)));
|
|
536
|
+
}
|
|
537
|
+
} // namespace detail
|
|
538
|
+
|
|
539
|
+
using printf_context = basic_printf_context<char>;
|
|
540
|
+
using wprintf_context = basic_printf_context<wchar_t>;
|
|
541
|
+
|
|
542
|
+
using printf_args = basic_format_args<printf_context>;
|
|
543
|
+
using wprintf_args = basic_format_args<wprintf_context>;
|
|
544
|
+
|
|
545
|
+
/// Constructs an `format_arg_store` object that contains references to
|
|
546
|
+
/// arguments and can be implicitly converted to `printf_args`.
|
|
547
|
+
template <typename Char = char, typename... T>
|
|
548
|
+
inline auto make_printf_args(T&... args)
|
|
549
|
+
-> decltype(fmt::make_format_args<basic_printf_context<Char>>(args...)) {
|
|
550
|
+
return fmt::make_format_args<basic_printf_context<Char>>(args...);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
template <typename Char> struct vprintf_args {
|
|
554
|
+
using type = basic_format_args<basic_printf_context<Char>>;
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
template <typename Char>
|
|
558
|
+
inline auto vsprintf(basic_string_view<Char> fmt,
|
|
559
|
+
typename vprintf_args<Char>::type args)
|
|
560
|
+
-> std::basic_string<Char> {
|
|
561
|
+
auto buf = basic_memory_buffer<Char>();
|
|
562
|
+
detail::vprintf(buf, fmt, args);
|
|
563
|
+
return {buf.data(), buf.size()};
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Formats `args` according to specifications in `fmt` and returns the result
|
|
568
|
+
* as as string.
|
|
569
|
+
*
|
|
570
|
+
* **Example**:
|
|
571
|
+
*
|
|
572
|
+
* std::string message = fmt::sprintf("The answer is %d", 42);
|
|
573
|
+
*/
|
|
574
|
+
template <typename S, typename... T, typename Char = detail::char_t<S>>
|
|
575
|
+
inline auto sprintf(const S& fmt, const T&... args) -> std::basic_string<Char> {
|
|
576
|
+
return vsprintf(detail::to_string_view(fmt),
|
|
577
|
+
fmt::make_format_args<basic_printf_context<Char>>(args...));
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
template <typename Char>
|
|
581
|
+
inline auto vfprintf(std::FILE* f, basic_string_view<Char> fmt,
|
|
582
|
+
typename vprintf_args<Char>::type args) -> int {
|
|
583
|
+
auto buf = basic_memory_buffer<Char>();
|
|
584
|
+
detail::vprintf(buf, fmt, args);
|
|
585
|
+
size_t size = buf.size();
|
|
586
|
+
return std::fwrite(buf.data(), sizeof(Char), size, f) < size
|
|
587
|
+
? -1
|
|
588
|
+
: static_cast<int>(size);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Formats `args` according to specifications in `fmt` and writes the output
|
|
593
|
+
* to `f`.
|
|
594
|
+
*
|
|
595
|
+
* **Example**:
|
|
596
|
+
*
|
|
597
|
+
* fmt::fprintf(stderr, "Don't %s!", "panic");
|
|
598
|
+
*/
|
|
599
|
+
template <typename S, typename... T, typename Char = detail::char_t<S>>
|
|
600
|
+
inline auto fprintf(std::FILE* f, const S& fmt, const T&... args) -> int {
|
|
601
|
+
return vfprintf(f, detail::to_string_view(fmt),
|
|
602
|
+
make_printf_args<Char>(args...));
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
template <typename Char>
|
|
606
|
+
FMT_DEPRECATED inline auto vprintf(basic_string_view<Char> fmt,
|
|
607
|
+
typename vprintf_args<Char>::type args)
|
|
608
|
+
-> int {
|
|
609
|
+
return vfprintf(stdout, fmt, args);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Formats `args` according to specifications in `fmt` and writes the output
|
|
614
|
+
* to `stdout`.
|
|
615
|
+
*
|
|
616
|
+
* **Example**:
|
|
617
|
+
*
|
|
618
|
+
* fmt::printf("Elapsed time: %.2f seconds", 1.23);
|
|
619
|
+
*/
|
|
620
|
+
template <typename... T>
|
|
621
|
+
inline auto printf(string_view fmt, const T&... args) -> int {
|
|
622
|
+
return vfprintf(stdout, fmt, make_printf_args(args...));
|
|
623
|
+
}
|
|
624
|
+
template <typename... T>
|
|
625
|
+
FMT_DEPRECATED inline auto printf(basic_string_view<wchar_t> fmt,
|
|
626
|
+
const T&... args) -> int {
|
|
627
|
+
return vfprintf(stdout, fmt, make_printf_args<wchar_t>(args...));
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
FMT_END_EXPORT
|
|
631
|
+
FMT_END_NAMESPACE
|
|
632
|
+
|
|
633
|
+
#endif // FMT_PRINTF_H_
|