casadi 3.6.0__cp39-none-manylinux2014_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- casadi/__init__.py +92 -0
- casadi/_casadi.so +0 -0
- casadi/casadi-cli +0 -0
- casadi/casadi.py +50255 -0
- casadi/cbc +0 -0
- casadi/clp +0 -0
- casadi/cmake/casadi-config-version.cmake +11 -0
- casadi/cmake/casadi-config.cmake +4 -0
- casadi/cmake/casadi-targets-release.cmake +19 -0
- casadi/cmake/casadi-targets.cmake +106 -0
- casadi/cmake/highs/highs-config.cmake +10 -0
- casadi/cmake/highs/highs-targets-release.cmake +28 -0
- casadi/cmake/highs/highs-targets.cmake +114 -0
- casadi/cmake/osqp/osqp-config.cmake +1 -0
- casadi/cmake/osqp/osqp-targets-noconfig.cmake +29 -0
- casadi/cmake/osqp/osqp-targets.cmake +109 -0
- casadi/cmake/qdldl/qdldl-config.cmake +1 -0
- casadi/cmake/qdldl/qdldl-targets-noconfig.cmake +29 -0
- casadi/cmake/qdldl/qdldl-targets.cmake +109 -0
- casadi/highs +0 -0
- casadi/include/blasfeo.h +52 -0
- casadi/include/blasfeo_block_size.h +447 -0
- casadi/include/blasfeo_common.h +274 -0
- casadi/include/blasfeo_d_aux.h +255 -0
- casadi/include/blasfeo_d_aux_ext_dep.h +145 -0
- casadi/include/blasfeo_d_aux_ext_dep_ref.h +84 -0
- casadi/include/blasfeo_d_aux_old.h +75 -0
- casadi/include/blasfeo_d_aux_ref.h +208 -0
- casadi/include/blasfeo_d_aux_test.h +226 -0
- casadi/include/blasfeo_d_blas.h +46 -0
- casadi/include/blasfeo_d_blas_api.h +281 -0
- casadi/include/blasfeo_d_blasfeo_api.h +364 -0
- casadi/include/blasfeo_d_blasfeo_api_ref.h +147 -0
- casadi/include/blasfeo_d_blasfeo_hp_api.h +84 -0
- casadi/include/blasfeo_d_blasfeo_ref_api.h +283 -0
- casadi/include/blasfeo_d_kernel.h +1321 -0
- casadi/include/blasfeo_i_aux_ext_dep.h +69 -0
- casadi/include/blasfeo_m_aux.h +57 -0
- casadi/include/blasfeo_memory.h +62 -0
- casadi/include/blasfeo_naming.h +77 -0
- casadi/include/blasfeo_processor_features.h +88 -0
- casadi/include/blasfeo_s_aux.h +168 -0
- casadi/include/blasfeo_s_aux_ext_dep.h +141 -0
- casadi/include/blasfeo_s_aux_ext_dep_ref.h +82 -0
- casadi/include/blasfeo_s_aux_old.h +64 -0
- casadi/include/blasfeo_s_aux_ref.h +147 -0
- casadi/include/blasfeo_s_aux_test.h +177 -0
- casadi/include/blasfeo_s_blas.h +46 -0
- casadi/include/blasfeo_s_blas_api.h +182 -0
- casadi/include/blasfeo_s_blasfeo_api.h +284 -0
- casadi/include/blasfeo_s_blasfeo_api_ref.h +135 -0
- casadi/include/blasfeo_s_blasfeo_ref_api.h +252 -0
- casadi/include/blasfeo_s_kernel.h +692 -0
- casadi/include/blasfeo_stdlib.h +62 -0
- casadi/include/blasfeo_target.h +73 -0
- casadi/include/blasfeo_timing.h +114 -0
- casadi/include/blasfeo_v_aux_ext_dep.h +83 -0
- casadi/include/casadi/casadi.hpp +31 -0
- casadi/include/casadi/casadi.i +4656 -0
- casadi/include/casadi/casadi_c.h +136 -0
- casadi/include/casadi/casadi_numpy.hpp +97 -0
- casadi/include/casadi/config.h +46 -0
- casadi/include/casadi/core/calculus.hpp +1750 -0
- casadi/include/casadi/core/callback.hpp +226 -0
- casadi/include/casadi/core/casadi_common.hpp +317 -0
- casadi/include/casadi/core/casadi_enum.hpp +90 -0
- casadi/include/casadi/core/casadi_export.h +42 -0
- casadi/include/casadi/core/casadi_interrupt.hpp +83 -0
- casadi/include/casadi/core/casadi_limits.hpp +104 -0
- casadi/include/casadi/core/casadi_logger.hpp +134 -0
- casadi/include/casadi/core/casadi_meta.hpp +107 -0
- casadi/include/casadi/core/casadi_misc.hpp +949 -0
- casadi/include/casadi/core/casadi_types.hpp +65 -0
- casadi/include/casadi/core/code_generator.hpp +905 -0
- casadi/include/casadi/core/conic.hpp +213 -0
- casadi/include/casadi/core/core.hpp +69 -0
- casadi/include/casadi/core/dae_builder.hpp +720 -0
- casadi/include/casadi/core/dm.hpp +87 -0
- casadi/include/casadi/core/dm_fwd.hpp +39 -0
- casadi/include/casadi/core/dple.hpp +138 -0
- casadi/include/casadi/core/exception.hpp +167 -0
- casadi/include/casadi/core/expm.hpp +84 -0
- casadi/include/casadi/core/external.hpp +70 -0
- casadi/include/casadi/core/function.hpp +1343 -0
- casadi/include/casadi/core/generic_expression.hpp +760 -0
- casadi/include/casadi/core/generic_matrix.hpp +1596 -0
- casadi/include/casadi/core/generic_type.hpp +287 -0
- casadi/include/casadi/core/global_options.hpp +95 -0
- casadi/include/casadi/core/im.hpp +52 -0
- casadi/include/casadi/core/im_fwd.hpp +35 -0
- casadi/include/casadi/core/importer.hpp +221 -0
- casadi/include/casadi/core/integration_tools.hpp +292 -0
- casadi/include/casadi/core/integrator.hpp +256 -0
- casadi/include/casadi/core/interpolant.hpp +163 -0
- casadi/include/casadi/core/linsol.hpp +171 -0
- casadi/include/casadi/core/matrix_decl.hpp +1337 -0
- casadi/include/casadi/core/matrix_fwd.hpp +37 -0
- casadi/include/casadi/core/mx.hpp +938 -0
- casadi/include/casadi/core/nlp_builder.hpp +162 -0
- casadi/include/casadi/core/nlp_tools.hpp +124 -0
- casadi/include/casadi/core/nlpsol.hpp +236 -0
- casadi/include/casadi/core/nonzeros.hpp +111 -0
- casadi/include/casadi/core/options.hpp +119 -0
- casadi/include/casadi/core/optistack.hpp +647 -0
- casadi/include/casadi/core/polynomial.hpp +126 -0
- casadi/include/casadi/core/printable.hpp +73 -0
- casadi/include/casadi/core/rootfinder.hpp +176 -0
- casadi/include/casadi/core/runtime/casadi_axpy.hpp +8 -0
- casadi/include/casadi/core/runtime/casadi_bfgs.hpp +49 -0
- casadi/include/casadi/core/runtime/casadi_bilin.hpp +42 -0
- casadi/include/casadi/core/runtime/casadi_bound_consistency.hpp +51 -0
- casadi/include/casadi/core/runtime/casadi_cache.hpp +59 -0
- casadi/include/casadi/core/runtime/casadi_clear.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_clip_max.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_clip_min.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_convexify.hpp +182 -0
- casadi/include/casadi/core/runtime/casadi_copy.hpp +31 -0
- casadi/include/casadi/core/runtime/casadi_cvx.hpp +463 -0
- casadi/include/casadi/core/runtime/casadi_de_boor.hpp +36 -0
- casadi/include/casadi/core/runtime/casadi_dense_lsqr.hpp +247 -0
- casadi/include/casadi/core/runtime/casadi_densify.hpp +48 -0
- casadi/include/casadi/core/runtime/casadi_dot.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_feasiblesqpmethod.hpp +208 -0
- casadi/include/casadi/core/runtime/casadi_file_slurp.hpp +32 -0
- casadi/include/casadi/core/runtime/casadi_fill.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_finite_diff.hpp +152 -0
- casadi/include/casadi/core/runtime/casadi_flip.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_getu.hpp +35 -0
- casadi/include/casadi/core/runtime/casadi_iamax.hpp +36 -0
- casadi/include/casadi/core/runtime/casadi_interpn.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_interpn_grad.hpp +72 -0
- casadi/include/casadi/core/runtime/casadi_interpn_interpolate.hpp +43 -0
- casadi/include/casadi/core/runtime/casadi_interpn_weights.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_ipqp.hpp +865 -0
- casadi/include/casadi/core/runtime/casadi_jac.hpp +186 -0
- casadi/include/casadi/core/runtime/casadi_kkt.hpp +67 -0
- casadi/include/casadi/core/runtime/casadi_kron.hpp +50 -0
- casadi/include/casadi/core/runtime/casadi_ldl.hpp +109 -0
- casadi/include/casadi/core/runtime/casadi_logsumexp.hpp +41 -0
- casadi/include/casadi/core/runtime/casadi_low.hpp +65 -0
- casadi/include/casadi/core/runtime/casadi_lsqr.hpp +247 -0
- casadi/include/casadi/core/runtime/casadi_masked_norm_inf.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_max_viol.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_mmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_mmin.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_mtimes.hpp +75 -0
- casadi/include/casadi/core/runtime/casadi_mv.hpp +46 -0
- casadi/include/casadi/core/runtime/casadi_mv_dense.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_nd_boor_dual_eval.hpp +127 -0
- casadi/include/casadi/core/runtime/casadi_nd_boor_eval.hpp +120 -0
- casadi/include/casadi/core/runtime/casadi_newton.hpp +66 -0
- casadi/include/casadi/core/runtime/casadi_nlp.hpp +149 -0
- casadi/include/casadi/core/runtime/casadi_norm_1.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_norm_2.hpp +24 -0
- casadi/include/casadi/core/runtime/casadi_norm_inf.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_norm_inf_mul.hpp +105 -0
- casadi/include/casadi/core/runtime/casadi_polyval.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_project.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_qp.hpp +86 -0
- casadi/include/casadi/core/runtime/casadi_qr.hpp +272 -0
- casadi/include/casadi/core/runtime/casadi_qrqp.hpp +1233 -0
- casadi/include/casadi/core/runtime/casadi_rank1.hpp +40 -0
- casadi/include/casadi/core/runtime/casadi_regularize.hpp +73 -0
- casadi/include/casadi/core/runtime/casadi_runtime.hpp +315 -0
- casadi/include/casadi/core/runtime/casadi_scal.hpp +26 -0
- casadi/include/casadi/core/runtime/casadi_sparsify.hpp +42 -0
- casadi/include/casadi/core/runtime/casadi_sparsity.hpp +24 -0
- casadi/include/casadi/core/runtime/casadi_sqpmethod.hpp +168 -0
- casadi/include/casadi/core/runtime/casadi_sum.hpp +31 -0
- casadi/include/casadi/core/runtime/casadi_sum_viol.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_swap.hpp +32 -0
- casadi/include/casadi/core/runtime/casadi_trans.hpp +35 -0
- casadi/include/casadi/core/runtime/casadi_tri_project.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_trilsolve.hpp +81 -0
- casadi/include/casadi/core/runtime/casadi_triusolve.hpp +81 -0
- casadi/include/casadi/core/runtime/casadi_vector_fmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vector_fmin.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vfmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vfmin.hpp +28 -0
- casadi/include/casadi/core/runtime/shared.hpp +261 -0
- casadi/include/casadi/core/serializer.hpp +256 -0
- casadi/include/casadi/core/serializing_stream.hpp +317 -0
- casadi/include/casadi/core/shared_object.hpp +270 -0
- casadi/include/casadi/core/slice.hpp +149 -0
- casadi/include/casadi/core/sparsity.hpp +1486 -0
- casadi/include/casadi/core/sparsity_interface.hpp +691 -0
- casadi/include/casadi/core/submatrix.hpp +156 -0
- casadi/include/casadi/core/sx.hpp +203 -0
- casadi/include/casadi/core/sx_elem.hpp +351 -0
- casadi/include/casadi/core/sx_fwd.hpp +45 -0
- casadi/include/casadi/core/timing.hpp +98 -0
- casadi/include/casadi/core/xml_file.hpp +93 -0
- casadi/include/casadi/core/xml_node.hpp +207 -0
- casadi/include/casadi/doc.i +57262 -0
- casadi/include/casadi/doc_merged.i +35255 -0
- casadi/include/casadi/mem.h +299 -0
- casadi/include/casadi/valgrind-casadi.supp +429 -0
- casadi/include/casadi/valgrind-python.supp +1377 -0
- casadi/include/eigen3/Eigen/Cholesky +45 -0
- casadi/include/eigen3/Eigen/CholmodSupport +48 -0
- casadi/include/eigen3/Eigen/Core +384 -0
- casadi/include/eigen3/Eigen/Dense +7 -0
- casadi/include/eigen3/Eigen/Eigen +2 -0
- casadi/include/eigen3/Eigen/Eigenvalues +60 -0
- casadi/include/eigen3/Eigen/Geometry +59 -0
- casadi/include/eigen3/Eigen/Householder +29 -0
- casadi/include/eigen3/Eigen/IterativeLinearSolvers +48 -0
- casadi/include/eigen3/Eigen/Jacobi +32 -0
- casadi/include/eigen3/Eigen/KLUSupport +41 -0
- casadi/include/eigen3/Eigen/LU +47 -0
- casadi/include/eigen3/Eigen/MetisSupport +35 -0
- casadi/include/eigen3/Eigen/OrderingMethods +70 -0
- casadi/include/eigen3/Eigen/PaStiXSupport +49 -0
- casadi/include/eigen3/Eigen/PardisoSupport +35 -0
- casadi/include/eigen3/Eigen/QR +50 -0
- casadi/include/eigen3/Eigen/QtAlignedMalloc +39 -0
- casadi/include/eigen3/Eigen/SPQRSupport +34 -0
- casadi/include/eigen3/Eigen/SVD +50 -0
- casadi/include/eigen3/Eigen/Sparse +34 -0
- casadi/include/eigen3/Eigen/SparseCholesky +37 -0
- casadi/include/eigen3/Eigen/SparseCore +69 -0
- casadi/include/eigen3/Eigen/SparseLU +50 -0
- casadi/include/eigen3/Eigen/SparseQR +36 -0
- casadi/include/eigen3/Eigen/StdDeque +27 -0
- casadi/include/eigen3/Eigen/StdList +26 -0
- casadi/include/eigen3/Eigen/StdVector +27 -0
- casadi/include/eigen3/Eigen/SuperLUSupport +64 -0
- casadi/include/eigen3/Eigen/UmfPackSupport +40 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- casadi/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
- casadi/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +413 -0
- casadi/include/eigen3/Eigen/src/Core/Array.h +417 -0
- casadi/include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
- casadi/include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
- casadi/include/eigen3/Eigen/src/Core/Assign.h +90 -0
- casadi/include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
- casadi/include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
- casadi/include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
- casadi/include/eigen3/Eigen/src/Core/Block.h +448 -0
- casadi/include/eigen3/Eigen/src/Core/BooleanRedux.h +162 -0
- casadi/include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
- casadi/include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
- casadi/include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
- casadi/include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
- casadi/include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
- casadi/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- casadi/include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
- casadi/include/eigen3/Eigen/src/Core/Diagonal.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
- casadi/include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
- casadi/include/eigen3/Eigen/src/Core/Dot.h +318 -0
- casadi/include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
- casadi/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- casadi/include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
- casadi/include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
- casadi/include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
- casadi/include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
- casadi/include/eigen3/Eigen/src/Core/IO.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/IndexedView.h +237 -0
- casadi/include/eigen3/Eigen/src/Core/Inverse.h +117 -0
- casadi/include/eigen3/Eigen/src/Core/Map.h +171 -0
- casadi/include/eigen3/Eigen/src/Core/MapBase.h +310 -0
- casadi/include/eigen3/Eigen/src/Core/MathFunctions.h +2057 -0
- casadi/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- casadi/include/eigen3/Eigen/src/Core/Matrix.h +565 -0
- casadi/include/eigen3/Eigen/src/Core/MatrixBase.h +547 -0
- casadi/include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
- casadi/include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
- casadi/include/eigen3/Eigen/src/Core/NumTraits.h +335 -0
- casadi/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
- casadi/include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
- casadi/include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
- casadi/include/eigen3/Eigen/src/Core/Product.h +191 -0
- casadi/include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
- casadi/include/eigen3/Eigen/src/Core/Random.h +218 -0
- casadi/include/eigen3/Eigen/src/Core/Redux.h +515 -0
- casadi/include/eigen3/Eigen/src/Core/Ref.h +381 -0
- casadi/include/eigen3/Eigen/src/Core/Replicate.h +142 -0
- casadi/include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
- casadi/include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
- casadi/include/eigen3/Eigen/src/Core/Reverse.h +217 -0
- casadi/include/eigen3/Eigen/src/Core/Select.h +164 -0
- casadi/include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
- casadi/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- casadi/include/eigen3/Eigen/src/Core/Solve.h +188 -0
- casadi/include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
- casadi/include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
- casadi/include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
- casadi/include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
- casadi/include/eigen3/Eigen/src/Core/Stride.h +116 -0
- casadi/include/eigen3/Eigen/src/Core/Swap.h +68 -0
- casadi/include/eigen3/Eigen/src/Core/Transpose.h +464 -0
- casadi/include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
- casadi/include/eigen3/Eigen/src/Core/TriangularMatrix.h +1001 -0
- casadi/include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
- casadi/include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
- casadi/include/eigen3/Eigen/src/Core/Visitor.h +381 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +372 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
- casadi/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/Half.h +942 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
- casadi/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +648 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +584 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +351 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- casadi/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- casadi/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- casadi/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- casadi/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
- casadi/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- casadi/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- casadi/include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- casadi/include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
- casadi/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
- casadi/include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
- casadi/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
- casadi/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- casadi/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- casadi/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
- casadi/include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
- casadi/include/eigen3/Eigen/src/Core/util/Macros.h +1464 -0
- casadi/include/eigen3/Eigen/src/Core/util/Memory.h +1163 -0
- casadi/include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
- casadi/include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
- casadi/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- casadi/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- casadi/include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
- casadi/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- casadi/include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +558 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
- casadi/include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
- casadi/include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
- casadi/include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
- casadi/include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
- casadi/include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
- casadi/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
- casadi/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- casadi/include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
- casadi/include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
- casadi/include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
- casadi/include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
- casadi/include/eigen3/Eigen/src/Geometry/Transform.h +1563 -0
- casadi/include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
- casadi/include/eigen3/Eigen/src/Geometry/Umeyama.h +166 -0
- casadi/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- casadi/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
- casadi/include/eigen3/Eigen/src/Householder/Householder.h +176 -0
- casadi/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +545 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- casadi/include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
- casadi/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- casadi/include/eigen3/Eigen/src/LU/Determinant.h +117 -0
- casadi/include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
- casadi/include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
- casadi/include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
- casadi/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- casadi/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +351 -0
- casadi/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
- casadi/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- casadi/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- casadi/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- casadi/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- casadi/include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
- casadi/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- casadi/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- casadi/include/eigen3/Eigen/src/SVD/BDCSVD.h +1366 -0
- casadi/include/eigen3/Eigen/src/SVD/JacobiSVD.h +812 -0
- casadi/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- casadi/include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
- casadi/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
- casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- casadi/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
- casadi/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- casadi/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- casadi/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +571 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMap.h +305 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +181 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseVector.h +478 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
- casadi/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU.h +923 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- casadi/include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
- casadi/include/eigen3/Eigen/src/StlSupport/details.h +84 -0
- casadi/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- casadi/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- casadi/include/eigen3/Eigen/src/misc/Image.h +82 -0
- casadi/include/eigen3/Eigen/src/misc/Kernel.h +79 -0
- casadi/include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
- casadi/include/eigen3/Eigen/src/misc/blas.h +440 -0
- casadi/include/eigen3/Eigen/src/misc/lapack.h +152 -0
- casadi/include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
- casadi/include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
- casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
- casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- casadi/include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
- casadi/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- casadi/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- casadi/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
- casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- casadi/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
- casadi/include/eigen3/signature_of_eigen3_matrix_library +1 -0
- casadi/include/eigen3/unsupported/Eigen/AdolcForward +159 -0
- casadi/include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
- casadi/include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
- casadi/include/eigen3/unsupported/Eigen/AutoDiff +46 -0
- casadi/include/eigen3/unsupported/Eigen/BVH +95 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +329 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1093 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +518 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +377 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1023 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +456 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1132 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +544 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +214 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +347 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +490 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +983 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +703 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +388 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +379 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +237 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +302 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +603 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +738 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +263 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +216 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1102 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +708 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +291 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +322 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +998 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +966 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +465 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +471 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +161 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +346 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +303 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +629 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +537 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
- casadi/include/eigen3/unsupported/Eigen/EulerAngles +43 -0
- casadi/include/eigen3/unsupported/Eigen/FFT +419 -0
- casadi/include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
- casadi/include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
- casadi/include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
- casadi/include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
- casadi/include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
- casadi/include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
- casadi/include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
- casadi/include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
- casadi/include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
- casadi/include/eigen3/unsupported/Eigen/Polynomials +137 -0
- casadi/include/eigen3/unsupported/Eigen/Skyline +39 -0
- casadi/include/eigen3/unsupported/Eigen/SparseExtra +54 -0
- casadi/include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
- casadi/include/eigen3/unsupported/Eigen/Splines +35 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
- casadi/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
- casadi/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
- casadi/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
- casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +355 -0
- casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +305 -0
- casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
- casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
- casadi/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
- casadi/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
- casadi/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +428 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2045 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +46 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
- casadi/include/highs/HConfig.h +23 -0
- casadi/include/highs/Highs.h +1270 -0
- casadi/include/highs/filereaderlp/builder.hpp +26 -0
- casadi/include/highs/filereaderlp/model.hpp +71 -0
- casadi/include/highs/filereaderlp/reader.hpp +10 -0
- casadi/include/highs/fortran/highs_fortran_api.mod +0 -0
- casadi/include/highs/interfaces/highs_c_api.h +1720 -0
- casadi/include/highs/io/Filereader.h +49 -0
- casadi/include/highs/io/FilereaderEms.h +35 -0
- casadi/include/highs/io/FilereaderLp.h +56 -0
- casadi/include/highs/io/FilereaderMps.h +32 -0
- casadi/include/highs/io/HMPSIO.h +83 -0
- casadi/include/highs/io/HMpsFF.h +235 -0
- casadi/include/highs/io/HighsIO.h +93 -0
- casadi/include/highs/io/LoadOptions.h +26 -0
- casadi/include/highs/ipm/IpxWrapper.h +74 -0
- casadi/include/highs/lp_data/HConst.h +250 -0
- casadi/include/highs/lp_data/HStruct.h +100 -0
- casadi/include/highs/lp_data/HighsAnalysis.h +28 -0
- casadi/include/highs/lp_data/HighsDebug.h +39 -0
- casadi/include/highs/lp_data/HighsInfo.h +305 -0
- casadi/include/highs/lp_data/HighsInfoDebug.h +32 -0
- casadi/include/highs/lp_data/HighsLp.h +77 -0
- casadi/include/highs/lp_data/HighsLpSolverObject.h +47 -0
- casadi/include/highs/lp_data/HighsLpUtils.h +255 -0
- casadi/include/highs/lp_data/HighsModelUtils.h +95 -0
- casadi/include/highs/lp_data/HighsOptions.h +1061 -0
- casadi/include/highs/lp_data/HighsRanging.h +48 -0
- casadi/include/highs/lp_data/HighsRuntimeOptions.h +261 -0
- casadi/include/highs/lp_data/HighsSolution.h +137 -0
- casadi/include/highs/lp_data/HighsSolutionDebug.h +92 -0
- casadi/include/highs/lp_data/HighsSolve.h +26 -0
- casadi/include/highs/lp_data/HighsStatus.h +34 -0
- casadi/include/highs/mip/HighsCliqueTable.h +320 -0
- casadi/include/highs/mip/HighsConflictPool.h +114 -0
- casadi/include/highs/mip/HighsCutGeneration.h +98 -0
- casadi/include/highs/mip/HighsCutPool.h +173 -0
- casadi/include/highs/mip/HighsDebugSol.h +144 -0
- casadi/include/highs/mip/HighsDomain.h +633 -0
- casadi/include/highs/mip/HighsDomainChange.h +53 -0
- casadi/include/highs/mip/HighsDynamicRowMatrix.h +107 -0
- casadi/include/highs/mip/HighsGFkSolve.h +443 -0
- casadi/include/highs/mip/HighsImplications.h +148 -0
- casadi/include/highs/mip/HighsLpAggregator.h +55 -0
- casadi/include/highs/mip/HighsLpRelaxation.h +357 -0
- casadi/include/highs/mip/HighsMipSolver.h +91 -0
- casadi/include/highs/mip/HighsMipSolverData.h +189 -0
- casadi/include/highs/mip/HighsModkSeparator.h +65 -0
- casadi/include/highs/mip/HighsNodeQueue.h +318 -0
- casadi/include/highs/mip/HighsObjectiveFunction.h +76 -0
- casadi/include/highs/mip/HighsPathSeparator.h +44 -0
- casadi/include/highs/mip/HighsPrimalHeuristics.h +70 -0
- casadi/include/highs/mip/HighsPseudocost.h +353 -0
- casadi/include/highs/mip/HighsRedcostFixing.h +47 -0
- casadi/include/highs/mip/HighsSearch.h +245 -0
- casadi/include/highs/mip/HighsSeparation.h +46 -0
- casadi/include/highs/mip/HighsSeparator.h +58 -0
- casadi/include/highs/mip/HighsTableauSeparator.h +39 -0
- casadi/include/highs/mip/HighsTransformedLp.h +68 -0
- casadi/include/highs/model/HighsHessian.h +47 -0
- casadi/include/highs/model/HighsHessianUtils.h +47 -0
- casadi/include/highs/model/HighsModel.h +41 -0
- casadi/include/highs/parallel/HighsBinarySemaphore.h +113 -0
- casadi/include/highs/parallel/HighsCacheAlign.h +87 -0
- casadi/include/highs/parallel/HighsCombinable.h +121 -0
- casadi/include/highs/parallel/HighsMutex.h +128 -0
- casadi/include/highs/parallel/HighsParallel.h +128 -0
- casadi/include/highs/parallel/HighsRaceTimer.h +43 -0
- casadi/include/highs/parallel/HighsSchedulerConstants.h +24 -0
- casadi/include/highs/parallel/HighsSpinMutex.h +52 -0
- casadi/include/highs/parallel/HighsSplitDeque.h +583 -0
- casadi/include/highs/parallel/HighsTask.h +176 -0
- casadi/include/highs/parallel/HighsTaskExecutor.h +201 -0
- casadi/include/highs/presolve/HPresolve.h +349 -0
- casadi/include/highs/presolve/HPresolveAnalysis.h +53 -0
- casadi/include/highs/presolve/HighsPostsolveStack.h +846 -0
- casadi/include/highs/presolve/HighsSymmetry.h +285 -0
- casadi/include/highs/presolve/ICrash.h +120 -0
- casadi/include/highs/presolve/ICrashUtil.h +65 -0
- casadi/include/highs/presolve/ICrashX.h +28 -0
- casadi/include/highs/presolve/PresolveComponent.h +131 -0
- casadi/include/highs/qpsolver/perturbation.hpp +8 -0
- casadi/include/highs/qpsolver/quass.hpp +23 -0
- casadi/include/highs/qpsolver/scaling.hpp +8 -0
- casadi/include/highs/qpsolver/vector.hpp +235 -0
- casadi/include/highs/simplex/HApp.h +424 -0
- casadi/include/highs/simplex/HEkk.h +368 -0
- casadi/include/highs/simplex/HEkkDual.h +517 -0
- casadi/include/highs/simplex/HEkkDualRHS.h +139 -0
- casadi/include/highs/simplex/HEkkDualRow.h +206 -0
- casadi/include/highs/simplex/HEkkPrimal.h +192 -0
- casadi/include/highs/simplex/HSimplex.h +49 -0
- casadi/include/highs/simplex/HSimplexDebug.h +53 -0
- casadi/include/highs/simplex/HSimplexNla.h +186 -0
- casadi/include/highs/simplex/HSimplexReport.h +26 -0
- casadi/include/highs/simplex/HighsSimplexAnalysis.h +377 -0
- casadi/include/highs/simplex/SimplexConst.h +272 -0
- casadi/include/highs/simplex/SimplexStruct.h +258 -0
- casadi/include/highs/simplex/SimplexTimer.h +429 -0
- casadi/include/highs/test/DevKkt.h +148 -0
- casadi/include/highs/test/KktCh2.h +84 -0
- casadi/include/highs/util/FactorTimer.h +226 -0
- casadi/include/highs/util/HFactor.h +560 -0
- casadi/include/highs/util/HFactorConst.h +86 -0
- casadi/include/highs/util/HFactorDebug.h +60 -0
- casadi/include/highs/util/HSet.h +94 -0
- casadi/include/highs/util/HVector.h +27 -0
- casadi/include/highs/util/HVectorBase.h +107 -0
- casadi/include/highs/util/HighsCDouble.h +312 -0
- casadi/include/highs/util/HighsComponent.h +58 -0
- casadi/include/highs/util/HighsDataStack.h +88 -0
- casadi/include/highs/util/HighsDisjointSets.h +112 -0
- casadi/include/highs/util/HighsHash.h +1255 -0
- casadi/include/highs/util/HighsHashTree.h +1425 -0
- casadi/include/highs/util/HighsInt.h +41 -0
- casadi/include/highs/util/HighsIntegers.h +218 -0
- casadi/include/highs/util/HighsLinearSumBounds.h +162 -0
- casadi/include/highs/util/HighsMatrixPic.h +42 -0
- casadi/include/highs/util/HighsMatrixSlice.h +563 -0
- casadi/include/highs/util/HighsMatrixUtils.h +59 -0
- casadi/include/highs/util/HighsRandom.h +235 -0
- casadi/include/highs/util/HighsRbTree.h +457 -0
- casadi/include/highs/util/HighsSort.h +136 -0
- casadi/include/highs/util/HighsSparseMatrix.h +140 -0
- casadi/include/highs/util/HighsSparseVectorSum.h +100 -0
- casadi/include/highs/util/HighsSplay.h +140 -0
- casadi/include/highs/util/HighsTimer.h +335 -0
- casadi/include/highs/util/HighsUtils.h +193 -0
- casadi/include/highs/util/stringutil.h +41 -0
- casadi/include/hpipm_aux_mem.h +52 -0
- casadi/include/hpipm_aux_string.h +50 -0
- casadi/include/hpipm_common.h +76 -0
- casadi/include/hpipm_d_cast_qcqp.h +71 -0
- casadi/include/hpipm_d_cond.h +135 -0
- casadi/include/hpipm_d_cond_aux.h +92 -0
- casadi/include/hpipm_d_cond_qcqp.h +129 -0
- casadi/include/hpipm_d_core_qp_ipm.h +101 -0
- casadi/include/hpipm_d_core_qp_ipm_aux.h +68 -0
- casadi/include/hpipm_d_dense_qcqp.h +199 -0
- casadi/include/hpipm_d_dense_qcqp_dim.h +98 -0
- casadi/include/hpipm_d_dense_qcqp_ipm.h +193 -0
- casadi/include/hpipm_d_dense_qcqp_res.h +108 -0
- casadi/include/hpipm_d_dense_qcqp_sol.h +85 -0
- casadi/include/hpipm_d_dense_qcqp_utils.h +82 -0
- casadi/include/hpipm_d_dense_qp.h +207 -0
- casadi/include/hpipm_d_dense_qp_dim.h +92 -0
- casadi/include/hpipm_d_dense_qp_ipm.h +260 -0
- casadi/include/hpipm_d_dense_qp_kkt.h +72 -0
- casadi/include/hpipm_d_dense_qp_res.h +106 -0
- casadi/include/hpipm_d_dense_qp_sol.h +94 -0
- casadi/include/hpipm_d_dense_qp_utils.h +83 -0
- casadi/include/hpipm_d_ocp_qcqp.h +322 -0
- casadi/include/hpipm_d_ocp_qcqp_dim.h +130 -0
- casadi/include/hpipm_d_ocp_qcqp_ipm.h +192 -0
- casadi/include/hpipm_d_ocp_qcqp_red.h +118 -0
- casadi/include/hpipm_d_ocp_qcqp_res.h +115 -0
- casadi/include/hpipm_d_ocp_qcqp_sol.h +114 -0
- casadi/include/hpipm_d_ocp_qcqp_utils.h +81 -0
- casadi/include/hpipm_d_ocp_qp.h +306 -0
- casadi/include/hpipm_d_ocp_qp_dim.h +142 -0
- casadi/include/hpipm_d_ocp_qp_ipm.h +252 -0
- casadi/include/hpipm_d_ocp_qp_kkt.h +66 -0
- casadi/include/hpipm_d_ocp_qp_red.h +117 -0
- casadi/include/hpipm_d_ocp_qp_res.h +113 -0
- casadi/include/hpipm_d_ocp_qp_sol.h +128 -0
- casadi/include/hpipm_d_ocp_qp_utils.h +82 -0
- casadi/include/hpipm_d_part_cond.h +115 -0
- casadi/include/hpipm_d_part_cond_qcqp.h +106 -0
- casadi/include/hpipm_d_sim_erk.h +122 -0
- casadi/include/hpipm_d_sim_rk.h +71 -0
- casadi/include/hpipm_d_tree_ocp_qcqp.h +213 -0
- casadi/include/hpipm_d_tree_ocp_qcqp_dim.h +117 -0
- casadi/include/hpipm_d_tree_ocp_qcqp_ipm.h +191 -0
- casadi/include/hpipm_d_tree_ocp_qcqp_res.h +109 -0
- casadi/include/hpipm_d_tree_ocp_qcqp_sol.h +99 -0
- casadi/include/hpipm_d_tree_ocp_qcqp_utils.h +84 -0
- casadi/include/hpipm_d_tree_ocp_qp.h +195 -0
- casadi/include/hpipm_d_tree_ocp_qp_dim.h +111 -0
- casadi/include/hpipm_d_tree_ocp_qp_ipm.h +209 -0
- casadi/include/hpipm_d_tree_ocp_qp_kkt.h +52 -0
- casadi/include/hpipm_d_tree_ocp_qp_res.h +107 -0
- casadi/include/hpipm_d_tree_ocp_qp_sol.h +100 -0
- casadi/include/hpipm_d_tree_ocp_qp_utils.h +83 -0
- casadi/include/hpipm_m_dense_qp.h +68 -0
- casadi/include/hpipm_m_dense_qp_dim.h +68 -0
- casadi/include/hpipm_m_ocp_qp.h +49 -0
- casadi/include/hpipm_m_ocp_qp_ipm_hard.h +115 -0
- casadi/include/hpipm_m_ocp_qp_kkt.h +45 -0
- casadi/include/hpipm_s_cast_qcqp.h +72 -0
- casadi/include/hpipm_s_cond.h +137 -0
- casadi/include/hpipm_s_cond_aux.h +92 -0
- casadi/include/hpipm_s_cond_qcqp.h +130 -0
- casadi/include/hpipm_s_core_qp_ipm.h +101 -0
- casadi/include/hpipm_s_core_qp_ipm_aux.h +68 -0
- casadi/include/hpipm_s_dense_qcqp.h +200 -0
- casadi/include/hpipm_s_dense_qcqp_dim.h +99 -0
- casadi/include/hpipm_s_dense_qcqp_ipm.h +204 -0
- casadi/include/hpipm_s_dense_qcqp_res.h +109 -0
- casadi/include/hpipm_s_dense_qcqp_sol.h +86 -0
- casadi/include/hpipm_s_dense_qcqp_utils.h +83 -0
- casadi/include/hpipm_s_dense_qp.h +207 -0
- casadi/include/hpipm_s_dense_qp_dim.h +94 -0
- casadi/include/hpipm_s_dense_qp_ipm.h +260 -0
- casadi/include/hpipm_s_dense_qp_kkt.h +72 -0
- casadi/include/hpipm_s_dense_qp_res.h +107 -0
- casadi/include/hpipm_s_dense_qp_sol.h +94 -0
- casadi/include/hpipm_s_dense_qp_utils.h +84 -0
- casadi/include/hpipm_s_ocp_qcqp.h +322 -0
- casadi/include/hpipm_s_ocp_qcqp_dim.h +131 -0
- casadi/include/hpipm_s_ocp_qcqp_ipm.h +193 -0
- casadi/include/hpipm_s_ocp_qcqp_red.h +119 -0
- casadi/include/hpipm_s_ocp_qcqp_res.h +116 -0
- casadi/include/hpipm_s_ocp_qcqp_sol.h +115 -0
- casadi/include/hpipm_s_ocp_qcqp_utils.h +82 -0
- casadi/include/hpipm_s_ocp_qp.h +306 -0
- casadi/include/hpipm_s_ocp_qp_dim.h +141 -0
- casadi/include/hpipm_s_ocp_qp_ipm.h +252 -0
- casadi/include/hpipm_s_ocp_qp_kkt.h +66 -0
- casadi/include/hpipm_s_ocp_qp_red.h +118 -0
- casadi/include/hpipm_s_ocp_qp_res.h +115 -0
- casadi/include/hpipm_s_ocp_qp_sol.h +128 -0
- casadi/include/hpipm_s_ocp_qp_utils.h +83 -0
- casadi/include/hpipm_s_part_cond.h +115 -0
- casadi/include/hpipm_s_part_cond_qcqp.h +107 -0
- casadi/include/hpipm_s_sim_erk.h +121 -0
- casadi/include/hpipm_s_sim_rk.h +72 -0
- casadi/include/hpipm_s_tree_ocp_qcqp.h +213 -0
- casadi/include/hpipm_s_tree_ocp_qcqp_dim.h +118 -0
- casadi/include/hpipm_s_tree_ocp_qcqp_ipm.h +192 -0
- casadi/include/hpipm_s_tree_ocp_qcqp_res.h +110 -0
- casadi/include/hpipm_s_tree_ocp_qcqp_sol.h +97 -0
- casadi/include/hpipm_s_tree_ocp_qcqp_utils.h +85 -0
- casadi/include/hpipm_s_tree_ocp_qp.h +196 -0
- casadi/include/hpipm_s_tree_ocp_qp_dim.h +111 -0
- casadi/include/hpipm_s_tree_ocp_qp_ipm.h +208 -0
- casadi/include/hpipm_s_tree_ocp_qp_kkt.h +54 -0
- casadi/include/hpipm_s_tree_ocp_qp_res.h +108 -0
- casadi/include/hpipm_s_tree_ocp_qp_sol.h +98 -0
- casadi/include/hpipm_s_tree_ocp_qp_utils.h +84 -0
- casadi/include/hpipm_scenario_tree.h +70 -0
- casadi/include/hpipm_timing.h +67 -0
- casadi/include/hpipm_tree.h +76 -0
- casadi/include/licenses/FMI-Standard-2.0.2/LICENSE.txt +473 -0
- casadi/include/licenses/FMI-Standard-3.0/LICENSE.txt +464 -0
- casadi/include/licenses/blasfeo-external/LICENSE.txt +26 -0
- casadi/include/licenses/bonmin-external/Bonmin/LICENSE +87 -0
- casadi/include/licenses/bonmin-external/LICENSE +3 -0
- casadi/include/licenses/casadi/LICENSE/LICENSE.txt +165 -0
- casadi/include/licenses/casadi-sundials/LICENSE +64 -0
- casadi/include/licenses/casadi-sundials/cvodes/LICENSE +60 -0
- casadi/include/licenses/casadi-sundials/idas/LICENSE +59 -0
- casadi/include/licenses/casadi-sundials/kinsol/LICENSE +59 -0
- casadi/include/licenses/casadi-sundials/sundials/LICENSE +67 -0
- casadi/include/licenses/cbc-external/Cbc/LICENSE +239 -0
- casadi/include/licenses/cbc-external/LICENSE +245 -0
- casadi/include/licenses/cgl-external/Cgl/LICENSE +239 -0
- casadi/include/licenses/cgl-external/LICENSE +245 -0
- casadi/include/licenses/clp-external/Clp/LICENSE +239 -0
- casadi/include/licenses/clp-external/LICENSE +245 -0
- casadi/include/licenses/coinutils-external/CoinUtils/LICENSE +239 -0
- casadi/include/licenses/coinutils-external/LICENSE +245 -0
- casadi/include/licenses/highs-external/LICENSE +21 -0
- casadi/include/licenses/highs-external/extern/filereaderlp/LICENSE +19 -0
- casadi/include/licenses/hpipm-external/LICENSE.txt +26 -0
- casadi/include/licenses/ipopt-external/LICENSE +260 -0
- casadi/include/licenses/metis-external/LICENSE +87 -0
- casadi/include/licenses/metis-external/metis-4.0/LICENSE +18 -0
- casadi/include/licenses/mockups-external/LICENSE +21 -0
- casadi/include/licenses/mumps-external/LICENSE +87 -0
- casadi/include/licenses/mumps-external/MUMPS/LICENSE +50 -0
- casadi/include/licenses/openblas-external/LICENSE +29 -0
- casadi/include/licenses/openblas-external/ctest/LICENSE +23 -0
- casadi/include/licenses/openblas-external/lapack-netlib/LAPACKE/LICENSE +26 -0
- casadi/include/licenses/openblas-external/lapack-netlib/LICENSE +48 -0
- casadi/include/licenses/openblas-external/reference/LICENSE +23 -0
- casadi/include/licenses/openblas-external/relapack/LICENSE +22 -0
- casadi/include/licenses/openblas-external/test/LICENSE +23 -0
- casadi/include/licenses/osi-external/LICENSE +245 -0
- casadi/include/licenses/osi-external/Osi/LICENSE +239 -0
- casadi/include/licenses/osqp-external/LICENSE +201 -0
- casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/amd/LICENSE +36 -0
- casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/qdldl_sources/LICENSE +201 -0
- casadi/include/licenses/proxqp-external/LICENSE +25 -0
- casadi/include/licenses/proxqp-external/bindings/python/external/pybind11/LICENSE +29 -0
- casadi/include/licenses/proxqp-external/cmake-module/LICENSE +4 -0
- casadi/include/licenses/proxqp-external/cmake-module/doxygen/MathJax/LICENSE +202 -0
- casadi/include/licenses/proxqp-external/external/cereal/LICENSE +24 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/LICENSE +21 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/LICENSE +13 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/msinttypes/LICENSE +29 -0
- casadi/include/licenses/qpOASES/LICENSE.txt +503 -0
- casadi/include/licenses/superscs-external/LICENSE.txt +24 -0
- casadi/include/licenses/tinyxml2-9.0.0/LICENSE.txt +18 -0
- casadi/include/osqp/auxil.h +181 -0
- casadi/include/osqp/constants.h +129 -0
- casadi/include/osqp/cs.h +180 -0
- casadi/include/osqp/ctrlc.h +56 -0
- casadi/include/osqp/error.h +38 -0
- casadi/include/osqp/glob_opts.h +167 -0
- casadi/include/osqp/lin_alg.h +216 -0
- casadi/include/osqp/lin_sys.h +54 -0
- casadi/include/osqp/osqp.h +430 -0
- casadi/include/osqp/osqp_configure.h +49 -0
- casadi/include/osqp/polish.h +25 -0
- casadi/include/osqp/proj.h +37 -0
- casadi/include/osqp/scaling.h +44 -0
- casadi/include/osqp/types.h +326 -0
- casadi/include/osqp/util.h +222 -0
- casadi/include/proxsuite/config.hpp +68 -0
- casadi/include/proxsuite/deprecated.hpp +56 -0
- casadi/include/proxsuite/fwd.hpp +52 -0
- casadi/include/proxsuite/helpers/common.hpp +70 -0
- casadi/include/proxsuite/helpers/instruction-set.hpp +275 -0
- casadi/include/proxsuite/helpers/optional.hpp +46 -0
- casadi/include/proxsuite/helpers/tl-optional.hpp +2472 -0
- casadi/include/proxsuite/helpers/version.hpp +39 -0
- casadi/include/proxsuite/linalg/dense/core.hpp +863 -0
- casadi/include/proxsuite/linalg/dense/factorize.hpp +375 -0
- casadi/include/proxsuite/linalg/dense/ldlt.hpp +817 -0
- casadi/include/proxsuite/linalg/dense/modify.hpp +333 -0
- casadi/include/proxsuite/linalg/dense/solve.hpp +38 -0
- casadi/include/proxsuite/linalg/dense/update.hpp +330 -0
- casadi/include/proxsuite/linalg/sparse/core.hpp +531 -0
- casadi/include/proxsuite/linalg/sparse/factorize.hpp +1303 -0
- casadi/include/proxsuite/linalg/sparse/rowmod.hpp +443 -0
- casadi/include/proxsuite/linalg/sparse/update.hpp +348 -0
- casadi/include/proxsuite/linalg/veg/internal/assert_impl.hpp +20 -0
- casadi/include/proxsuite/linalg/veg/internal/collection_algo.hpp +93 -0
- casadi/include/proxsuite/linalg/veg/internal/dbg.hpp +15 -0
- casadi/include/proxsuite/linalg/veg/internal/delete_special_members.hpp +77 -0
- casadi/include/proxsuite/linalg/veg/internal/dyn_index.hpp +292 -0
- casadi/include/proxsuite/linalg/veg/internal/epilogue.hpp +31 -0
- casadi/include/proxsuite/linalg/veg/internal/external/hedley.ext.hpp +2074 -0
- casadi/include/proxsuite/linalg/veg/internal/external/unhedley.ext.hpp +148 -0
- casadi/include/proxsuite/linalg/veg/internal/fix_index.hpp +339 -0
- casadi/include/proxsuite/linalg/veg/internal/has_asan.hpp +17 -0
- casadi/include/proxsuite/linalg/veg/internal/integer_seq.hpp +248 -0
- casadi/include/proxsuite/linalg/veg/internal/macros.hpp +1312 -0
- casadi/include/proxsuite/linalg/veg/internal/narrow.hpp +46 -0
- casadi/include/proxsuite/linalg/veg/internal/preprocessor.hpp +434 -0
- casadi/include/proxsuite/linalg/veg/internal/prologue.hpp +157 -0
- casadi/include/proxsuite/linalg/veg/internal/std.hpp +13 -0
- casadi/include/proxsuite/linalg/veg/internal/terminate.hpp +22 -0
- casadi/include/proxsuite/linalg/veg/internal/typedefs.hpp +58 -0
- casadi/include/proxsuite/linalg/veg/memory/address.hpp +97 -0
- casadi/include/proxsuite/linalg/veg/memory/alloc.hpp +352 -0
- casadi/include/proxsuite/linalg/veg/memory/dynamic_stack.hpp +504 -0
- casadi/include/proxsuite/linalg/veg/memory/placement.hpp +202 -0
- casadi/include/proxsuite/linalg/veg/memory/stack_alloc.hpp +239 -0
- casadi/include/proxsuite/linalg/veg/ref.hpp +148 -0
- casadi/include/proxsuite/linalg/veg/slice.hpp +240 -0
- casadi/include/proxsuite/linalg/veg/tuple.hpp +876 -0
- casadi/include/proxsuite/linalg/veg/type_traits/alloc.hpp +169 -0
- casadi/include/proxsuite/linalg/veg/type_traits/assignable.hpp +53 -0
- casadi/include/proxsuite/linalg/veg/type_traits/constructible.hpp +217 -0
- casadi/include/proxsuite/linalg/veg/type_traits/core.hpp +298 -0
- casadi/include/proxsuite/linalg/veg/type_traits/invocable.hpp +47 -0
- casadi/include/proxsuite/linalg/veg/type_traits/primitives.hpp +43 -0
- casadi/include/proxsuite/linalg/veg/type_traits/tags.hpp +47 -0
- casadi/include/proxsuite/linalg/veg/util/assert.hpp +48 -0
- casadi/include/proxsuite/linalg/veg/util/dbg.hpp +6 -0
- casadi/include/proxsuite/linalg/veg/util/defer.hpp +57 -0
- casadi/include/proxsuite/linalg/veg/util/dynstack_alloc.hpp +19 -0
- casadi/include/proxsuite/linalg/veg/util/get.hpp +153 -0
- casadi/include/proxsuite/linalg/veg/util/index.hpp +6 -0
- casadi/include/proxsuite/linalg/veg/util/unreachable.hpp +41 -0
- casadi/include/proxsuite/linalg/veg/vec.hpp +1034 -0
- casadi/include/proxsuite/proxqp/dense/dense.hpp +10 -0
- casadi/include/proxsuite/proxqp/dense/fwd.hpp +55 -0
- casadi/include/proxsuite/proxqp/dense/helpers.hpp +520 -0
- casadi/include/proxsuite/proxqp/dense/linesearch.hpp +517 -0
- casadi/include/proxsuite/proxqp/dense/model.hpp +147 -0
- casadi/include/proxsuite/proxqp/dense/preconditioner/identity.hpp +113 -0
- casadi/include/proxsuite/proxqp/dense/preconditioner/ruiz.hpp +571 -0
- casadi/include/proxsuite/proxqp/dense/solver.hpp +1330 -0
- casadi/include/proxsuite/proxqp/dense/utils.hpp +415 -0
- casadi/include/proxsuite/proxqp/dense/views.hpp +1466 -0
- casadi/include/proxsuite/proxqp/dense/workspace.hpp +264 -0
- casadi/include/proxsuite/proxqp/dense/wrapper.hpp +491 -0
- casadi/include/proxsuite/proxqp/results.hpp +212 -0
- casadi/include/proxsuite/proxqp/settings.hpp +302 -0
- casadi/include/proxsuite/proxqp/sparse/fwd.hpp +58 -0
- casadi/include/proxsuite/proxqp/sparse/helpers.hpp +309 -0
- casadi/include/proxsuite/proxqp/sparse/model.hpp +228 -0
- casadi/include/proxsuite/proxqp/sparse/preconditioner/identity.hpp +64 -0
- casadi/include/proxsuite/proxqp/sparse/preconditioner/ruiz.hpp +569 -0
- casadi/include/proxsuite/proxqp/sparse/solver.hpp +1441 -0
- casadi/include/proxsuite/proxqp/sparse/sparse.hpp +10 -0
- casadi/include/proxsuite/proxqp/sparse/utils.hpp +815 -0
- casadi/include/proxsuite/proxqp/sparse/views.hpp +63 -0
- casadi/include/proxsuite/proxqp/sparse/workspace.hpp +790 -0
- casadi/include/proxsuite/proxqp/sparse/wrapper.hpp +772 -0
- casadi/include/proxsuite/proxqp/status.hpp +46 -0
- casadi/include/proxsuite/proxqp/timings.hpp +101 -0
- casadi/include/proxsuite/proxqp/utils/prints.hpp +47 -0
- casadi/include/proxsuite/proxqp/utils/random_qp_problems.hpp +669 -0
- casadi/include/proxsuite/serialization/archive.hpp +231 -0
- casadi/include/proxsuite/serialization/eigen.hpp +107 -0
- casadi/include/proxsuite/serialization/model.hpp +34 -0
- casadi/include/proxsuite/serialization/results.hpp +74 -0
- casadi/include/proxsuite/serialization/settings.hpp +60 -0
- casadi/include/proxsuite/serialization/wrapper.hpp +24 -0
- casadi/include/proxsuite/warning.hpp +35 -0
- casadi/include/simde/arm/neon/aba.h +208 -0
- casadi/include/simde/arm/neon/abd.h +384 -0
- casadi/include/simde/arm/neon/abdl.h +147 -0
- casadi/include/simde/arm/neon/abs.h +408 -0
- casadi/include/simde/arm/neon/add.h +681 -0
- casadi/include/simde/arm/neon/addl.h +127 -0
- casadi/include/simde/arm/neon/addl_high.h +127 -0
- casadi/include/simde/arm/neon/addlv.h +317 -0
- casadi/include/simde/arm/neon/addv.h +447 -0
- casadi/include/simde/arm/neon/addw.h +222 -0
- casadi/include/simde/arm/neon/addw_high.h +193 -0
- casadi/include/simde/arm/neon/and.h +552 -0
- casadi/include/simde/arm/neon/bic.h +472 -0
- casadi/include/simde/arm/neon/bsl.h +448 -0
- casadi/include/simde/arm/neon/cagt.h +168 -0
- casadi/include/simde/arm/neon/ceq.h +711 -0
- casadi/include/simde/arm/neon/ceqz.h +335 -0
- casadi/include/simde/arm/neon/cge.h +677 -0
- casadi/include/simde/arm/neon/cgez.h +378 -0
- casadi/include/simde/arm/neon/cgt.h +686 -0
- casadi/include/simde/arm/neon/cgtz.h +380 -0
- casadi/include/simde/arm/neon/cle.h +677 -0
- casadi/include/simde/arm/neon/clez.h +378 -0
- casadi/include/simde/arm/neon/cls.h +148 -0
- casadi/include/simde/arm/neon/clt.h +679 -0
- casadi/include/simde/arm/neon/cltz.h +263 -0
- casadi/include/simde/arm/neon/clz.h +423 -0
- casadi/include/simde/arm/neon/cnt.h +145 -0
- casadi/include/simde/arm/neon/combine.h +343 -0
- casadi/include/simde/arm/neon/create.h +186 -0
- casadi/include/simde/arm/neon/cvt.h +492 -0
- casadi/include/simde/arm/neon/dot.h +171 -0
- casadi/include/simde/arm/neon/dot_lane.h +196 -0
- casadi/include/simde/arm/neon/dup_lane.h +702 -0
- casadi/include/simde/arm/neon/dup_n.h +534 -0
- casadi/include/simde/arm/neon/eor.h +552 -0
- casadi/include/simde/arm/neon/ext.h +887 -0
- casadi/include/simde/arm/neon/get_high.h +260 -0
- casadi/include/simde/arm/neon/get_lane.h +499 -0
- casadi/include/simde/arm/neon/get_low.h +276 -0
- casadi/include/simde/arm/neon/hadd.h +287 -0
- casadi/include/simde/arm/neon/hsub.h +287 -0
- casadi/include/simde/arm/neon/ld1.h +399 -0
- casadi/include/simde/arm/neon/ld3.h +609 -0
- casadi/include/simde/arm/neon/ld4.h +448 -0
- casadi/include/simde/arm/neon/max.h +614 -0
- casadi/include/simde/arm/neon/maxnm.h +215 -0
- casadi/include/simde/arm/neon/maxv.h +400 -0
- casadi/include/simde/arm/neon/min.h +660 -0
- casadi/include/simde/arm/neon/minnm.h +215 -0
- casadi/include/simde/arm/neon/minv.h +424 -0
- casadi/include/simde/arm/neon/mla.h +530 -0
- casadi/include/simde/arm/neon/mla_n.h +333 -0
- casadi/include/simde/arm/neon/mlal.h +156 -0
- casadi/include/simde/arm/neon/mlal_high.h +156 -0
- casadi/include/simde/arm/neon/mlal_n.h +128 -0
- casadi/include/simde/arm/neon/mls.h +264 -0
- casadi/include/simde/arm/neon/mlsl.h +124 -0
- casadi/include/simde/arm/neon/mlsl_high.h +124 -0
- casadi/include/simde/arm/neon/mlsl_n.h +96 -0
- casadi/include/simde/arm/neon/movl.h +208 -0
- casadi/include/simde/arm/neon/movl_high.h +126 -0
- casadi/include/simde/arm/neon/movn.h +195 -0
- casadi/include/simde/arm/neon/movn_high.h +125 -0
- casadi/include/simde/arm/neon/mul.h +594 -0
- casadi/include/simde/arm/neon/mul_lane.h +472 -0
- casadi/include/simde/arm/neon/mul_n.h +383 -0
- casadi/include/simde/arm/neon/mull.h +236 -0
- casadi/include/simde/arm/neon/mull_high.h +125 -0
- casadi/include/simde/arm/neon/mull_n.h +158 -0
- casadi/include/simde/arm/neon/mvn.h +426 -0
- casadi/include/simde/arm/neon/neg.h +393 -0
- casadi/include/simde/arm/neon/orn.h +505 -0
- casadi/include/simde/arm/neon/orr.h +552 -0
- casadi/include/simde/arm/neon/padal.h +211 -0
- casadi/include/simde/arm/neon/padd.h +293 -0
- casadi/include/simde/arm/neon/paddl.h +239 -0
- casadi/include/simde/arm/neon/pmax.h +253 -0
- casadi/include/simde/arm/neon/pmin.h +260 -0
- casadi/include/simde/arm/neon/qabs.h +281 -0
- casadi/include/simde/arm/neon/qadd.h +553 -0
- casadi/include/simde/arm/neon/qdmulh.h +125 -0
- casadi/include/simde/arm/neon/qdmull.h +125 -0
- casadi/include/simde/arm/neon/qmovn.h +273 -0
- casadi/include/simde/arm/neon/qmovn_high.h +127 -0
- casadi/include/simde/arm/neon/qmovun.h +159 -0
- casadi/include/simde/arm/neon/qneg.h +301 -0
- casadi/include/simde/arm/neon/qrdmulh.h +165 -0
- casadi/include/simde/arm/neon/qrdmulh_n.h +136 -0
- casadi/include/simde/arm/neon/qshl.h +732 -0
- casadi/include/simde/arm/neon/qsub.h +549 -0
- casadi/include/simde/arm/neon/qtbl.h +455 -0
- casadi/include/simde/arm/neon/qtbx.h +470 -0
- casadi/include/simde/arm/neon/rbit.h +165 -0
- casadi/include/simde/arm/neon/reinterpret.h +3101 -0
- casadi/include/simde/arm/neon/rev16.h +137 -0
- casadi/include/simde/arm/neon/rev32.h +235 -0
- casadi/include/simde/arm/neon/rev64.h +358 -0
- casadi/include/simde/arm/neon/rhadd.h +406 -0
- casadi/include/simde/arm/neon/rnd.h +143 -0
- casadi/include/simde/arm/neon/rndi.h +135 -0
- casadi/include/simde/arm/neon/rndm.h +143 -0
- casadi/include/simde/arm/neon/rndn.h +135 -0
- casadi/include/simde/arm/neon/rndp.h +143 -0
- casadi/include/simde/arm/neon/rshl.h +903 -0
- casadi/include/simde/arm/neon/rshr_n.h +471 -0
- casadi/include/simde/arm/neon/rsra_n.h +209 -0
- casadi/include/simde/arm/neon/set_lane.h +422 -0
- casadi/include/simde/arm/neon/shl.h +805 -0
- casadi/include/simde/arm/neon/shl_n.h +560 -0
- casadi/include/simde/arm/neon/shr_n.h +612 -0
- casadi/include/simde/arm/neon/sra_n.h +202 -0
- casadi/include/simde/arm/neon/st1.h +353 -0
- casadi/include/simde/arm/neon/st1_lane.h +363 -0
- casadi/include/simde/arm/neon/st3.h +426 -0
- casadi/include/simde/arm/neon/st4.h +445 -0
- casadi/include/simde/arm/neon/sub.h +659 -0
- casadi/include/simde/arm/neon/subl.h +127 -0
- casadi/include/simde/arm/neon/subw.h +221 -0
- casadi/include/simde/arm/neon/subw_high.h +222 -0
- casadi/include/simde/arm/neon/tbl.h +224 -0
- casadi/include/simde/arm/neon/tbx.h +247 -0
- casadi/include/simde/arm/neon/trn.h +252 -0
- casadi/include/simde/arm/neon/trn1.h +500 -0
- casadi/include/simde/arm/neon/trn2.h +499 -0
- casadi/include/simde/arm/neon/tst.h +540 -0
- casadi/include/simde/arm/neon/types.h +683 -0
- casadi/include/simde/arm/neon/uqadd.h +325 -0
- casadi/include/simde/arm/neon/uzp.h +252 -0
- casadi/include/simde/arm/neon/uzp1.h +643 -0
- casadi/include/simde/arm/neon/uzp2.h +647 -0
- casadi/include/simde/arm/neon/zip.h +252 -0
- casadi/include/simde/arm/neon/zip1.h +625 -0
- casadi/include/simde/arm/neon/zip2.h +625 -0
- casadi/include/simde/arm/neon.h +166 -0
- casadi/include/simde/check.h +276 -0
- casadi/include/simde/debug-trap.h +85 -0
- casadi/include/simde/hedley.h +1971 -0
- casadi/include/simde/simde-align.h +449 -0
- casadi/include/simde/simde-arch.h +532 -0
- casadi/include/simde/simde-common.h +890 -0
- casadi/include/simde/simde-complex.h +148 -0
- casadi/include/simde/simde-constify.h +397 -0
- casadi/include/simde/simde-detect-clang.h +109 -0
- casadi/include/simde/simde-diagnostic.h +428 -0
- casadi/include/simde/simde-features.h +522 -0
- casadi/include/simde/simde-math.h +1805 -0
- casadi/include/simde/x86/avx.h +6193 -0
- casadi/include/simde/x86/avx2.h +5660 -0
- casadi/include/simde/x86/avx512/2intersect.h +250 -0
- casadi/include/simde/x86/avx512/abs.h +562 -0
- casadi/include/simde/x86/avx512/add.h +641 -0
- casadi/include/simde/x86/avx512/adds.h +390 -0
- casadi/include/simde/x86/avx512/and.h +305 -0
- casadi/include/simde/x86/avx512/andnot.h +193 -0
- casadi/include/simde/x86/avx512/avg.h +258 -0
- casadi/include/simde/x86/avx512/blend.h +293 -0
- casadi/include/simde/x86/avx512/broadcast.h +897 -0
- casadi/include/simde/x86/avx512/cast.h +324 -0
- casadi/include/simde/x86/avx512/cmp.h +587 -0
- casadi/include/simde/x86/avx512/cmpeq.h +179 -0
- casadi/include/simde/x86/avx512/cmpge.h +104 -0
- casadi/include/simde/x86/avx512/cmpgt.h +189 -0
- casadi/include/simde/x86/avx512/cmple.h +103 -0
- casadi/include/simde/x86/avx512/cmplt.h +123 -0
- casadi/include/simde/x86/avx512/copysign.h +86 -0
- casadi/include/simde/x86/avx512/cvt.h +122 -0
- casadi/include/simde/x86/avx512/cvts.h +723 -0
- casadi/include/simde/x86/avx512/div.h +162 -0
- casadi/include/simde/x86/avx512/extract.h +198 -0
- casadi/include/simde/x86/avx512/fmadd.h +136 -0
- casadi/include/simde/x86/avx512/fmsub.h +108 -0
- casadi/include/simde/x86/avx512/fnmadd.h +108 -0
- casadi/include/simde/x86/avx512/fnmsub.h +108 -0
- casadi/include/simde/x86/avx512/insert.h +193 -0
- casadi/include/simde/x86/avx512/kshift.h +152 -0
- casadi/include/simde/x86/avx512/load.h +67 -0
- casadi/include/simde/x86/avx512/loadu.h +113 -0
- casadi/include/simde/x86/avx512/lzcnt.h +209 -0
- casadi/include/simde/x86/avx512/madd.h +155 -0
- casadi/include/simde/x86/avx512/maddubs.h +159 -0
- casadi/include/simde/x86/avx512/max.h +587 -0
- casadi/include/simde/x86/avx512/min.h +587 -0
- casadi/include/simde/x86/avx512/mov.h +859 -0
- casadi/include/simde/x86/avx512/mov_mask.h +372 -0
- casadi/include/simde/x86/avx512/movm.h +460 -0
- casadi/include/simde/x86/avx512/mul.h +279 -0
- casadi/include/simde/x86/avx512/mulhi.h +65 -0
- casadi/include/simde/x86/avx512/mulhrs.h +65 -0
- casadi/include/simde/x86/avx512/mullo.h +117 -0
- casadi/include/simde/x86/avx512/negate.h +88 -0
- casadi/include/simde/x86/avx512/or.h +252 -0
- casadi/include/simde/x86/avx512/packs.h +122 -0
- casadi/include/simde/x86/avx512/packus.h +122 -0
- casadi/include/simde/x86/avx512/permutex2var.h +1645 -0
- casadi/include/simde/x86/avx512/permutexvar.h +1180 -0
- casadi/include/simde/x86/avx512/sad.h +77 -0
- casadi/include/simde/x86/avx512/set.h +477 -0
- casadi/include/simde/x86/avx512/set1.h +331 -0
- casadi/include/simde/x86/avx512/set4.h +140 -0
- casadi/include/simde/x86/avx512/setone.h +66 -0
- casadi/include/simde/x86/avx512/setr.h +144 -0
- casadi/include/simde/x86/avx512/setr4.h +140 -0
- casadi/include/simde/x86/avx512/setzero.h +90 -0
- casadi/include/simde/x86/avx512/shuffle.h +176 -0
- casadi/include/simde/x86/avx512/sll.h +247 -0
- casadi/include/simde/x86/avx512/slli.h +179 -0
- casadi/include/simde/x86/avx512/sllv.h +68 -0
- casadi/include/simde/x86/avx512/sqrt.h +127 -0
- casadi/include/simde/x86/avx512/sra.h +81 -0
- casadi/include/simde/x86/avx512/srai.h +70 -0
- casadi/include/simde/x86/avx512/srav.h +67 -0
- casadi/include/simde/x86/avx512/srl.h +216 -0
- casadi/include/simde/x86/avx512/srli.h +180 -0
- casadi/include/simde/x86/avx512/srlv.h +282 -0
- casadi/include/simde/x86/avx512/store.h +93 -0
- casadi/include/simde/x86/avx512/storeu.h +93 -0
- casadi/include/simde/x86/avx512/sub.h +351 -0
- casadi/include/simde/x86/avx512/subs.h +222 -0
- casadi/include/simde/x86/avx512/test.h +193 -0
- casadi/include/simde/x86/avx512/types.h +380 -0
- casadi/include/simde/x86/avx512/unpackhi.h +380 -0
- casadi/include/simde/x86/avx512/unpacklo.h +104 -0
- casadi/include/simde/x86/avx512/xor.h +263 -0
- casadi/include/simde/x86/avx512/xorsign.h +72 -0
- casadi/include/simde/x86/avx512.h +108 -0
- casadi/include/simde/x86/clmul.h +414 -0
- casadi/include/simde/x86/fma.h +724 -0
- casadi/include/simde/x86/gfni.h +802 -0
- casadi/include/simde/x86/mmx.h +2399 -0
- casadi/include/simde/x86/sse.h +4471 -0
- casadi/include/simde/x86/sse2.h +7389 -0
- casadi/include/simde/x86/sse3.h +499 -0
- casadi/include/simde/x86/sse4.1.h +2216 -0
- casadi/include/simde/x86/sse4.2.h +347 -0
- casadi/include/simde/x86/ssse3.h +1032 -0
- casadi/include/simde/x86/svml.h +12139 -0
- casadi/include/simde/x86/xop.h +3644 -0
- casadi/include/superscs/cones.h +185 -0
- casadi/include/superscs/constants.h +144 -0
- casadi/include/superscs/cs.h +109 -0
- casadi/include/superscs/ctrlc.h +77 -0
- casadi/include/superscs/directions.h +125 -0
- casadi/include/superscs/glbopts.h +240 -0
- casadi/include/superscs/linAlg.h +437 -0
- casadi/include/superscs/linSys.h +205 -0
- casadi/include/superscs/linsys/amatrix.h +77 -0
- casadi/include/superscs/linsys/common.h +49 -0
- casadi/include/superscs/normalize.h +138 -0
- casadi/include/superscs/scs.h +656 -0
- casadi/include/superscs/scs_blas.h +79 -0
- casadi/include/superscs/scs_parser.h +187 -0
- casadi/include/superscs/unit_test_util.h +210 -0
- casadi/include/superscs/util.h +354 -0
- casadi/include/tinyxml2.h +2380 -0
- casadi/lib64/cmake/tinyxml2/tinyxml2-config-version.cmake +70 -0
- casadi/lib64/cmake/tinyxml2/tinyxml2-config.cmake +57 -0
- casadi/lib64/cmake/tinyxml2/tinyxml2-static-targets-release.cmake +19 -0
- casadi/lib64/cmake/tinyxml2/tinyxml2-static-targets.cmake +103 -0
- casadi/lib64/libtinyxml2.a +0 -0
- casadi/lib64/pkgconfig/tinyxml2.pc +10 -0
- casadi/libCbc.la +35 -0
- casadi/libCbc.so +0 -0
- casadi/libCbc.so.3 +0 -0
- casadi/libCbc.so.3.10.6 +0 -0
- casadi/libCbcSolver.la +35 -0
- casadi/libCbcSolver.so +0 -0
- casadi/libCbcSolver.so.3 +0 -0
- casadi/libCbcSolver.so.3.10.6 +0 -0
- casadi/libCgl.la +35 -0
- casadi/libCgl.so +0 -0
- casadi/libCgl.so.1 +0 -0
- casadi/libCgl.so.1.10.4 +0 -0
- casadi/libClp.la +35 -0
- casadi/libClp.so +0 -0
- casadi/libClp.so.1 +0 -0
- casadi/libClp.so.1.14.7 +0 -0
- casadi/libClpSolver.la +35 -0
- casadi/libClpSolver.so +0 -0
- casadi/libClpSolver.so.1 +0 -0
- casadi/libClpSolver.so.1.14.7 +0 -0
- casadi/libCoinUtils.la +35 -0
- casadi/libCoinUtils.so +0 -0
- casadi/libCoinUtils.so.3 +0 -0
- casadi/libCoinUtils.so.3.11.6 +0 -0
- casadi/libFortranHighs.so +0 -0
- casadi/libOsi.la +35 -0
- casadi/libOsi.so +0 -0
- casadi/libOsi.so.1 +0 -0
- casadi/libOsi.so.1.13.7 +0 -0
- casadi/libOsiCbc.la +35 -0
- casadi/libOsiCbc.so +0 -0
- casadi/libOsiCbc.so.3 +0 -0
- casadi/libOsiCbc.so.3.10.6 +0 -0
- casadi/libOsiClp.la +35 -0
- casadi/libOsiClp.so +0 -0
- casadi/libOsiClp.so.1 +0 -0
- casadi/libOsiClp.so.1.14.7 +0 -0
- casadi/libOsiCommonTests.la +35 -0
- casadi/libOsiCommonTests.so +0 -0
- casadi/libOsiCommonTests.so.1 +0 -0
- casadi/libOsiCommonTests.so.1.13.7 +0 -0
- casadi/libblasfeo.so +0 -0
- casadi/libbonmin.la +35 -0
- casadi/libbonmin.so +0 -0
- casadi/libbonmin.so.4 +0 -0
- casadi/libbonmin.so.4.8.8 +0 -0
- casadi/libcasadi-tp-openblas.so +0 -0
- casadi/libcasadi-tp-openblas.so.0 +0 -0
- casadi/libcasadi-tp-openblas.so.0.3 +0 -0
- casadi/libcasadi.so +0 -0
- casadi/libcasadi.so.3.7 +0 -0
- casadi/libcasadi_conic_cbc.so +0 -0
- casadi/libcasadi_conic_cbc.so.3.7 +0 -0
- casadi/libcasadi_conic_clp.so +0 -0
- casadi/libcasadi_conic_clp.so.3.7 +0 -0
- casadi/libcasadi_conic_cplex.so +0 -0
- casadi/libcasadi_conic_cplex.so.3.7 +0 -0
- casadi/libcasadi_conic_gurobi.so +0 -0
- casadi/libcasadi_conic_gurobi.so.3.7 +0 -0
- casadi/libcasadi_conic_highs.so +0 -0
- casadi/libcasadi_conic_highs.so.3.7 +0 -0
- casadi/libcasadi_conic_hpipm.so +0 -0
- casadi/libcasadi_conic_hpipm.so.3.7 +0 -0
- casadi/libcasadi_conic_ipqp.so +0 -0
- casadi/libcasadi_conic_ipqp.so.3.7 +0 -0
- casadi/libcasadi_conic_nlpsol.so +0 -0
- casadi/libcasadi_conic_nlpsol.so.3.7 +0 -0
- casadi/libcasadi_conic_osqp.so +0 -0
- casadi/libcasadi_conic_osqp.so.3.7 +0 -0
- casadi/libcasadi_conic_proxqp.so +0 -0
- casadi/libcasadi_conic_proxqp.so.3.7 +0 -0
- casadi/libcasadi_conic_qpoases.so +0 -0
- casadi/libcasadi_conic_qpoases.so.3.7 +0 -0
- casadi/libcasadi_conic_qrqp.so +0 -0
- casadi/libcasadi_conic_qrqp.so.3.7 +0 -0
- casadi/libcasadi_conic_superscs.so +0 -0
- casadi/libcasadi_conic_superscs.so.3.7 +0 -0
- casadi/libcasadi_importer_shell.so +0 -0
- casadi/libcasadi_importer_shell.so.3.7 +0 -0
- casadi/libcasadi_integrator_collocation.so +0 -0
- casadi/libcasadi_integrator_collocation.so.3.7 +0 -0
- casadi/libcasadi_integrator_cvodes.so +0 -0
- casadi/libcasadi_integrator_cvodes.so.3.7 +0 -0
- casadi/libcasadi_integrator_idas.so +0 -0
- casadi/libcasadi_integrator_idas.so.3.7 +0 -0
- casadi/libcasadi_integrator_rk.so +0 -0
- casadi/libcasadi_integrator_rk.so.3.7 +0 -0
- casadi/libcasadi_interpolant_bspline.so +0 -0
- casadi/libcasadi_interpolant_bspline.so.3.7 +0 -0
- casadi/libcasadi_interpolant_linear.so +0 -0
- casadi/libcasadi_interpolant_linear.so.3.7 +0 -0
- casadi/libcasadi_linsol_csparse.so +0 -0
- casadi/libcasadi_linsol_csparse.so.3.7 +0 -0
- casadi/libcasadi_linsol_csparsecholesky.so +0 -0
- casadi/libcasadi_linsol_csparsecholesky.so.3.7 +0 -0
- casadi/libcasadi_linsol_lapacklu.so +0 -0
- casadi/libcasadi_linsol_lapacklu.so.3.7 +0 -0
- casadi/libcasadi_linsol_lapackqr.so +0 -0
- casadi/libcasadi_linsol_lapackqr.so.3.7 +0 -0
- casadi/libcasadi_linsol_ldl.so +0 -0
- casadi/libcasadi_linsol_ldl.so.3.7 +0 -0
- casadi/libcasadi_linsol_lsqr.so +0 -0
- casadi/libcasadi_linsol_lsqr.so.3.7 +0 -0
- casadi/libcasadi_linsol_ma27.so +0 -0
- casadi/libcasadi_linsol_ma27.so.3.7 +0 -0
- casadi/libcasadi_linsol_mumps.so +0 -0
- casadi/libcasadi_linsol_mumps.so.3.7 +0 -0
- casadi/libcasadi_linsol_qr.so +0 -0
- casadi/libcasadi_linsol_qr.so.3.7 +0 -0
- casadi/libcasadi_linsol_symbolicqr.so +0 -0
- casadi/libcasadi_linsol_symbolicqr.so.3.7 +0 -0
- casadi/libcasadi_linsol_tridiag.so +0 -0
- casadi/libcasadi_linsol_tridiag.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_ampl.so +0 -0
- casadi/libcasadi_nlpsol_ampl.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_blocksqp.so +0 -0
- casadi/libcasadi_nlpsol_blocksqp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_bonmin.so +0 -0
- casadi/libcasadi_nlpsol_bonmin.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.so +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_ipopt.so +0 -0
- casadi/libcasadi_nlpsol_ipopt.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_knitro.so +0 -0
- casadi/libcasadi_nlpsol_knitro.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_qrsqp.so +0 -0
- casadi/libcasadi_nlpsol_qrsqp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_scpgen.so +0 -0
- casadi/libcasadi_nlpsol_scpgen.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_snopt.so +0 -0
- casadi/libcasadi_nlpsol_snopt.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.so +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_worhp.so +0 -0
- casadi/libcasadi_nlpsol_worhp.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_fast_newton.so +0 -0
- casadi/libcasadi_rootfinder_fast_newton.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_kinsol.so +0 -0
- casadi/libcasadi_rootfinder_kinsol.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_newton.so +0 -0
- casadi/libcasadi_rootfinder_newton.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_nlpsol.so +0 -0
- casadi/libcasadi_rootfinder_nlpsol.so.3.7 +0 -0
- casadi/libcasadi_sundials_common.so +0 -0
- casadi/libcasadi_sundials_common.so.3.7 +0 -0
- casadi/libcasadi_xmlfile_tinyxml.so +0 -0
- casadi/libcasadi_xmlfile_tinyxml.so.3.7 +0 -0
- casadi/libcoinmetis.la +41 -0
- casadi/libcoinmetis.so +0 -0
- casadi/libcoinmetis.so.2 +0 -0
- casadi/libcoinmetis.so.2.0.0 +0 -0
- casadi/libcoinmumps.la +41 -0
- casadi/libcoinmumps.so +0 -0
- casadi/libcoinmumps.so.3 +0 -0
- casadi/libcoinmumps.so.3.0.1 +0 -0
- casadi/libcplex_adaptor.so +0 -0
- casadi/libgfortran.so.3 +0 -0
- casadi/libgurobi_adaptor.so +0 -0
- casadi/libhighs.so +0 -0
- casadi/libhighs.so.1.4 +0 -0
- casadi/libhighs.so.1.4.0 +0 -0
- casadi/libhpipm.so +0 -0
- casadi/libindirect.a +0 -0
- casadi/libipopt.la +41 -0
- casadi/libipopt.so +0 -0
- casadi/libipopt.so.3 +0 -0
- casadi/libipopt.so.3.14.11 +0 -0
- casadi/liblinsys.a +0 -0
- casadi/libosqp.a +0 -0
- casadi/libosqp.so +0 -0
- casadi/libqdldl.a +0 -0
- casadi/libqdldl.so +0 -0
- casadi/libsipopt.la +41 -0
- casadi/libsipopt.so +0 -0
- casadi/libsipopt.so.3 +0 -0
- casadi/libsipopt.so.3.14.11 +0 -0
- casadi/libspral.a +0 -0
- casadi/libsuperscs.a +0 -0
- casadi/pkgconfig/bonmin.pc +12 -0
- casadi/pkgconfig/casadi.pc +12 -0
- casadi/pkgconfig/cbc.pc +12 -0
- casadi/pkgconfig/cgl.pc +12 -0
- casadi/pkgconfig/clp.pc +12 -0
- casadi/pkgconfig/coinmetis.pc +13 -0
- casadi/pkgconfig/coinmumps.pc +15 -0
- casadi/pkgconfig/coinutils.pc +12 -0
- casadi/pkgconfig/highs.pc +12 -0
- casadi/pkgconfig/ipopt.pc +15 -0
- casadi/pkgconfig/openblas.pc +11 -0
- casadi/pkgconfig/osi-cbc.pc +12 -0
- casadi/pkgconfig/osi-clp.pc +12 -0
- casadi/pkgconfig/osi-unittests.pc +12 -0
- casadi/pkgconfig/osi.pc +12 -0
- casadi/spral_ssids +0 -0
- casadi/tools/__init__.py +48 -0
- casadi/tools/bounds.py +107 -0
- casadi/tools/graph/__init__.py +35 -0
- casadi/tools/graph/graph.py +747 -0
- casadi/tools/in_out.py +89 -0
- casadi/tools/structure.py +1446 -0
- casadi/tools/structure3.py +1441 -0
- casadi-3.6.0.dist-info/METADATA +37 -0
- casadi-3.6.0.dist-info/RECORD +1597 -0
- casadi-3.6.0.dist-info/WHEEL +4 -0
- dummy.txt +1 -0
@@ -0,0 +1,1805 @@
|
|
1
|
+
/* SPDX-License-Identifier: MIT
|
2
|
+
*
|
3
|
+
* Permission is hereby granted, free of charge, to any person
|
4
|
+
* obtaining a copy of this software and associated documentation
|
5
|
+
* files (the "Software"), to deal in the Software without
|
6
|
+
* restriction, including without limitation the rights to use, copy,
|
7
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
8
|
+
* of the Software, and to permit persons to whom the Software is
|
9
|
+
* furnished to do so, subject to the following conditions:
|
10
|
+
*
|
11
|
+
* The above copyright notice and this permission notice shall be
|
12
|
+
* included in all copies or substantial portions of the Software.
|
13
|
+
*
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
18
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
19
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
* SOFTWARE.
|
22
|
+
*
|
23
|
+
* Copyright:
|
24
|
+
* 2017-2020 Evan Nemerson <evan@nemerson.com>
|
25
|
+
*/
|
26
|
+
|
27
|
+
/* Attempt to find math functions. Functions may be in <cmath>,
|
28
|
+
* <math.h>, compiler built-ins/intrinsics, or platform/architecture
|
29
|
+
* specific headers. In some cases, especially those not built in to
|
30
|
+
* libm, we may need to define our own implementations. */
|
31
|
+
|
32
|
+
#if !defined(SIMDE_MATH_H)
|
33
|
+
#define SIMDE_MATH_H 1
|
34
|
+
|
35
|
+
#include "hedley.h"
|
36
|
+
#include "simde-features.h"
|
37
|
+
|
38
|
+
#include <stdint.h>
|
39
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
40
|
+
#include <arm_neon.h>
|
41
|
+
#endif
|
42
|
+
|
43
|
+
HEDLEY_DIAGNOSTIC_PUSH
|
44
|
+
SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
|
45
|
+
|
46
|
+
/* SLEEF support
|
47
|
+
* https://sleef.org/
|
48
|
+
*
|
49
|
+
* If you include <sleef.h> prior to including SIMDe, SIMDe will use
|
50
|
+
* SLEEF. You can also define SIMDE_MATH_SLEEF_ENABLE prior to
|
51
|
+
* including SIMDe to force the issue.
|
52
|
+
*
|
53
|
+
* Note that SLEEF does requires linking to libsleef.
|
54
|
+
*
|
55
|
+
* By default, SIMDe will use the 1 ULP functions, but if you use
|
56
|
+
* SIMDE_ACCURACY_PREFERENCE of 0 we will use up to 4 ULP. This is
|
57
|
+
* only the case for the simde_math_* functions; for code in other
|
58
|
+
* SIMDe headers which calls SLEEF directly we may use functions with
|
59
|
+
* greater error if the API we're implementing is less precise (for
|
60
|
+
* example, SVML guarantees 4 ULP, so we will generally use the 3.5
|
61
|
+
* ULP functions from SLEEF). */
|
62
|
+
#if !defined(SIMDE_MATH_SLEEF_DISABLE)
|
63
|
+
#if defined(__SLEEF_H__)
|
64
|
+
#define SIMDE_MATH_SLEEF_ENABLE
|
65
|
+
#endif
|
66
|
+
#endif
|
67
|
+
|
68
|
+
#if defined(SIMDE_MATH_SLEEF_ENABLE) && !defined(__SLEEF_H__)
|
69
|
+
HEDLEY_DIAGNOSTIC_PUSH
|
70
|
+
SIMDE_DIAGNOSTIC_DISABLE_IGNORED_QUALIFIERS_
|
71
|
+
#include <sleef.h>
|
72
|
+
HEDLEY_DIAGNOSTIC_POP
|
73
|
+
#endif
|
74
|
+
|
75
|
+
#if defined(SIMDE_MATH_SLEEF_ENABLE) && defined(__SLEEF_H__)
|
76
|
+
#if defined(SLEEF_VERSION_MAJOR)
|
77
|
+
#define SIMDE_MATH_SLEEF_VERSION_CHECK(major, minor, patch) (HEDLEY_VERSION_ENCODE(SLEEF_VERSION_MAJOR, SLEEF_VERSION_MINOR, SLEEF_VERSION_PATCHLEVEL) >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
78
|
+
#else
|
79
|
+
#define SIMDE_MATH_SLEEF_VERSION_CHECK(major, minor, patch) (HEDLEY_VERSION_ENCODE(3,0,0) >= HEDLEY_VERSION_ENCODE(major, minor, patch))
|
80
|
+
#endif
|
81
|
+
#else
|
82
|
+
#define SIMDE_MATH_SLEEF_VERSION_CHECK(major, minor, patch) (0)
|
83
|
+
#endif
|
84
|
+
|
85
|
+
#if defined(__has_builtin)
|
86
|
+
#define SIMDE_MATH_BUILTIN_LIBM(func) __has_builtin(__builtin_##func)
|
87
|
+
#elif \
|
88
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
|
89
|
+
HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
|
90
|
+
HEDLEY_GCC_VERSION_CHECK(4,4,0)
|
91
|
+
#define SIMDE_MATH_BUILTIN_LIBM(func) (1)
|
92
|
+
#else
|
93
|
+
#define SIMDE_MATH_BUILTIN_LIBM(func) (0)
|
94
|
+
#endif
|
95
|
+
|
96
|
+
#if defined(HUGE_VAL)
|
97
|
+
/* Looks like <math.h> or <cmath> has already been included. */
|
98
|
+
|
99
|
+
/* The math.h from libc++ (yes, the C header from the C++ standard
|
100
|
+
* library) will define an isnan function, but not an isnan macro
|
101
|
+
* like the C standard requires. So we detect the header guards
|
102
|
+
* macro libc++ uses. */
|
103
|
+
#if defined(isnan) || (defined(_LIBCPP_MATH_H) && !defined(_LIBCPP_CMATH))
|
104
|
+
#define SIMDE_MATH_HAVE_MATH_H
|
105
|
+
#elif defined(__cplusplus)
|
106
|
+
#define SIMDE_MATH_HAVE_CMATH
|
107
|
+
#endif
|
108
|
+
#elif defined(__has_include)
|
109
|
+
#if defined(__cplusplus) && (__cplusplus >= 201103L) && __has_include(<cmath>)
|
110
|
+
#define SIMDE_MATH_HAVE_CMATH
|
111
|
+
#include <cmath>
|
112
|
+
#elif __has_include(<math.h>)
|
113
|
+
#define SIMDE_MATH_HAVE_MATH_H
|
114
|
+
#include <math.h>
|
115
|
+
#elif !defined(SIMDE_MATH_NO_LIBM)
|
116
|
+
#define SIMDE_MATH_NO_LIBM
|
117
|
+
#endif
|
118
|
+
#elif !defined(SIMDE_MATH_NO_LIBM)
|
119
|
+
#if defined(__cplusplus) && (__cplusplus >= 201103L)
|
120
|
+
#define SIMDE_MATH_HAVE_CMATH
|
121
|
+
HEDLEY_DIAGNOSTIC_PUSH
|
122
|
+
#if defined(HEDLEY_MSVC_VERSION)
|
123
|
+
/* VS 14 emits this diagnostic about noexcept being used on a
|
124
|
+
* <cmath> function, which we can't do anything about. */
|
125
|
+
#pragma warning(disable:4996)
|
126
|
+
#endif
|
127
|
+
#include <cmath>
|
128
|
+
HEDLEY_DIAGNOSTIC_POP
|
129
|
+
#else
|
130
|
+
#define SIMDE_MATH_HAVE_MATH_H
|
131
|
+
#include <math.h>
|
132
|
+
#endif
|
133
|
+
#endif
|
134
|
+
|
135
|
+
#if !defined(SIMDE_MATH_INFINITY)
|
136
|
+
#if \
|
137
|
+
HEDLEY_HAS_BUILTIN(__builtin_inf) || \
|
138
|
+
HEDLEY_GCC_VERSION_CHECK(3,3,0) || \
|
139
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
|
140
|
+
HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
|
141
|
+
HEDLEY_CRAY_VERSION_CHECK(8,1,0)
|
142
|
+
#define SIMDE_MATH_INFINITY (__builtin_inf())
|
143
|
+
#elif defined(INFINITY)
|
144
|
+
#define SIMDE_MATH_INFINITY INFINITY
|
145
|
+
#endif
|
146
|
+
#endif
|
147
|
+
|
148
|
+
#if !defined(SIMDE_INFINITYF)
|
149
|
+
#if \
|
150
|
+
HEDLEY_HAS_BUILTIN(__builtin_inff) || \
|
151
|
+
HEDLEY_GCC_VERSION_CHECK(3,3,0) || \
|
152
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
|
153
|
+
HEDLEY_CRAY_VERSION_CHECK(8,1,0) || \
|
154
|
+
HEDLEY_IBM_VERSION_CHECK(13,1,0)
|
155
|
+
#define SIMDE_MATH_INFINITYF (__builtin_inff())
|
156
|
+
#elif defined(INFINITYF)
|
157
|
+
#define SIMDE_MATH_INFINITYF INFINITYF
|
158
|
+
#elif defined(SIMDE_MATH_INFINITY)
|
159
|
+
#define SIMDE_MATH_INFINITYF HEDLEY_STATIC_CAST(float, SIMDE_MATH_INFINITY)
|
160
|
+
#endif
|
161
|
+
#endif
|
162
|
+
|
163
|
+
#if !defined(SIMDE_MATH_NAN)
|
164
|
+
#if \
|
165
|
+
HEDLEY_HAS_BUILTIN(__builtin_nan) || \
|
166
|
+
HEDLEY_GCC_VERSION_CHECK(3,3,0) || \
|
167
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
|
168
|
+
HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
|
169
|
+
HEDLEY_CRAY_VERSION_CHECK(8,1,0) || \
|
170
|
+
HEDLEY_IBM_VERSION_CHECK(13,1,0)
|
171
|
+
#define SIMDE_MATH_NAN (__builtin_nan(""))
|
172
|
+
#elif defined(NAN)
|
173
|
+
#define SIMDE_MATH_NAN NAN
|
174
|
+
#endif
|
175
|
+
#endif
|
176
|
+
|
177
|
+
#if !defined(SIMDE_NANF)
|
178
|
+
#if \
|
179
|
+
HEDLEY_HAS_BUILTIN(__builtin_nanf) || \
|
180
|
+
HEDLEY_GCC_VERSION_CHECK(3,3,0) || \
|
181
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
|
182
|
+
HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
|
183
|
+
HEDLEY_CRAY_VERSION_CHECK(8,1,0)
|
184
|
+
#define SIMDE_MATH_NANF (__builtin_nanf(""))
|
185
|
+
#elif defined(NANF)
|
186
|
+
#define SIMDE_MATH_NANF NANF
|
187
|
+
#elif defined(SIMDE_MATH_NAN)
|
188
|
+
#define SIMDE_MATH_NANF HEDLEY_STATIC_CAST(float, SIMDE_MATH_NAN)
|
189
|
+
#endif
|
190
|
+
#endif
|
191
|
+
|
192
|
+
#if !defined(SIMDE_MATH_PI)
|
193
|
+
#if defined(M_PI)
|
194
|
+
#define SIMDE_MATH_PI M_PI
|
195
|
+
#else
|
196
|
+
#define SIMDE_MATH_PI 3.14159265358979323846
|
197
|
+
#endif
|
198
|
+
#endif
|
199
|
+
|
200
|
+
#if !defined(SIMDE_MATH_PIF)
|
201
|
+
#if defined(M_PI)
|
202
|
+
#define SIMDE_MATH_PIF HEDLEY_STATIC_CAST(float, M_PI)
|
203
|
+
#else
|
204
|
+
#define SIMDE_MATH_PIF 3.14159265358979323846f
|
205
|
+
#endif
|
206
|
+
#endif
|
207
|
+
|
208
|
+
#if !defined(SIMDE_MATH_PI_OVER_180)
|
209
|
+
#define SIMDE_MATH_PI_OVER_180 0.0174532925199432957692369076848861271344287188854172545609719144
|
210
|
+
#endif
|
211
|
+
|
212
|
+
#if !defined(SIMDE_MATH_PI_OVER_180F)
|
213
|
+
#define SIMDE_MATH_PI_OVER_180F 0.0174532925199432957692369076848861271344287188854172545609719144f
|
214
|
+
#endif
|
215
|
+
|
216
|
+
#if !defined(SIMDE_MATH_180_OVER_PI)
|
217
|
+
#define SIMDE_MATH_180_OVER_PI 57.295779513082320876798154814105170332405472466564321549160243861
|
218
|
+
#endif
|
219
|
+
|
220
|
+
#if !defined(SIMDE_MATH_180_OVER_PIF)
|
221
|
+
#define SIMDE_MATH_180_OVER_PIF 57.295779513082320876798154814105170332405472466564321549160243861f
|
222
|
+
#endif
|
223
|
+
|
224
|
+
#if !defined(SIMDE_MATH_FLT_MIN)
|
225
|
+
#if defined(FLT_MIN)
|
226
|
+
#define SIMDE_MATH_FLT_MIN FLT_MIN
|
227
|
+
#elif defined(__FLT_MIN__)
|
228
|
+
#define SIMDE_MATH_FLT_MIN __FLT_MIN__
|
229
|
+
#elif defined(__cplusplus)
|
230
|
+
#include <cfloat>
|
231
|
+
#define SIMDE_MATH_FLT_MIN FLT_MIN
|
232
|
+
#else
|
233
|
+
#include <float.h>
|
234
|
+
#define SIMDE_MATH_FLT_MIN FLT_MIN
|
235
|
+
#endif
|
236
|
+
#endif
|
237
|
+
|
238
|
+
#if !defined(SIMDE_MATH_DBL_MIN)
|
239
|
+
#if defined(DBL_MIN)
|
240
|
+
#define SIMDE_MATH_DBL_MIN DBL_MIN
|
241
|
+
#elif defined(__DBL_MIN__)
|
242
|
+
#define SIMDE_MATH_DBL_MIN __DBL_MIN__
|
243
|
+
#elif defined(__cplusplus)
|
244
|
+
#include <cfloat>
|
245
|
+
#define SIMDE_MATH_DBL_MIN DBL_MIN
|
246
|
+
#else
|
247
|
+
#include <float.h>
|
248
|
+
#define SIMDE_MATH_DBL_MIN DBL_MIN
|
249
|
+
#endif
|
250
|
+
#endif
|
251
|
+
|
252
|
+
/*** Classification macros from C99 ***/
|
253
|
+
|
254
|
+
#if !defined(simde_math_isinf)
|
255
|
+
#if SIMDE_MATH_BUILTIN_LIBM(isinf)
|
256
|
+
#define simde_math_isinf(v) __builtin_isinf(v)
|
257
|
+
#elif defined(isinf) || defined(SIMDE_MATH_HAVE_MATH_H)
|
258
|
+
#define simde_math_isinf(v) isinf(v)
|
259
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
260
|
+
#define simde_math_isinf(v) std::isinf(v)
|
261
|
+
#endif
|
262
|
+
#endif
|
263
|
+
|
264
|
+
#if !defined(simde_math_isinff)
|
265
|
+
#if HEDLEY_HAS_BUILTIN(__builtin_isinff) || \
|
266
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
|
267
|
+
HEDLEY_ARM_VERSION_CHECK(4,1,0)
|
268
|
+
#define simde_math_isinff(v) __builtin_isinff(v)
|
269
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
270
|
+
#define simde_math_isinff(v) std::isinf(v)
|
271
|
+
#elif defined(simde_math_isinf)
|
272
|
+
#define simde_math_isinff(v) simde_math_isinf(HEDLEY_STATIC_CAST(double, v))
|
273
|
+
#endif
|
274
|
+
#endif
|
275
|
+
|
276
|
+
#if !defined(simde_math_isnan)
|
277
|
+
#if SIMDE_MATH_BUILTIN_LIBM(isnan)
|
278
|
+
#define simde_math_isnan(v) __builtin_isnan(v)
|
279
|
+
#elif defined(isnan) || defined(SIMDE_MATH_HAVE_MATH_H)
|
280
|
+
#define simde_math_isnan(v) isnan(v)
|
281
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
282
|
+
#define simde_math_isnan(v) std::isnan(v)
|
283
|
+
#endif
|
284
|
+
#endif
|
285
|
+
|
286
|
+
#if !defined(simde_math_isnanf)
|
287
|
+
#if HEDLEY_HAS_BUILTIN(__builtin_isnanf) || \
|
288
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
|
289
|
+
HEDLEY_ARM_VERSION_CHECK(4,1,0)
|
290
|
+
/* XL C/C++ has __builtin_isnan but not __builtin_isnanf */
|
291
|
+
#define simde_math_isnanf(v) __builtin_isnanf(v)
|
292
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
293
|
+
#define simde_math_isnanf(v) std::isnan(v)
|
294
|
+
#elif defined(simde_math_isnan)
|
295
|
+
#define simde_math_isnanf(v) simde_math_isnan(HEDLEY_STATIC_CAST(double, v))
|
296
|
+
#endif
|
297
|
+
#endif
|
298
|
+
|
299
|
+
#if !defined(simde_math_isnormal)
|
300
|
+
#if SIMDE_MATH_BUILTIN_LIBM(isnormal)
|
301
|
+
#define simde_math_isnormal(v) __builtin_isnormal(v)
|
302
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
303
|
+
#define simde_math_isnormal(v) isnormal(v)
|
304
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
305
|
+
#define simde_math_isnormal(v) std::isnormal(v)
|
306
|
+
#endif
|
307
|
+
#endif
|
308
|
+
|
309
|
+
#if !defined(simde_math_isnormalf)
|
310
|
+
#if HEDLEY_HAS_BUILTIN(__builtin_isnormalf)
|
311
|
+
#define simde_math_isnormalf(v) __builtin_isnormalf(v)
|
312
|
+
#elif SIMDE_MATH_BUILTIN_LIBM(isnormal)
|
313
|
+
#define simde_math_isnormalf(v) __builtin_isnormal(v)
|
314
|
+
#elif defined(isnormalf)
|
315
|
+
#define simde_math_isnormalf(v) isnormalf(v)
|
316
|
+
#elif defined(isnormal) || defined(SIMDE_MATH_HAVE_MATH_H)
|
317
|
+
#define simde_math_isnormalf(v) isnormal(v)
|
318
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
319
|
+
#define simde_math_isnormalf(v) std::isnormal(v)
|
320
|
+
#elif defined(simde_math_isnormal)
|
321
|
+
#define simde_math_isnormalf(v) simde_math_isnormal(v)
|
322
|
+
#endif
|
323
|
+
#endif
|
324
|
+
|
325
|
+
/*** Manipulation functions ***/
|
326
|
+
|
327
|
+
#if !defined(simde_math_nextafter)
|
328
|
+
#if \
|
329
|
+
(HEDLEY_HAS_BUILTIN(__builtin_nextafter) && !defined(HEDLEY_IBM_VERSION)) || \
|
330
|
+
HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
|
331
|
+
HEDLEY_GCC_VERSION_CHECK(3,4,0) || \
|
332
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0)
|
333
|
+
#define simde_math_nextafter(x, y) __builtin_nextafter(x, y)
|
334
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
335
|
+
#define simde_math_nextafter(x, y) std::nextafter(x, y)
|
336
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
337
|
+
#define simde_math_nextafter(x, y) nextafter(x, y)
|
338
|
+
#endif
|
339
|
+
#endif
|
340
|
+
|
341
|
+
#if !defined(simde_math_nextafterf)
|
342
|
+
#if \
|
343
|
+
(HEDLEY_HAS_BUILTIN(__builtin_nextafterf) && !defined(HEDLEY_IBM_VERSION)) || \
|
344
|
+
HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
|
345
|
+
HEDLEY_GCC_VERSION_CHECK(3,4,0) || \
|
346
|
+
HEDLEY_INTEL_VERSION_CHECK(13,0,0)
|
347
|
+
#define simde_math_nextafterf(x, y) __builtin_nextafterf(x, y)
|
348
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
349
|
+
#define simde_math_nextafterf(x, y) std::nextafter(x, y)
|
350
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
351
|
+
#define simde_math_nextafterf(x, y) nextafterf(x, y)
|
352
|
+
#endif
|
353
|
+
#endif
|
354
|
+
|
355
|
+
/*** Functions from C99 ***/
|
356
|
+
|
357
|
+
#if !defined(simde_math_abs)
|
358
|
+
#if SIMDE_MATH_BUILTIN_LIBM(abs)
|
359
|
+
#define simde_math_abs(v) __builtin_abs(v)
|
360
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
361
|
+
#define simde_math_abs(v) std::abs(v)
|
362
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
363
|
+
#define simde_math_abs(v) abs(v)
|
364
|
+
#endif
|
365
|
+
#endif
|
366
|
+
|
367
|
+
#if !defined(simde_math_fabsf)
|
368
|
+
#if SIMDE_MATH_BUILTIN_LIBM(fabsf)
|
369
|
+
#define simde_math_fabsf(v) __builtin_fabsf(v)
|
370
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
371
|
+
#define simde_math_fabsf(v) std::abs(v)
|
372
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
373
|
+
#define simde_math_fabsf(v) fabsf(v)
|
374
|
+
#endif
|
375
|
+
#endif
|
376
|
+
|
377
|
+
#if !defined(simde_math_acos)
|
378
|
+
#if SIMDE_MATH_BUILTIN_LIBM(acos)
|
379
|
+
#define simde_math_acos(v) __builtin_acos(v)
|
380
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
381
|
+
#define simde_math_acos(v) std::acos(v)
|
382
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
383
|
+
#define simde_math_acos(v) acos(v)
|
384
|
+
#endif
|
385
|
+
#endif
|
386
|
+
|
387
|
+
#if !defined(simde_math_acosf)
|
388
|
+
#if SIMDE_MATH_BUILTIN_LIBM(acosf)
|
389
|
+
#define simde_math_acosf(v) __builtin_acosf(v)
|
390
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
391
|
+
#define simde_math_acosf(v) std::acos(v)
|
392
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
393
|
+
#define simde_math_acosf(v) acosf(v)
|
394
|
+
#endif
|
395
|
+
#endif
|
396
|
+
|
397
|
+
#if !defined(simde_math_acosh)
|
398
|
+
#if SIMDE_MATH_BUILTIN_LIBM(acosh)
|
399
|
+
#define simde_math_acosh(v) __builtin_acosh(v)
|
400
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
401
|
+
#define simde_math_acosh(v) std::acosh(v)
|
402
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
403
|
+
#define simde_math_acosh(v) acosh(v)
|
404
|
+
#endif
|
405
|
+
#endif
|
406
|
+
|
407
|
+
#if !defined(simde_math_acoshf)
|
408
|
+
#if SIMDE_MATH_BUILTIN_LIBM(acoshf)
|
409
|
+
#define simde_math_acoshf(v) __builtin_acoshf(v)
|
410
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
411
|
+
#define simde_math_acoshf(v) std::acosh(v)
|
412
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
413
|
+
#define simde_math_acoshf(v) acoshf(v)
|
414
|
+
#endif
|
415
|
+
#endif
|
416
|
+
|
417
|
+
#if !defined(simde_math_asin)
|
418
|
+
#if SIMDE_MATH_BUILTIN_LIBM(asin)
|
419
|
+
#define simde_math_asin(v) __builtin_asin(v)
|
420
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
421
|
+
#define simde_math_asin(v) std::asin(v)
|
422
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
423
|
+
#define simde_math_asin(v) asin(v)
|
424
|
+
#endif
|
425
|
+
#endif
|
426
|
+
|
427
|
+
#if !defined(simde_math_asinf)
|
428
|
+
#if SIMDE_MATH_BUILTIN_LIBM(asinf)
|
429
|
+
#define simde_math_asinf(v) __builtin_asinf(v)
|
430
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
431
|
+
#define simde_math_asinf(v) std::asin(v)
|
432
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
433
|
+
#define simde_math_asinf(v) asinf(v)
|
434
|
+
#endif
|
435
|
+
#endif
|
436
|
+
|
437
|
+
#if !defined(simde_math_asinh)
|
438
|
+
#if SIMDE_MATH_BUILTIN_LIBM(asinh)
|
439
|
+
#define simde_math_asinh(v) __builtin_asinh(v)
|
440
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
441
|
+
#define simde_math_asinh(v) std::asinh(v)
|
442
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
443
|
+
#define simde_math_asinh(v) asinh(v)
|
444
|
+
#endif
|
445
|
+
#endif
|
446
|
+
|
447
|
+
#if !defined(simde_math_asinhf)
|
448
|
+
#if SIMDE_MATH_BUILTIN_LIBM(asinhf)
|
449
|
+
#define simde_math_asinhf(v) __builtin_asinhf(v)
|
450
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
451
|
+
#define simde_math_asinhf(v) std::asinh(v)
|
452
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
453
|
+
#define simde_math_asinhf(v) asinhf(v)
|
454
|
+
#endif
|
455
|
+
#endif
|
456
|
+
|
457
|
+
#if !defined(simde_math_atan)
|
458
|
+
#if SIMDE_MATH_BUILTIN_LIBM(atan)
|
459
|
+
#define simde_math_atan(v) __builtin_atan(v)
|
460
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
461
|
+
#define simde_math_atan(v) std::atan(v)
|
462
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
463
|
+
#define simde_math_atan(v) atan(v)
|
464
|
+
#endif
|
465
|
+
#endif
|
466
|
+
|
467
|
+
#if !defined(simde_math_atan2)
|
468
|
+
#if SIMDE_MATH_BUILTIN_LIBM(atan2)
|
469
|
+
#define simde_math_atan2(y, x) __builtin_atan2(y, x)
|
470
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
471
|
+
#define simde_math_atan2(y, x) std::atan2(y, x)
|
472
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
473
|
+
#define simde_math_atan2(y, x) atan2(y, x)
|
474
|
+
#endif
|
475
|
+
#endif
|
476
|
+
|
477
|
+
#if !defined(simde_math_atan2f)
|
478
|
+
#if SIMDE_MATH_BUILTIN_LIBM(atan2f)
|
479
|
+
#define simde_math_atan2f(y, x) __builtin_atan2f(y, x)
|
480
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
481
|
+
#define simde_math_atan2f(y, x) std::atan2(y, x)
|
482
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
483
|
+
#define simde_math_atan2f(y, x) atan2f(y, x)
|
484
|
+
#endif
|
485
|
+
#endif
|
486
|
+
|
487
|
+
#if !defined(simde_math_atanf)
|
488
|
+
#if SIMDE_MATH_BUILTIN_LIBM(atanf)
|
489
|
+
#define simde_math_atanf(v) __builtin_atanf(v)
|
490
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
491
|
+
#define simde_math_atanf(v) std::atan(v)
|
492
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
493
|
+
#define simde_math_atanf(v) atanf(v)
|
494
|
+
#endif
|
495
|
+
#endif
|
496
|
+
|
497
|
+
#if !defined(simde_math_atanh)
|
498
|
+
#if SIMDE_MATH_BUILTIN_LIBM(atanh)
|
499
|
+
#define simde_math_atanh(v) __builtin_atanh(v)
|
500
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
501
|
+
#define simde_math_atanh(v) std::atanh(v)
|
502
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
503
|
+
#define simde_math_atanh(v) atanh(v)
|
504
|
+
#endif
|
505
|
+
#endif
|
506
|
+
|
507
|
+
#if !defined(simde_math_atanhf)
|
508
|
+
#if SIMDE_MATH_BUILTIN_LIBM(atanhf)
|
509
|
+
#define simde_math_atanhf(v) __builtin_atanhf(v)
|
510
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
511
|
+
#define simde_math_atanhf(v) std::atanh(v)
|
512
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
513
|
+
#define simde_math_atanhf(v) atanhf(v)
|
514
|
+
#endif
|
515
|
+
#endif
|
516
|
+
|
517
|
+
#if !defined(simde_math_cbrt)
|
518
|
+
#if SIMDE_MATH_BUILTIN_LIBM(cbrt)
|
519
|
+
#define simde_math_cbrt(v) __builtin_cbrt(v)
|
520
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
521
|
+
#define simde_math_cbrt(v) std::cbrt(v)
|
522
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
523
|
+
#define simde_math_cbrt(v) cbrt(v)
|
524
|
+
#endif
|
525
|
+
#endif
|
526
|
+
|
527
|
+
#if !defined(simde_math_cbrtf)
|
528
|
+
#if SIMDE_MATH_BUILTIN_LIBM(cbrtf)
|
529
|
+
#define simde_math_cbrtf(v) __builtin_cbrtf(v)
|
530
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
531
|
+
#define simde_math_cbrtf(v) std::cbrt(v)
|
532
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
533
|
+
#define simde_math_cbrtf(v) cbrtf(v)
|
534
|
+
#endif
|
535
|
+
#endif
|
536
|
+
|
537
|
+
#if !defined(simde_math_ceil)
|
538
|
+
#if SIMDE_MATH_BUILTIN_LIBM(ceil)
|
539
|
+
#define simde_math_ceil(v) __builtin_ceil(v)
|
540
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
541
|
+
#define simde_math_ceil(v) std::ceil(v)
|
542
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
543
|
+
#define simde_math_ceil(v) ceil(v)
|
544
|
+
#endif
|
545
|
+
#endif
|
546
|
+
|
547
|
+
#if !defined(simde_math_ceilf)
|
548
|
+
#if SIMDE_MATH_BUILTIN_LIBM(ceilf)
|
549
|
+
#define simde_math_ceilf(v) __builtin_ceilf(v)
|
550
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
551
|
+
#define simde_math_ceilf(v) std::ceil(v)
|
552
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
553
|
+
#define simde_math_ceilf(v) ceilf(v)
|
554
|
+
#endif
|
555
|
+
#endif
|
556
|
+
|
557
|
+
#if !defined(simde_math_copysign)
|
558
|
+
#if SIMDE_MATH_BUILTIN_LIBM(copysign)
|
559
|
+
#define simde_math_copysign(x, y) __builtin_copysign(x, y)
|
560
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
561
|
+
#define simde_math_copysign(x, y) std::copysign(x, y)
|
562
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
563
|
+
#define simde_math_copysign(x, y) copysign(x, y)
|
564
|
+
#endif
|
565
|
+
#endif
|
566
|
+
|
567
|
+
#if !defined(simde_math_copysignf)
|
568
|
+
#if SIMDE_MATH_BUILTIN_LIBM(copysignf)
|
569
|
+
#define simde_math_copysignf(x, y) __builtin_copysignf(x, y)
|
570
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
571
|
+
#define simde_math_copysignf(x, y) std::copysignf(x, y)
|
572
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
573
|
+
#define simde_math_copysignf(x, y) copysignf(x, y)
|
574
|
+
#endif
|
575
|
+
#endif
|
576
|
+
|
577
|
+
#if !defined(simde_math_cos)
|
578
|
+
#if SIMDE_MATH_BUILTIN_LIBM(cos)
|
579
|
+
#define simde_math_cos(v) __builtin_cos(v)
|
580
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
581
|
+
#define simde_math_cos(v) std::cos(v)
|
582
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
583
|
+
#define simde_math_cos(v) cos(v)
|
584
|
+
#endif
|
585
|
+
#endif
|
586
|
+
|
587
|
+
#if !defined(simde_math_cosf)
|
588
|
+
#if defined(SIMDE_MATH_SLEEF_ENABLE)
|
589
|
+
#if SIMDE_ACCURACY_PREFERENCE < 1
|
590
|
+
#define simde_math_cosf(v) Sleef_cosf_u35(v)
|
591
|
+
#else
|
592
|
+
#define simde_math_cosf(v) Sleef_cosf_u10(v)
|
593
|
+
#endif
|
594
|
+
#elif SIMDE_MATH_BUILTIN_LIBM(cosf)
|
595
|
+
#define simde_math_cosf(v) __builtin_cosf(v)
|
596
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
597
|
+
#define simde_math_cosf(v) std::cos(v)
|
598
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
599
|
+
#define simde_math_cosf(v) cosf(v)
|
600
|
+
#endif
|
601
|
+
#endif
|
602
|
+
|
603
|
+
#if !defined(simde_math_cosh)
|
604
|
+
#if SIMDE_MATH_BUILTIN_LIBM(cosh)
|
605
|
+
#define simde_math_cosh(v) __builtin_cosh(v)
|
606
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
607
|
+
#define simde_math_cosh(v) std::cosh(v)
|
608
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
609
|
+
#define simde_math_cosh(v) cosh(v)
|
610
|
+
#endif
|
611
|
+
#endif
|
612
|
+
|
613
|
+
#if !defined(simde_math_coshf)
|
614
|
+
#if SIMDE_MATH_BUILTIN_LIBM(coshf)
|
615
|
+
#define simde_math_coshf(v) __builtin_coshf(v)
|
616
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
617
|
+
#define simde_math_coshf(v) std::cosh(v)
|
618
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
619
|
+
#define simde_math_coshf(v) coshf(v)
|
620
|
+
#endif
|
621
|
+
#endif
|
622
|
+
|
623
|
+
#if !defined(simde_math_erf)
|
624
|
+
#if SIMDE_MATH_BUILTIN_LIBM(erf)
|
625
|
+
#define simde_math_erf(v) __builtin_erf(v)
|
626
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
627
|
+
#define simde_math_erf(v) std::erf(v)
|
628
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
629
|
+
#define simde_math_erf(v) erf(v)
|
630
|
+
#endif
|
631
|
+
#endif
|
632
|
+
|
633
|
+
#if !defined(simde_math_erff)
|
634
|
+
#if SIMDE_MATH_BUILTIN_LIBM(erff)
|
635
|
+
#define simde_math_erff(v) __builtin_erff(v)
|
636
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
637
|
+
#define simde_math_erff(v) std::erf(v)
|
638
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
639
|
+
#define simde_math_erff(v) erff(v)
|
640
|
+
#endif
|
641
|
+
#endif
|
642
|
+
|
643
|
+
#if !defined(simde_math_erfc)
|
644
|
+
#if SIMDE_MATH_BUILTIN_LIBM(erfc)
|
645
|
+
#define simde_math_erfc(v) __builtin_erfc(v)
|
646
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
647
|
+
#define simde_math_erfc(v) std::erfc(v)
|
648
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
649
|
+
#define simde_math_erfc(v) erfc(v)
|
650
|
+
#endif
|
651
|
+
#endif
|
652
|
+
|
653
|
+
#if !defined(simde_math_erfcf)
|
654
|
+
#if SIMDE_MATH_BUILTIN_LIBM(erfcf)
|
655
|
+
#define simde_math_erfcf(v) __builtin_erfcf(v)
|
656
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
657
|
+
#define simde_math_erfcf(v) std::erfc(v)
|
658
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
659
|
+
#define simde_math_erfcf(v) erfcf(v)
|
660
|
+
#endif
|
661
|
+
#endif
|
662
|
+
|
663
|
+
#if !defined(simde_math_exp)
|
664
|
+
#if SIMDE_MATH_BUILTIN_LIBM(exp)
|
665
|
+
#define simde_math_exp(v) __builtin_exp(v)
|
666
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
667
|
+
#define simde_math_exp(v) std::exp(v)
|
668
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
669
|
+
#define simde_math_exp(v) exp(v)
|
670
|
+
#endif
|
671
|
+
#endif
|
672
|
+
|
673
|
+
#if !defined(simde_math_expf)
|
674
|
+
#if SIMDE_MATH_BUILTIN_LIBM(expf)
|
675
|
+
#define simde_math_expf(v) __builtin_expf(v)
|
676
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
677
|
+
#define simde_math_expf(v) std::exp(v)
|
678
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
679
|
+
#define simde_math_expf(v) expf(v)
|
680
|
+
#endif
|
681
|
+
#endif
|
682
|
+
|
683
|
+
#if !defined(simde_math_expm1)
|
684
|
+
#if SIMDE_MATH_BUILTIN_LIBM(expm1)
|
685
|
+
#define simde_math_expm1(v) __builtin_expm1(v)
|
686
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
687
|
+
#define simde_math_expm1(v) std::expm1(v)
|
688
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
689
|
+
#define simde_math_expm1(v) expm1(v)
|
690
|
+
#endif
|
691
|
+
#endif
|
692
|
+
|
693
|
+
#if !defined(simde_math_expm1f)
|
694
|
+
#if SIMDE_MATH_BUILTIN_LIBM(expm1f)
|
695
|
+
#define simde_math_expm1f(v) __builtin_expm1f(v)
|
696
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
697
|
+
#define simde_math_expm1f(v) std::expm1(v)
|
698
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
699
|
+
#define simde_math_expm1f(v) expm1f(v)
|
700
|
+
#endif
|
701
|
+
#endif
|
702
|
+
|
703
|
+
#if !defined(simde_math_exp2)
|
704
|
+
#if SIMDE_MATH_BUILTIN_LIBM(exp2)
|
705
|
+
#define simde_math_exp2(v) __builtin_exp2(v)
|
706
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
707
|
+
#define simde_math_exp2(v) std::exp2(v)
|
708
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
709
|
+
#define simde_math_exp2(v) exp2(v)
|
710
|
+
#endif
|
711
|
+
#endif
|
712
|
+
|
713
|
+
#if !defined(simde_math_exp2f)
|
714
|
+
#if SIMDE_MATH_BUILTIN_LIBM(exp2f)
|
715
|
+
#define simde_math_exp2f(v) __builtin_exp2f(v)
|
716
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
717
|
+
#define simde_math_exp2f(v) std::exp2(v)
|
718
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
719
|
+
#define simde_math_exp2f(v) exp2f(v)
|
720
|
+
#endif
|
721
|
+
#endif
|
722
|
+
|
723
|
+
#if HEDLEY_HAS_BUILTIN(__builtin_exp10) || HEDLEY_GCC_VERSION_CHECK(3,4,0)
|
724
|
+
# define simde_math_exp10(v) __builtin_exp10(v)
|
725
|
+
#else
|
726
|
+
# define simde_math_exp10(v) pow(10.0, (v))
|
727
|
+
#endif
|
728
|
+
|
729
|
+
#if HEDLEY_HAS_BUILTIN(__builtin_exp10f) || HEDLEY_GCC_VERSION_CHECK(3,4,0)
|
730
|
+
# define simde_math_exp10f(v) __builtin_exp10f(v)
|
731
|
+
#else
|
732
|
+
# define simde_math_exp10f(v) powf(10.0f, (v))
|
733
|
+
#endif
|
734
|
+
|
735
|
+
#if !defined(simde_math_fabs)
|
736
|
+
#if SIMDE_MATH_BUILTIN_LIBM(fabs)
|
737
|
+
#define simde_math_fabs(v) __builtin_fabs(v)
|
738
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
739
|
+
#define simde_math_fabs(v) std::fabs(v)
|
740
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
741
|
+
#define simde_math_fabs(v) fabs(v)
|
742
|
+
#endif
|
743
|
+
#endif
|
744
|
+
|
745
|
+
#if !defined(simde_math_fabsf)
|
746
|
+
#if SIMDE_MATH_BUILTIN_LIBM(fabsf)
|
747
|
+
#define simde_math_fabsf(v) __builtin_fabsf(v)
|
748
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
749
|
+
#define simde_math_fabsf(v) std::fabs(v)
|
750
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
751
|
+
#define simde_math_fabsf(v) fabsf(v)
|
752
|
+
#endif
|
753
|
+
#endif
|
754
|
+
|
755
|
+
#if !defined(simde_math_floor)
|
756
|
+
#if SIMDE_MATH_BUILTIN_LIBM(floor)
|
757
|
+
#define simde_math_floor(v) __builtin_floor(v)
|
758
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
759
|
+
#define simde_math_floor(v) std::floor(v)
|
760
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
761
|
+
#define simde_math_floor(v) floor(v)
|
762
|
+
#endif
|
763
|
+
#endif
|
764
|
+
|
765
|
+
#if !defined(simde_math_floorf)
|
766
|
+
#if SIMDE_MATH_BUILTIN_LIBM(floorf)
|
767
|
+
#define simde_math_floorf(v) __builtin_floorf(v)
|
768
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
769
|
+
#define simde_math_floorf(v) std::floor(v)
|
770
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
771
|
+
#define simde_math_floorf(v) floorf(v)
|
772
|
+
#endif
|
773
|
+
#endif
|
774
|
+
|
775
|
+
#if !defined(simde_math_fma)
|
776
|
+
#if SIMDE_MATH_BUILTIN_LIBM(fma)
|
777
|
+
#define simde_math_fma(x, y, z) __builtin_fma(x, y, z)
|
778
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
779
|
+
#define simde_math_fma(x, y, z) std::fma(x, y, z)
|
780
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
781
|
+
#define simde_math_fma(x, y, z) fma(x, y, z)
|
782
|
+
#endif
|
783
|
+
#endif
|
784
|
+
|
785
|
+
#if !defined(simde_math_fmaf)
|
786
|
+
#if SIMDE_MATH_BUILTIN_LIBM(fmaf)
|
787
|
+
#define simde_math_fmaf(x, y, z) __builtin_fmaf(x, y, z)
|
788
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
789
|
+
#define simde_math_fmaf(x, y, z) std::fma(x, y, z)
|
790
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
791
|
+
#define simde_math_fmaf(x, y, z) fmaf(x, y, z)
|
792
|
+
#endif
|
793
|
+
#endif
|
794
|
+
|
795
|
+
#if !defined(simde_math_fmax)
|
796
|
+
#if SIMDE_MATH_BUILTIN_LIBM(fmax)
|
797
|
+
#define simde_math_fmax(x, y, z) __builtin_fmax(x, y, z)
|
798
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
799
|
+
#define simde_math_fmax(x, y, z) std::fmax(x, y, z)
|
800
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
801
|
+
#define simde_math_fmax(x, y, z) fmax(x, y, z)
|
802
|
+
#endif
|
803
|
+
#endif
|
804
|
+
|
805
|
+
#if !defined(simde_math_fmaxf)
|
806
|
+
#if SIMDE_MATH_BUILTIN_LIBM(fmaxf)
|
807
|
+
#define simde_math_fmaxf(x, y, z) __builtin_fmaxf(x, y, z)
|
808
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
809
|
+
#define simde_math_fmaxf(x, y, z) std::fmax(x, y, z)
|
810
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
811
|
+
#define simde_math_fmaxf(x, y, z) fmaxf(x, y, z)
|
812
|
+
#endif
|
813
|
+
#endif
|
814
|
+
|
815
|
+
#if !defined(simde_math_hypot)
|
816
|
+
#if SIMDE_MATH_BUILTIN_LIBM(hypot)
|
817
|
+
#define simde_math_hypot(y, x) __builtin_hypot(y, x)
|
818
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
819
|
+
#define simde_math_hypot(y, x) std::hypot(y, x)
|
820
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
821
|
+
#define simde_math_hypot(y, x) hypot(y, x)
|
822
|
+
#endif
|
823
|
+
#endif
|
824
|
+
|
825
|
+
#if !defined(simde_math_hypotf)
|
826
|
+
#if SIMDE_MATH_BUILTIN_LIBM(hypotf)
|
827
|
+
#define simde_math_hypotf(y, x) __builtin_hypotf(y, x)
|
828
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
829
|
+
#define simde_math_hypotf(y, x) std::hypot(y, x)
|
830
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
831
|
+
#define simde_math_hypotf(y, x) hypotf(y, x)
|
832
|
+
#endif
|
833
|
+
#endif
|
834
|
+
|
835
|
+
#if !defined(simde_math_log)
|
836
|
+
#if SIMDE_MATH_BUILTIN_LIBM(log)
|
837
|
+
#define simde_math_log(v) __builtin_log(v)
|
838
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
839
|
+
#define simde_math_log(v) std::log(v)
|
840
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
841
|
+
#define simde_math_log(v) log(v)
|
842
|
+
#endif
|
843
|
+
#endif
|
844
|
+
|
845
|
+
#if !defined(simde_math_logf)
|
846
|
+
#if SIMDE_MATH_BUILTIN_LIBM(logf)
|
847
|
+
#define simde_math_logf(v) __builtin_logf(v)
|
848
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
849
|
+
#define simde_math_logf(v) std::log(v)
|
850
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
851
|
+
#define simde_math_logf(v) logf(v)
|
852
|
+
#endif
|
853
|
+
#endif
|
854
|
+
|
855
|
+
#if !defined(simde_math_logb)
|
856
|
+
#if SIMDE_MATH_BUILTIN_LIBM(logb)
|
857
|
+
#define simde_math_logb(v) __builtin_logb(v)
|
858
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
859
|
+
#define simde_math_logb(v) std::logb(v)
|
860
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
861
|
+
#define simde_math_logb(v) logb(v)
|
862
|
+
#endif
|
863
|
+
#endif
|
864
|
+
|
865
|
+
#if !defined(simde_math_logbf)
|
866
|
+
#if SIMDE_MATH_BUILTIN_LIBM(logbf)
|
867
|
+
#define simde_math_logbf(v) __builtin_logbf(v)
|
868
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
869
|
+
#define simde_math_logbf(v) std::logb(v)
|
870
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
871
|
+
#define simde_math_logbf(v) logbf(v)
|
872
|
+
#endif
|
873
|
+
#endif
|
874
|
+
|
875
|
+
#if !defined(simde_math_log1p)
|
876
|
+
#if SIMDE_MATH_BUILTIN_LIBM(log1p)
|
877
|
+
#define simde_math_log1p(v) __builtin_log1p(v)
|
878
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
879
|
+
#define simde_math_log1p(v) std::log1p(v)
|
880
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
881
|
+
#define simde_math_log1p(v) log1p(v)
|
882
|
+
#endif
|
883
|
+
#endif
|
884
|
+
|
885
|
+
#if !defined(simde_math_log1pf)
|
886
|
+
#if SIMDE_MATH_BUILTIN_LIBM(log1pf)
|
887
|
+
#define simde_math_log1pf(v) __builtin_log1pf(v)
|
888
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
889
|
+
#define simde_math_log1pf(v) std::log1p(v)
|
890
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
891
|
+
#define simde_math_log1pf(v) log1pf(v)
|
892
|
+
#endif
|
893
|
+
#endif
|
894
|
+
|
895
|
+
#if !defined(simde_math_log2)
|
896
|
+
#if SIMDE_MATH_BUILTIN_LIBM(log2)
|
897
|
+
#define simde_math_log2(v) __builtin_log2(v)
|
898
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
899
|
+
#define simde_math_log2(v) std::log2(v)
|
900
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
901
|
+
#define simde_math_log2(v) log2(v)
|
902
|
+
#endif
|
903
|
+
#endif
|
904
|
+
|
905
|
+
#if !defined(simde_math_log2f)
|
906
|
+
#if SIMDE_MATH_BUILTIN_LIBM(log2f)
|
907
|
+
#define simde_math_log2f(v) __builtin_log2f(v)
|
908
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
909
|
+
#define simde_math_log2f(v) std::log2(v)
|
910
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
911
|
+
#define simde_math_log2f(v) log2f(v)
|
912
|
+
#endif
|
913
|
+
#endif
|
914
|
+
|
915
|
+
#if !defined(simde_math_log10)
|
916
|
+
#if SIMDE_MATH_BUILTIN_LIBM(log10)
|
917
|
+
#define simde_math_log10(v) __builtin_log10(v)
|
918
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
919
|
+
#define simde_math_log10(v) std::log10(v)
|
920
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
921
|
+
#define simde_math_log10(v) log10(v)
|
922
|
+
#endif
|
923
|
+
#endif
|
924
|
+
|
925
|
+
#if !defined(simde_math_log10f)
|
926
|
+
#if SIMDE_MATH_BUILTIN_LIBM(log10f)
|
927
|
+
#define simde_math_log10f(v) __builtin_log10f(v)
|
928
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
929
|
+
#define simde_math_log10f(v) std::log10(v)
|
930
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
931
|
+
#define simde_math_log10f(v) log10f(v)
|
932
|
+
#endif
|
933
|
+
#endif
|
934
|
+
|
935
|
+
#if !defined(simde_math_modf)
|
936
|
+
#if SIMDE_MATH_BUILTIN_LIBM(modf)
|
937
|
+
#define simde_math_modf(x, iptr) __builtin_modf(x, iptr)
|
938
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
939
|
+
#define simde_math_modf(x, iptr) std::modf(x, iptr)
|
940
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
941
|
+
#define simde_math_modf(x, iptr) modf(x, iptr)
|
942
|
+
#endif
|
943
|
+
#endif
|
944
|
+
|
945
|
+
#if !defined(simde_math_modff)
|
946
|
+
#if SIMDE_MATH_BUILTIN_LIBM(modff)
|
947
|
+
#define simde_math_modff(x, iptr) __builtin_modff(x, iptr)
|
948
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
949
|
+
#define simde_math_modff(x, iptr) std::modf(x, iptr)
|
950
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
951
|
+
#define simde_math_modff(x, iptr) modff(x, iptr)
|
952
|
+
#endif
|
953
|
+
#endif
|
954
|
+
|
955
|
+
#if !defined(simde_math_nearbyint)
|
956
|
+
#if SIMDE_MATH_BUILTIN_LIBM(nearbyint)
|
957
|
+
#define simde_math_nearbyint(v) __builtin_nearbyint(v)
|
958
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
959
|
+
#define simde_math_nearbyint(v) std::nearbyint(v)
|
960
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
961
|
+
#define simde_math_nearbyint(v) nearbyint(v)
|
962
|
+
#endif
|
963
|
+
#endif
|
964
|
+
|
965
|
+
#if !defined(simde_math_nearbyintf)
|
966
|
+
#if SIMDE_MATH_BUILTIN_LIBM(nearbyintf)
|
967
|
+
#define simde_math_nearbyintf(v) __builtin_nearbyintf(v)
|
968
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
969
|
+
#define simde_math_nearbyintf(v) std::nearbyint(v)
|
970
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
971
|
+
#define simde_math_nearbyintf(v) nearbyintf(v)
|
972
|
+
#endif
|
973
|
+
#endif
|
974
|
+
|
975
|
+
#if !defined(simde_math_pow)
|
976
|
+
#if SIMDE_MATH_BUILTIN_LIBM(pow)
|
977
|
+
#define simde_math_pow(y, x) __builtin_pow(y, x)
|
978
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
979
|
+
#define simde_math_pow(y, x) std::pow(y, x)
|
980
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
981
|
+
#define simde_math_pow(y, x) pow(y, x)
|
982
|
+
#endif
|
983
|
+
#endif
|
984
|
+
|
985
|
+
#if !defined(simde_math_powf)
|
986
|
+
#if SIMDE_MATH_BUILTIN_LIBM(powf)
|
987
|
+
#define simde_math_powf(y, x) __builtin_powf(y, x)
|
988
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
989
|
+
#define simde_math_powf(y, x) std::pow(y, x)
|
990
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
991
|
+
#define simde_math_powf(y, x) powf(y, x)
|
992
|
+
#endif
|
993
|
+
#endif
|
994
|
+
|
995
|
+
#if !defined(simde_math_rint)
|
996
|
+
#if SIMDE_MATH_BUILTIN_LIBM(rint)
|
997
|
+
#define simde_math_rint(v) __builtin_rint(v)
|
998
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
999
|
+
#define simde_math_rint(v) std::rint(v)
|
1000
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1001
|
+
#define simde_math_rint(v) rint(v)
|
1002
|
+
#endif
|
1003
|
+
#endif
|
1004
|
+
|
1005
|
+
#if !defined(simde_math_rintf)
|
1006
|
+
#if SIMDE_MATH_BUILTIN_LIBM(rintf)
|
1007
|
+
#define simde_math_rintf(v) __builtin_rintf(v)
|
1008
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1009
|
+
#define simde_math_rintf(v) std::rint(v)
|
1010
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1011
|
+
#define simde_math_rintf(v) rintf(v)
|
1012
|
+
#endif
|
1013
|
+
#endif
|
1014
|
+
|
1015
|
+
#if !defined(simde_math_round)
|
1016
|
+
#if SIMDE_MATH_BUILTIN_LIBM(round)
|
1017
|
+
#define simde_math_round(v) __builtin_round(v)
|
1018
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1019
|
+
#define simde_math_round(v) std::round(v)
|
1020
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1021
|
+
#define simde_math_round(v) round(v)
|
1022
|
+
#endif
|
1023
|
+
#endif
|
1024
|
+
|
1025
|
+
#if !defined(simde_math_roundf)
|
1026
|
+
#if SIMDE_MATH_BUILTIN_LIBM(roundf)
|
1027
|
+
#define simde_math_roundf(v) __builtin_roundf(v)
|
1028
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1029
|
+
#define simde_math_roundf(v) std::round(v)
|
1030
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1031
|
+
#define simde_math_roundf(v) roundf(v)
|
1032
|
+
#endif
|
1033
|
+
#endif
|
1034
|
+
|
1035
|
+
#if !defined(simde_math_roundeven)
|
1036
|
+
#if \
|
1037
|
+
HEDLEY_HAS_BUILTIN(__builtin_roundeven) || \
|
1038
|
+
HEDLEY_GCC_VERSION_CHECK(10,0,0)
|
1039
|
+
#define simde_math_roundeven(v) __builtin_roundeven(v)
|
1040
|
+
#elif defined(simde_math_round) && defined(simde_math_fabs)
|
1041
|
+
static HEDLEY_INLINE
|
1042
|
+
double
|
1043
|
+
simde_math_roundeven(double v) {
|
1044
|
+
double rounded = simde_math_round(v);
|
1045
|
+
double diff = rounded - v;
|
1046
|
+
if (HEDLEY_UNLIKELY(simde_math_fabs(diff) == 0.5) && (HEDLEY_STATIC_CAST(int64_t, rounded) & 1)) {
|
1047
|
+
rounded = v - diff;
|
1048
|
+
}
|
1049
|
+
return rounded;
|
1050
|
+
}
|
1051
|
+
#define simde_math_roundeven simde_math_roundeven
|
1052
|
+
#endif
|
1053
|
+
#endif
|
1054
|
+
|
1055
|
+
#if !defined(simde_math_roundevenf)
|
1056
|
+
#if \
|
1057
|
+
HEDLEY_HAS_BUILTIN(__builtin_roundevenf) || \
|
1058
|
+
HEDLEY_GCC_VERSION_CHECK(10,0,0)
|
1059
|
+
#define simde_math_roundevenf(v) __builtin_roundevenf(v)
|
1060
|
+
#elif defined(simde_math_roundf) && defined(simde_math_fabsf)
|
1061
|
+
static HEDLEY_INLINE
|
1062
|
+
float
|
1063
|
+
simde_math_roundevenf(float v) {
|
1064
|
+
float rounded = simde_math_roundf(v);
|
1065
|
+
float diff = rounded - v;
|
1066
|
+
if (HEDLEY_UNLIKELY(simde_math_fabsf(diff) == 0.5f) && (HEDLEY_STATIC_CAST(int32_t, rounded) & 1)) {
|
1067
|
+
rounded = v - diff;
|
1068
|
+
}
|
1069
|
+
return rounded;
|
1070
|
+
}
|
1071
|
+
#define simde_math_roundevenf simde_math_roundevenf
|
1072
|
+
#endif
|
1073
|
+
#endif
|
1074
|
+
|
1075
|
+
#if !defined(simde_math_sin)
|
1076
|
+
#if SIMDE_MATH_BUILTIN_LIBM(sin)
|
1077
|
+
#define simde_math_sin(v) __builtin_sin(v)
|
1078
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1079
|
+
#define simde_math_sin(v) std::sin(v)
|
1080
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1081
|
+
#define simde_math_sin(v) sin(v)
|
1082
|
+
#endif
|
1083
|
+
#endif
|
1084
|
+
|
1085
|
+
#if !defined(simde_math_sinf)
|
1086
|
+
#if SIMDE_MATH_BUILTIN_LIBM(sinf)
|
1087
|
+
#define simde_math_sinf(v) __builtin_sinf(v)
|
1088
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1089
|
+
#define simde_math_sinf(v) std::sin(v)
|
1090
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1091
|
+
#define simde_math_sinf(v) sinf(v)
|
1092
|
+
#endif
|
1093
|
+
#endif
|
1094
|
+
|
1095
|
+
#if !defined(simde_math_sinh)
|
1096
|
+
#if SIMDE_MATH_BUILTIN_LIBM(sinh)
|
1097
|
+
#define simde_math_sinh(v) __builtin_sinh(v)
|
1098
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1099
|
+
#define simde_math_sinh(v) std::sinh(v)
|
1100
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1101
|
+
#define simde_math_sinh(v) sinh(v)
|
1102
|
+
#endif
|
1103
|
+
#endif
|
1104
|
+
|
1105
|
+
#if !defined(simde_math_sinhf)
|
1106
|
+
#if SIMDE_MATH_BUILTIN_LIBM(sinhf)
|
1107
|
+
#define simde_math_sinhf(v) __builtin_sinhf(v)
|
1108
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1109
|
+
#define simde_math_sinhf(v) std::sinh(v)
|
1110
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1111
|
+
#define simde_math_sinhf(v) sinhf(v)
|
1112
|
+
#endif
|
1113
|
+
#endif
|
1114
|
+
|
1115
|
+
#if !defined(simde_math_sqrt)
|
1116
|
+
#if SIMDE_MATH_BUILTIN_LIBM(sqrt)
|
1117
|
+
#define simde_math_sqrt(v) __builtin_sqrt(v)
|
1118
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1119
|
+
#define simde_math_sqrt(v) std::sqrt(v)
|
1120
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1121
|
+
#define simde_math_sqrt(v) sqrt(v)
|
1122
|
+
#endif
|
1123
|
+
#endif
|
1124
|
+
|
1125
|
+
#if !defined(simde_math_sqrtf)
|
1126
|
+
#if SIMDE_MATH_BUILTIN_LIBM(sqrtf)
|
1127
|
+
#define simde_math_sqrtf(v) __builtin_sqrtf(v)
|
1128
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1129
|
+
#define simde_math_sqrtf(v) std::sqrt(v)
|
1130
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1131
|
+
#define simde_math_sqrtf(v) sqrtf(v)
|
1132
|
+
#endif
|
1133
|
+
#endif
|
1134
|
+
|
1135
|
+
#if !defined(simde_math_tan)
|
1136
|
+
#if SIMDE_MATH_BUILTIN_LIBM(tan)
|
1137
|
+
#define simde_math_tan(v) __builtin_tan(v)
|
1138
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1139
|
+
#define simde_math_tan(v) std::tan(v)
|
1140
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1141
|
+
#define simde_math_tan(v) tan(v)
|
1142
|
+
#endif
|
1143
|
+
#endif
|
1144
|
+
|
1145
|
+
#if !defined(simde_math_tanf)
|
1146
|
+
#if SIMDE_MATH_BUILTIN_LIBM(tanf)
|
1147
|
+
#define simde_math_tanf(v) __builtin_tanf(v)
|
1148
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1149
|
+
#define simde_math_tanf(v) std::tan(v)
|
1150
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1151
|
+
#define simde_math_tanf(v) tanf(v)
|
1152
|
+
#endif
|
1153
|
+
#endif
|
1154
|
+
|
1155
|
+
#if !defined(simde_math_tanh)
|
1156
|
+
#if SIMDE_MATH_BUILTIN_LIBM(tanh)
|
1157
|
+
#define simde_math_tanh(v) __builtin_tanh(v)
|
1158
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1159
|
+
#define simde_math_tanh(v) std::tanh(v)
|
1160
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1161
|
+
#define simde_math_tanh(v) tanh(v)
|
1162
|
+
#endif
|
1163
|
+
#endif
|
1164
|
+
|
1165
|
+
#if !defined(simde_math_tanhf)
|
1166
|
+
#if SIMDE_MATH_BUILTIN_LIBM(tanhf)
|
1167
|
+
#define simde_math_tanhf(v) __builtin_tanhf(v)
|
1168
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1169
|
+
#define simde_math_tanhf(v) std::tanh(v)
|
1170
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1171
|
+
#define simde_math_tanhf(v) tanhf(v)
|
1172
|
+
#endif
|
1173
|
+
#endif
|
1174
|
+
|
1175
|
+
#if !defined(simde_math_trunc)
|
1176
|
+
#if SIMDE_MATH_BUILTIN_LIBM(trunc)
|
1177
|
+
#define simde_math_trunc(v) __builtin_trunc(v)
|
1178
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1179
|
+
#define simde_math_trunc(v) std::trunc(v)
|
1180
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1181
|
+
#define simde_math_trunc(v) trunc(v)
|
1182
|
+
#endif
|
1183
|
+
#endif
|
1184
|
+
|
1185
|
+
#if !defined(simde_math_truncf)
|
1186
|
+
#if SIMDE_MATH_BUILTIN_LIBM(truncf)
|
1187
|
+
#define simde_math_truncf(v) __builtin_truncf(v)
|
1188
|
+
#elif defined(SIMDE_MATH_HAVE_CMATH)
|
1189
|
+
#define simde_math_truncf(v) std::trunc(v)
|
1190
|
+
#elif defined(SIMDE_MATH_HAVE_MATH_H)
|
1191
|
+
#define simde_math_truncf(v) truncf(v)
|
1192
|
+
#endif
|
1193
|
+
#endif
|
1194
|
+
|
1195
|
+
/*** Additional functions not in libm ***/
|
1196
|
+
|
1197
|
+
#if defined(simde_math_fabs) && defined(simde_math_sqrt) && defined(simde_math_exp)
|
1198
|
+
static HEDLEY_INLINE
|
1199
|
+
double
|
1200
|
+
simde_math_cdfnorm(double x) {
|
1201
|
+
/* https://www.johndcook.com/blog/cpp_phi/
|
1202
|
+
* Public Domain */
|
1203
|
+
static const double a1 = 0.254829592;
|
1204
|
+
static const double a2 = -0.284496736;
|
1205
|
+
static const double a3 = 1.421413741;
|
1206
|
+
static const double a4 = -1.453152027;
|
1207
|
+
static const double a5 = 1.061405429;
|
1208
|
+
static const double p = 0.3275911;
|
1209
|
+
|
1210
|
+
const int sign = x < 0;
|
1211
|
+
x = simde_math_fabs(x) / simde_math_sqrt(2.0);
|
1212
|
+
|
1213
|
+
/* A&S formula 7.1.26 */
|
1214
|
+
double t = 1.0 / (1.0 + p * x);
|
1215
|
+
double y = 1.0 - (((((a5 * t + a4) * t) + a3) * t + a2) * t + a1) * t * simde_math_exp(-x * x);
|
1216
|
+
|
1217
|
+
return 0.5 * (1.0 + (sign ? -y : y));
|
1218
|
+
}
|
1219
|
+
#define simde_math_cdfnorm simde_math_cdfnorm
|
1220
|
+
#endif
|
1221
|
+
|
1222
|
+
#if defined(simde_math_fabsf) && defined(simde_math_sqrtf) && defined(simde_math_expf)
|
1223
|
+
static HEDLEY_INLINE
|
1224
|
+
float
|
1225
|
+
simde_math_cdfnormf(float x) {
|
1226
|
+
/* https://www.johndcook.com/blog/cpp_phi/
|
1227
|
+
* Public Domain */
|
1228
|
+
static const float a1 = 0.254829592f;
|
1229
|
+
static const float a2 = -0.284496736f;
|
1230
|
+
static const float a3 = 1.421413741f;
|
1231
|
+
static const float a4 = -1.453152027f;
|
1232
|
+
static const float a5 = 1.061405429f;
|
1233
|
+
static const float p = 0.3275911f;
|
1234
|
+
|
1235
|
+
const int sign = x < 0;
|
1236
|
+
x = simde_math_fabsf(x) / simde_math_sqrtf(2.0f);
|
1237
|
+
|
1238
|
+
/* A&S formula 7.1.26 */
|
1239
|
+
float t = 1.0f / (1.0f + p * x);
|
1240
|
+
float y = 1.0f - (((((a5 * t + a4) * t) + a3) * t + a2) * t + a1) * t * simde_math_expf(-x * x);
|
1241
|
+
|
1242
|
+
return 0.5f * (1.0f + (sign ? -y : y));
|
1243
|
+
}
|
1244
|
+
#define simde_math_cdfnormf simde_math_cdfnormf
|
1245
|
+
#endif
|
1246
|
+
|
1247
|
+
HEDLEY_DIAGNOSTIC_PUSH
|
1248
|
+
SIMDE_DIAGNOSTIC_DISABLE_FLOAT_EQUAL_
|
1249
|
+
|
1250
|
+
#if !defined(simde_math_cdfnorminv) && defined(simde_math_log) && defined(simde_math_sqrt)
|
1251
|
+
/*https://web.archive.org/web/20150910081113/http://home.online.no/~pjacklam/notes/invnorm/impl/sprouse/ltqnorm.c*/
|
1252
|
+
static HEDLEY_INLINE
|
1253
|
+
double
|
1254
|
+
simde_math_cdfnorminv(double p) {
|
1255
|
+
static const double a[] = {
|
1256
|
+
-3.969683028665376e+01,
|
1257
|
+
2.209460984245205e+02,
|
1258
|
+
-2.759285104469687e+02,
|
1259
|
+
1.383577518672690e+02,
|
1260
|
+
-3.066479806614716e+01,
|
1261
|
+
2.506628277459239e+00
|
1262
|
+
};
|
1263
|
+
|
1264
|
+
static const double b[] = {
|
1265
|
+
-5.447609879822406e+01,
|
1266
|
+
1.615858368580409e+02,
|
1267
|
+
-1.556989798598866e+02,
|
1268
|
+
6.680131188771972e+01,
|
1269
|
+
-1.328068155288572e+01
|
1270
|
+
};
|
1271
|
+
|
1272
|
+
static const double c[] = {
|
1273
|
+
-7.784894002430293e-03,
|
1274
|
+
-3.223964580411365e-01,
|
1275
|
+
-2.400758277161838e+00,
|
1276
|
+
-2.549732539343734e+00,
|
1277
|
+
4.374664141464968e+00,
|
1278
|
+
2.938163982698783e+00
|
1279
|
+
};
|
1280
|
+
|
1281
|
+
static const double d[] = {
|
1282
|
+
7.784695709041462e-03,
|
1283
|
+
3.224671290700398e-01,
|
1284
|
+
2.445134137142996e+00,
|
1285
|
+
3.754408661907416e+00
|
1286
|
+
};
|
1287
|
+
|
1288
|
+
static const double low = 0.02425;
|
1289
|
+
static const double high = 0.97575;
|
1290
|
+
double q, r;
|
1291
|
+
|
1292
|
+
if (p < 0 || p > 1) {
|
1293
|
+
return 0.0;
|
1294
|
+
} else if (p == 0) {
|
1295
|
+
return -SIMDE_MATH_INFINITY;
|
1296
|
+
} else if (p == 1) {
|
1297
|
+
return SIMDE_MATH_INFINITY;
|
1298
|
+
} else if (p < low) {
|
1299
|
+
q = simde_math_sqrt(-2.0 * simde_math_log(p));
|
1300
|
+
return
|
1301
|
+
(((((c[0] * q + c[1]) * q + c[2]) * q + c[3]) * q + c[4]) * q + c[5]) /
|
1302
|
+
(((((d[0] * q + d[1]) * q + d[2]) * q + d[3]) * q + 1));
|
1303
|
+
} else if (p > high) {
|
1304
|
+
q = simde_math_sqrt(-2.0 * simde_math_log(1.0 - p));
|
1305
|
+
return
|
1306
|
+
-(((((c[0] * q + c[1]) * q + c[2]) * q + c[3]) * q + c[4]) * q + c[5]) /
|
1307
|
+
(((((d[0] * q + d[1]) * q + d[2]) * q + d[3]) * q + 1));
|
1308
|
+
} else {
|
1309
|
+
q = p - 0.5;
|
1310
|
+
r = q * q;
|
1311
|
+
return (((((a[0] * r + a[1]) * r + a[2]) * r + a[3]) * r + a[4]) * r + a[5]) *
|
1312
|
+
q / (((((b[0] * r + b[1]) * r + b[2]) * r + b[3]) * r + b[4]) * r + 1);
|
1313
|
+
}
|
1314
|
+
}
|
1315
|
+
#define simde_math_cdfnorminv simde_math_cdfnorminv
|
1316
|
+
#endif
|
1317
|
+
|
1318
|
+
#if !defined(simde_math_cdfnorminvf) && defined(simde_math_logf) && defined(simde_math_sqrtf)
|
1319
|
+
static HEDLEY_INLINE
|
1320
|
+
float
|
1321
|
+
simde_math_cdfnorminvf(float p) {
|
1322
|
+
static const float a[] = {
|
1323
|
+
-3.969683028665376e+01f,
|
1324
|
+
2.209460984245205e+02f,
|
1325
|
+
-2.759285104469687e+02f,
|
1326
|
+
1.383577518672690e+02f,
|
1327
|
+
-3.066479806614716e+01f,
|
1328
|
+
2.506628277459239e+00f
|
1329
|
+
};
|
1330
|
+
static const float b[] = {
|
1331
|
+
-5.447609879822406e+01f,
|
1332
|
+
1.615858368580409e+02f,
|
1333
|
+
-1.556989798598866e+02f,
|
1334
|
+
6.680131188771972e+01f,
|
1335
|
+
-1.328068155288572e+01f
|
1336
|
+
};
|
1337
|
+
static const float c[] = {
|
1338
|
+
-7.784894002430293e-03f,
|
1339
|
+
-3.223964580411365e-01f,
|
1340
|
+
-2.400758277161838e+00f,
|
1341
|
+
-2.549732539343734e+00f,
|
1342
|
+
4.374664141464968e+00f,
|
1343
|
+
2.938163982698783e+00f
|
1344
|
+
};
|
1345
|
+
static const float d[] = {
|
1346
|
+
7.784695709041462e-03f,
|
1347
|
+
3.224671290700398e-01f,
|
1348
|
+
2.445134137142996e+00f,
|
1349
|
+
3.754408661907416e+00f
|
1350
|
+
};
|
1351
|
+
static const float low = 0.02425f;
|
1352
|
+
static const float high = 0.97575f;
|
1353
|
+
float q, r;
|
1354
|
+
|
1355
|
+
if (p < 0 || p > 1) {
|
1356
|
+
return 0.0f;
|
1357
|
+
} else if (p == 0) {
|
1358
|
+
return -SIMDE_MATH_INFINITYF;
|
1359
|
+
} else if (p == 1) {
|
1360
|
+
return SIMDE_MATH_INFINITYF;
|
1361
|
+
} else if (p < low) {
|
1362
|
+
q = simde_math_sqrtf(-2.0f * simde_math_logf(p));
|
1363
|
+
return
|
1364
|
+
(((((c[0] * q + c[1]) * q + c[2]) * q + c[3]) * q + c[4]) * q + c[5]) /
|
1365
|
+
(((((d[0] * q + d[1]) * q + d[2]) * q + d[3]) * q + 1));
|
1366
|
+
} else if (p > high) {
|
1367
|
+
q = simde_math_sqrtf(-2.0f * simde_math_logf(1.0f - p));
|
1368
|
+
return
|
1369
|
+
-(((((c[0] * q + c[1]) * q + c[2]) * q + c[3]) * q + c[4]) * q + c[5]) /
|
1370
|
+
(((((d[0] * q + d[1]) * q + d[2]) * q + d[3]) * q + 1));
|
1371
|
+
} else {
|
1372
|
+
q = p - 0.5f;
|
1373
|
+
r = q * q;
|
1374
|
+
return (((((a[0] * r + a[1]) * r + a[2]) * r + a[3]) * r + a[4]) * r + a[5]) *
|
1375
|
+
q / (((((b[0] * r + b[1]) * r + b[2]) * r + b[3]) * r + b[4]) * r + 1);
|
1376
|
+
}
|
1377
|
+
}
|
1378
|
+
#define simde_math_cdfnorminvf simde_math_cdfnorminvf
|
1379
|
+
#endif
|
1380
|
+
|
1381
|
+
#if !defined(simde_math_erfinv) && defined(simde_math_log) && defined(simde_math_copysign) && defined(simde_math_sqrt)
|
1382
|
+
static HEDLEY_INLINE
|
1383
|
+
double
|
1384
|
+
simde_math_erfinv(double x) {
|
1385
|
+
/* https://stackoverflow.com/questions/27229371/inverse-error-function-in-c
|
1386
|
+
*
|
1387
|
+
* The original answer on SO uses a constant of 0.147, but in my
|
1388
|
+
* testing 0.14829094707965850830078125 gives a lower average absolute error
|
1389
|
+
* (0.0001410958211636170744895935 vs. 0.0001465479290345683693885803).
|
1390
|
+
* That said, if your goal is to minimize the *maximum* absolute
|
1391
|
+
* error, 0.15449436008930206298828125 provides significantly better
|
1392
|
+
* results; 0.0009250640869140625000000000 vs ~ 0.005. */
|
1393
|
+
double tt1, tt2, lnx;
|
1394
|
+
double sgn = simde_math_copysign(1.0, x);
|
1395
|
+
|
1396
|
+
x = (1.0 - x) * (1.0 + x);
|
1397
|
+
lnx = simde_math_log(x);
|
1398
|
+
|
1399
|
+
tt1 = 2.0 / (SIMDE_MATH_PI * 0.14829094707965850830078125) + 0.5 * lnx;
|
1400
|
+
tt2 = (1.0 / 0.14829094707965850830078125) * lnx;
|
1401
|
+
|
1402
|
+
return sgn * simde_math_sqrt(-tt1 + simde_math_sqrt(tt1 * tt1 - tt2));
|
1403
|
+
}
|
1404
|
+
#define simde_math_erfinv simde_math_erfinv
|
1405
|
+
#endif
|
1406
|
+
|
1407
|
+
#if !defined(simde_math_erfinvf) && defined(simde_math_logf) && defined(simde_math_copysignf) && defined(simde_math_sqrtf)
|
1408
|
+
static HEDLEY_INLINE
|
1409
|
+
float
|
1410
|
+
simde_math_erfinvf(float x) {
|
1411
|
+
float tt1, tt2, lnx;
|
1412
|
+
float sgn = simde_math_copysignf(1.0f, x);
|
1413
|
+
|
1414
|
+
x = (1.0f - x) * (1.0f + x);
|
1415
|
+
lnx = simde_math_logf(x);
|
1416
|
+
|
1417
|
+
tt1 = 2.0f / (SIMDE_MATH_PIF * 0.14829094707965850830078125f) + 0.5f * lnx;
|
1418
|
+
tt2 = (1.0f / 0.14829094707965850830078125f) * lnx;
|
1419
|
+
|
1420
|
+
return sgn * simde_math_sqrtf(-tt1 + simde_math_sqrtf(tt1 * tt1 - tt2));
|
1421
|
+
}
|
1422
|
+
#define simde_math_erfinvf simde_math_erfinvf
|
1423
|
+
#endif
|
1424
|
+
|
1425
|
+
#if !defined(simde_math_erfcinv) && defined(simde_math_erfinv) && defined(simde_math_log) && defined(simde_math_sqrt)
|
1426
|
+
static HEDLEY_INLINE
|
1427
|
+
double
|
1428
|
+
simde_math_erfcinv(double x) {
|
1429
|
+
if(x >= 0.0625 && x < 2.0) {
|
1430
|
+
return simde_math_erfinv(1.0 - x);
|
1431
|
+
} else if (x < 0.0625 && x >= 1.0e-100) {
|
1432
|
+
double p[6] = {
|
1433
|
+
0.1550470003116,
|
1434
|
+
1.382719649631,
|
1435
|
+
0.690969348887,
|
1436
|
+
-1.128081391617,
|
1437
|
+
0.680544246825,
|
1438
|
+
-0.16444156791
|
1439
|
+
};
|
1440
|
+
double q[3] = {
|
1441
|
+
0.155024849822,
|
1442
|
+
1.385228141995,
|
1443
|
+
1.000000000000
|
1444
|
+
};
|
1445
|
+
|
1446
|
+
const double t = 1.0 / simde_math_sqrt(-simde_math_log(x));
|
1447
|
+
return (p[0] / t + p[1] + t * (p[2] + t * (p[3] + t * (p[4] + t * p[5])))) /
|
1448
|
+
(q[0] + t * (q[1] + t * (q[2])));
|
1449
|
+
} else if (x < 1.0e-100 && x >= SIMDE_MATH_DBL_MIN) {
|
1450
|
+
double p[4] = {
|
1451
|
+
0.00980456202915,
|
1452
|
+
0.363667889171,
|
1453
|
+
0.97302949837,
|
1454
|
+
-0.5374947401
|
1455
|
+
};
|
1456
|
+
double q[3] = {
|
1457
|
+
0.00980451277802,
|
1458
|
+
0.363699971544,
|
1459
|
+
1.000000000000
|
1460
|
+
};
|
1461
|
+
|
1462
|
+
const double t = 1.0 / simde_math_sqrt(-simde_math_log(x));
|
1463
|
+
return (p[0] / t + p[1] + t * (p[2] + t * p[3])) /
|
1464
|
+
(q[0] + t * (q[1] + t * (q[2])));
|
1465
|
+
} else if (!simde_math_isnormal(x)) {
|
1466
|
+
return SIMDE_MATH_INFINITY;
|
1467
|
+
} else {
|
1468
|
+
return -SIMDE_MATH_INFINITY;
|
1469
|
+
}
|
1470
|
+
}
|
1471
|
+
|
1472
|
+
#define simde_math_erfcinv simde_math_erfcinv
|
1473
|
+
#endif
|
1474
|
+
|
1475
|
+
#if !defined(simde_math_erfcinvf) && defined(simde_math_erfinvf) && defined(simde_math_logf) && defined(simde_math_sqrtf)
|
1476
|
+
static HEDLEY_INLINE
|
1477
|
+
float
|
1478
|
+
simde_math_erfcinvf(float x) {
|
1479
|
+
if(x >= 0.0625f && x < 2.0f) {
|
1480
|
+
return simde_math_erfinvf(1.0f - x);
|
1481
|
+
} else if (x < 0.0625f && x >= SIMDE_MATH_FLT_MIN) {
|
1482
|
+
static const float p[6] = {
|
1483
|
+
0.1550470003116f,
|
1484
|
+
1.382719649631f,
|
1485
|
+
0.690969348887f,
|
1486
|
+
-1.128081391617f,
|
1487
|
+
0.680544246825f
|
1488
|
+
-0.164441567910f
|
1489
|
+
};
|
1490
|
+
static const float q[3] = {
|
1491
|
+
0.155024849822f,
|
1492
|
+
1.385228141995f,
|
1493
|
+
1.000000000000f
|
1494
|
+
};
|
1495
|
+
|
1496
|
+
const float t = 1.0f / simde_math_sqrtf(-simde_math_logf(x));
|
1497
|
+
return (p[0] / t + p[1] + t * (p[2] + t * (p[3] + t * (p[4] + t * p[5])))) /
|
1498
|
+
(q[0] + t * (q[1] + t * (q[2])));
|
1499
|
+
} else if (x < SIMDE_MATH_FLT_MIN && simde_math_isnormalf(x)) {
|
1500
|
+
static const float p[4] = {
|
1501
|
+
0.00980456202915f,
|
1502
|
+
0.36366788917100f,
|
1503
|
+
0.97302949837000f,
|
1504
|
+
-0.5374947401000f
|
1505
|
+
};
|
1506
|
+
static const float q[3] = {
|
1507
|
+
0.00980451277802f,
|
1508
|
+
0.36369997154400f,
|
1509
|
+
1.00000000000000f
|
1510
|
+
};
|
1511
|
+
|
1512
|
+
const float t = 1.0f / simde_math_sqrtf(-simde_math_logf(x));
|
1513
|
+
return (p[0] / t + p[1] + t * (p[2] + t * p[3])) /
|
1514
|
+
(q[0] + t * (q[1] + t * (q[2])));
|
1515
|
+
} else {
|
1516
|
+
return simde_math_isnormalf(x) ? -SIMDE_MATH_INFINITYF : SIMDE_MATH_INFINITYF;
|
1517
|
+
}
|
1518
|
+
}
|
1519
|
+
|
1520
|
+
#define simde_math_erfcinvf simde_math_erfcinvf
|
1521
|
+
#endif
|
1522
|
+
|
1523
|
+
HEDLEY_DIAGNOSTIC_POP
|
1524
|
+
|
1525
|
+
static HEDLEY_INLINE
|
1526
|
+
double
|
1527
|
+
simde_math_rad2deg(double radians) {
|
1528
|
+
return radians * SIMDE_MATH_180_OVER_PI;
|
1529
|
+
}
|
1530
|
+
|
1531
|
+
static HEDLEY_INLINE
|
1532
|
+
float
|
1533
|
+
simde_math_rad2degf(float radians) {
|
1534
|
+
return radians * SIMDE_MATH_180_OVER_PIF;
|
1535
|
+
}
|
1536
|
+
|
1537
|
+
static HEDLEY_INLINE
|
1538
|
+
double
|
1539
|
+
simde_math_deg2rad(double degrees) {
|
1540
|
+
return degrees * SIMDE_MATH_PI_OVER_180;
|
1541
|
+
}
|
1542
|
+
|
1543
|
+
static HEDLEY_INLINE
|
1544
|
+
float
|
1545
|
+
simde_math_deg2radf(float degrees) {
|
1546
|
+
return degrees * (SIMDE_MATH_PI_OVER_180F);
|
1547
|
+
}
|
1548
|
+
|
1549
|
+
/*** Saturated arithmetic ***/
|
1550
|
+
|
1551
|
+
static HEDLEY_INLINE
|
1552
|
+
int8_t
|
1553
|
+
simde_math_adds_i8(int8_t a, int8_t b) {
|
1554
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1555
|
+
return vqaddb_s8(a, b);
|
1556
|
+
#else
|
1557
|
+
uint8_t a_ = HEDLEY_STATIC_CAST(uint8_t, a);
|
1558
|
+
uint8_t b_ = HEDLEY_STATIC_CAST(uint8_t, b);
|
1559
|
+
uint8_t r_ = a_ + b_;
|
1560
|
+
|
1561
|
+
a_ = (a_ >> ((8 * sizeof(r_)) - 1)) + INT8_MAX;
|
1562
|
+
if (HEDLEY_STATIC_CAST(int8_t, ((a_ ^ b_) | ~(b_ ^ r_))) >= 0) {
|
1563
|
+
r_ = a_;
|
1564
|
+
}
|
1565
|
+
|
1566
|
+
return HEDLEY_STATIC_CAST(int8_t, r_);
|
1567
|
+
#endif
|
1568
|
+
}
|
1569
|
+
|
1570
|
+
static HEDLEY_INLINE
|
1571
|
+
int16_t
|
1572
|
+
simde_math_adds_i16(int16_t a, int16_t b) {
|
1573
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1574
|
+
return vqaddh_s16(a, b);
|
1575
|
+
#else
|
1576
|
+
uint16_t a_ = HEDLEY_STATIC_CAST(uint16_t, a);
|
1577
|
+
uint16_t b_ = HEDLEY_STATIC_CAST(uint16_t, b);
|
1578
|
+
uint16_t r_ = a_ + b_;
|
1579
|
+
|
1580
|
+
a_ = (a_ >> ((8 * sizeof(r_)) - 1)) + INT16_MAX;
|
1581
|
+
if (HEDLEY_STATIC_CAST(int16_t, ((a_ ^ b_) | ~(b_ ^ r_))) >= 0) {
|
1582
|
+
r_ = a_;
|
1583
|
+
}
|
1584
|
+
|
1585
|
+
return HEDLEY_STATIC_CAST(int16_t, r_);
|
1586
|
+
#endif
|
1587
|
+
}
|
1588
|
+
|
1589
|
+
static HEDLEY_INLINE
|
1590
|
+
int32_t
|
1591
|
+
simde_math_adds_i32(int32_t a, int32_t b) {
|
1592
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1593
|
+
return vqadds_s32(a, b);
|
1594
|
+
#else
|
1595
|
+
uint32_t a_ = HEDLEY_STATIC_CAST(uint32_t, a);
|
1596
|
+
uint32_t b_ = HEDLEY_STATIC_CAST(uint32_t, b);
|
1597
|
+
uint32_t r_ = a_ + b_;
|
1598
|
+
|
1599
|
+
a_ = (a_ >> ((8 * sizeof(r_)) - 1)) + INT32_MAX;
|
1600
|
+
if (HEDLEY_STATIC_CAST(int32_t, ((a_ ^ b_) | ~(b_ ^ r_))) >= 0) {
|
1601
|
+
r_ = a_;
|
1602
|
+
}
|
1603
|
+
|
1604
|
+
return HEDLEY_STATIC_CAST(int32_t, r_);
|
1605
|
+
#endif
|
1606
|
+
}
|
1607
|
+
|
1608
|
+
static HEDLEY_INLINE
|
1609
|
+
int64_t
|
1610
|
+
simde_math_adds_i64(int64_t a, int64_t b) {
|
1611
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1612
|
+
return vqaddd_s64(a, b);
|
1613
|
+
#else
|
1614
|
+
uint64_t a_ = HEDLEY_STATIC_CAST(uint64_t, a);
|
1615
|
+
uint64_t b_ = HEDLEY_STATIC_CAST(uint64_t, b);
|
1616
|
+
uint64_t r_ = a_ + b_;
|
1617
|
+
|
1618
|
+
a_ = (a_ >> ((8 * sizeof(r_)) - 1)) + INT64_MAX;
|
1619
|
+
if (HEDLEY_STATIC_CAST(int64_t, ((a_ ^ b_) | ~(b_ ^ r_))) >= 0) {
|
1620
|
+
r_ = a_;
|
1621
|
+
}
|
1622
|
+
|
1623
|
+
return HEDLEY_STATIC_CAST(int64_t, r_);
|
1624
|
+
#endif
|
1625
|
+
}
|
1626
|
+
|
1627
|
+
static HEDLEY_INLINE
|
1628
|
+
uint8_t
|
1629
|
+
simde_math_adds_u8(uint8_t a, uint8_t b) {
|
1630
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1631
|
+
return vqaddb_u8(a, b);
|
1632
|
+
#else
|
1633
|
+
uint8_t r = a + b;
|
1634
|
+
r |= -(r < a);
|
1635
|
+
return r;
|
1636
|
+
#endif
|
1637
|
+
}
|
1638
|
+
|
1639
|
+
static HEDLEY_INLINE
|
1640
|
+
uint16_t
|
1641
|
+
simde_math_adds_u16(uint16_t a, uint16_t b) {
|
1642
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1643
|
+
return vqaddh_u16(a, b);
|
1644
|
+
#else
|
1645
|
+
uint16_t r = a + b;
|
1646
|
+
r |= -(r < a);
|
1647
|
+
return r;
|
1648
|
+
#endif
|
1649
|
+
}
|
1650
|
+
|
1651
|
+
static HEDLEY_INLINE
|
1652
|
+
uint32_t
|
1653
|
+
simde_math_adds_u32(uint32_t a, uint32_t b) {
|
1654
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1655
|
+
return vqadds_u32(a, b);
|
1656
|
+
#else
|
1657
|
+
uint32_t r = a + b;
|
1658
|
+
r |= -(r < a);
|
1659
|
+
return r;
|
1660
|
+
#endif
|
1661
|
+
}
|
1662
|
+
|
1663
|
+
static HEDLEY_INLINE
|
1664
|
+
uint64_t
|
1665
|
+
simde_math_adds_u64(uint64_t a, uint64_t b) {
|
1666
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1667
|
+
return vqaddd_u64(a, b);
|
1668
|
+
#else
|
1669
|
+
uint64_t r = a + b;
|
1670
|
+
r |= -(r < a);
|
1671
|
+
return r;
|
1672
|
+
#endif
|
1673
|
+
}
|
1674
|
+
|
1675
|
+
static HEDLEY_INLINE
|
1676
|
+
int8_t
|
1677
|
+
simde_math_subs_i8(int8_t a, int8_t b) {
|
1678
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1679
|
+
return vqsubb_s8(a, b);
|
1680
|
+
#else
|
1681
|
+
uint8_t a_ = HEDLEY_STATIC_CAST(uint8_t, a);
|
1682
|
+
uint8_t b_ = HEDLEY_STATIC_CAST(uint8_t, b);
|
1683
|
+
uint8_t r_ = a_ - b_;
|
1684
|
+
|
1685
|
+
a_ = (a_ >> 7) + INT8_MAX;
|
1686
|
+
|
1687
|
+
if (HEDLEY_STATIC_CAST(int8_t, (a_ ^ b_) & (a_ ^ r_)) < 0) {
|
1688
|
+
r_ = a_;
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
return HEDLEY_STATIC_CAST(int8_t, r_);
|
1692
|
+
#endif
|
1693
|
+
}
|
1694
|
+
|
1695
|
+
static HEDLEY_INLINE
|
1696
|
+
int16_t
|
1697
|
+
simde_math_subs_i16(int16_t a, int16_t b) {
|
1698
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1699
|
+
return vqsubh_s16(a, b);
|
1700
|
+
#else
|
1701
|
+
uint16_t a_ = HEDLEY_STATIC_CAST(uint16_t, a);
|
1702
|
+
uint16_t b_ = HEDLEY_STATIC_CAST(uint16_t, b);
|
1703
|
+
uint16_t r_ = a_ - b_;
|
1704
|
+
|
1705
|
+
a_ = (a_ >> 15) + INT16_MAX;
|
1706
|
+
|
1707
|
+
if (HEDLEY_STATIC_CAST(int16_t, (a_ ^ b_) & (a_ ^ r_)) < 0) {
|
1708
|
+
r_ = a_;
|
1709
|
+
}
|
1710
|
+
|
1711
|
+
return HEDLEY_STATIC_CAST(int16_t, r_);
|
1712
|
+
#endif
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
static HEDLEY_INLINE
|
1716
|
+
int32_t
|
1717
|
+
simde_math_subs_i32(int32_t a, int32_t b) {
|
1718
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1719
|
+
return vqsubs_s32(a, b);
|
1720
|
+
#else
|
1721
|
+
uint32_t a_ = HEDLEY_STATIC_CAST(uint32_t, a);
|
1722
|
+
uint32_t b_ = HEDLEY_STATIC_CAST(uint32_t, b);
|
1723
|
+
uint32_t r_ = a_ - b_;
|
1724
|
+
|
1725
|
+
a_ = (a_ >> 31) + INT32_MAX;
|
1726
|
+
|
1727
|
+
if (HEDLEY_STATIC_CAST(int32_t, (a_ ^ b_) & (a_ ^ r_)) < 0) {
|
1728
|
+
r_ = a_;
|
1729
|
+
}
|
1730
|
+
|
1731
|
+
return HEDLEY_STATIC_CAST(int32_t, r_);
|
1732
|
+
#endif
|
1733
|
+
}
|
1734
|
+
|
1735
|
+
static HEDLEY_INLINE
|
1736
|
+
int64_t
|
1737
|
+
simde_math_subs_i64(int64_t a, int64_t b) {
|
1738
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1739
|
+
return vqsubd_s64(a, b);
|
1740
|
+
#else
|
1741
|
+
uint64_t a_ = HEDLEY_STATIC_CAST(uint64_t, a);
|
1742
|
+
uint64_t b_ = HEDLEY_STATIC_CAST(uint64_t, b);
|
1743
|
+
uint64_t r_ = a_ - b_;
|
1744
|
+
|
1745
|
+
a_ = (a_ >> 63) + INT64_MAX;
|
1746
|
+
|
1747
|
+
if (HEDLEY_STATIC_CAST(int64_t, (a_ ^ b_) & (a_ ^ r_)) < 0) {
|
1748
|
+
r_ = a_;
|
1749
|
+
}
|
1750
|
+
|
1751
|
+
return HEDLEY_STATIC_CAST(int64_t, r_);
|
1752
|
+
#endif
|
1753
|
+
}
|
1754
|
+
|
1755
|
+
static HEDLEY_INLINE
|
1756
|
+
uint8_t
|
1757
|
+
simde_math_subs_u8(uint8_t a, uint8_t b) {
|
1758
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1759
|
+
return vqsubb_u8(a, b);
|
1760
|
+
#else
|
1761
|
+
uint8_t res = a - b;
|
1762
|
+
res &= -(res <= a);
|
1763
|
+
return res;
|
1764
|
+
#endif
|
1765
|
+
}
|
1766
|
+
|
1767
|
+
static HEDLEY_INLINE
|
1768
|
+
uint16_t
|
1769
|
+
simde_math_subs_u16(uint16_t a, uint16_t b) {
|
1770
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1771
|
+
return vqsubh_u16(a, b);
|
1772
|
+
#else
|
1773
|
+
uint16_t res = a - b;
|
1774
|
+
res &= -(res <= a);
|
1775
|
+
return res;
|
1776
|
+
#endif
|
1777
|
+
}
|
1778
|
+
|
1779
|
+
static HEDLEY_INLINE
|
1780
|
+
uint32_t
|
1781
|
+
simde_math_subs_u32(uint32_t a, uint32_t b) {
|
1782
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1783
|
+
return vqsubs_u32(a, b);
|
1784
|
+
#else
|
1785
|
+
uint32_t res = a - b;
|
1786
|
+
res &= -(res <= a);
|
1787
|
+
return res;
|
1788
|
+
#endif
|
1789
|
+
}
|
1790
|
+
|
1791
|
+
static HEDLEY_INLINE
|
1792
|
+
uint64_t
|
1793
|
+
simde_math_subs_u64(uint64_t a, uint64_t b) {
|
1794
|
+
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
|
1795
|
+
return vqsubd_u64(a, b);
|
1796
|
+
#else
|
1797
|
+
uint64_t res = a - b;
|
1798
|
+
res &= -(res <= a);
|
1799
|
+
return res;
|
1800
|
+
#endif
|
1801
|
+
}
|
1802
|
+
|
1803
|
+
HEDLEY_DIAGNOSTIC_POP
|
1804
|
+
|
1805
|
+
#endif /* !defined(SIMDE_MATH_H) */
|