casadi 3.6.7__cp313-none-manylinux2014_i686.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 +50976 -0
- casadi/cbc +0 -0
- casadi/clp +0 -0
- casadi/cmake/alpaqa/alpaqaConfig.cmake +24 -0
- casadi/cmake/alpaqa/alpaqaConfigVersion.cmake +70 -0
- casadi/cmake/alpaqa/alpaqaTargets-release.cmake +29 -0
- casadi/cmake/alpaqa/alpaqaTargets.cmake +131 -0
- casadi/cmake/casadi-config-version.cmake +11 -0
- casadi/cmake/casadi-config.cmake +8 -0
- casadi/cmake/casadi-targets-release.cmake +19 -0
- casadi/cmake/casadi-targets.cmake +107 -0
- casadi/cmake/highs/highs-config.cmake +17 -0
- casadi/cmake/highs/highs-targets-release.cmake +28 -0
- casadi/cmake/highs/highs-targets.cmake +117 -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/proxsuite/find-external/Simde/FindSimde.cmake +39 -0
- casadi/cmake/proxsuite/proxsuiteConfig.cmake +177 -0
- casadi/cmake/proxsuite/proxsuiteConfigVersion.cmake +70 -0
- casadi/cmake/proxsuite/proxsuiteTargets.cmake +115 -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/cmake/sleqp/sleqp-config-version.cmake +70 -0
- casadi/cmake/sleqp/sleqp-config.cmake +1 -0
- casadi/cmake/sleqp/sleqp-targets-release.cmake +20 -0
- casadi/cmake/sleqp/sleqp-targets.cmake +102 -0
- casadi/cmake/trlib/trlib-config-release.cmake +19 -0
- casadi/cmake/trlib/trlib-config-version.cmake +88 -0
- casadi/cmake/trlib/trlib-config.cmake +107 -0
- casadi/highs +0 -0
- casadi/include/casadi/casadi.hpp +31 -0
- casadi/include/casadi/casadi.i +4691 -0
- casadi/include/casadi/casadi_c.h +138 -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 +318 -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 +1001 -0
- casadi/include/casadi/core/casadi_types.hpp +66 -0
- casadi/include/casadi/core/code_generator.hpp +975 -0
- casadi/include/casadi/core/conic.hpp +213 -0
- casadi/include/casadi/core/core.hpp +70 -0
- casadi/include/casadi/core/dae_builder.hpp +723 -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/fmu.hpp +224 -0
- casadi/include/casadi/core/function.hpp +1347 -0
- casadi/include/casadi/core/generic_expression.hpp +760 -0
- casadi/include/casadi/core/generic_matrix.hpp +1598 -0
- casadi/include/casadi/core/generic_type.hpp +311 -0
- casadi/include/casadi/core/global_options.hpp +97 -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 +1352 -0
- casadi/include/casadi/core/matrix_fwd.hpp +37 -0
- casadi/include/casadi/core/mx.hpp +953 -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 +234 -0
- casadi/include/casadi/core/nonzeros.hpp +111 -0
- casadi/include/casadi/core/options.hpp +119 -0
- casadi/include/casadi/core/optistack.hpp +670 -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 +345 -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 +868 -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 +289 -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_ocp_block.hpp +55 -0
- casadi/include/casadi/core/runtime/casadi_oracle.hpp +44 -0
- casadi/include/casadi/core/runtime/casadi_oracle_callback.hpp +39 -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 +1239 -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 +318 -0
- casadi/include/casadi/core/runtime/casadi_scal.hpp +26 -0
- casadi/include/casadi/core/runtime/casadi_scaled_copy.hpp +31 -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 +178 -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 +329 -0
- casadi/include/casadi/core/shared_object.hpp +270 -0
- casadi/include/casadi/core/slice.hpp +149 -0
- casadi/include/casadi/core/sparsity.hpp +1495 -0
- casadi/include/casadi/core/sparsity_interface.hpp +745 -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/tools.hpp +67 -0
- casadi/include/casadi/core/xml_file.hpp +93 -0
- casadi/include/casadi/core/xml_node.hpp +207 -0
- casadi/include/casadi/doc.i +58615 -0
- casadi/include/casadi/doc_merged.i +36123 -0
- casadi/include/casadi/mem.h +311 -0
- casadi/include/casadi/valgrind-casadi.supp +511 -0
- casadi/include/casadi/valgrind-python.supp +1416 -0
- casadi/include/coin-or/IpAlgBuilder.hpp +417 -0
- casadi/include/coin-or/IpAlgStrategy.hpp +201 -0
- casadi/include/coin-or/IpAlgTypes.hpp +64 -0
- casadi/include/coin-or/IpAugSystemSolver.hpp +212 -0
- casadi/include/coin-or/IpBlas.hpp +426 -0
- casadi/include/coin-or/IpCachedResults.hpp +897 -0
- casadi/include/coin-or/IpCompoundMatrix.hpp +423 -0
- casadi/include/coin-or/IpCompoundSymMatrix.hpp +348 -0
- casadi/include/coin-or/IpCompoundVector.hpp +395 -0
- casadi/include/coin-or/IpConvCheck.hpp +97 -0
- casadi/include/coin-or/IpDebug.hpp +167 -0
- casadi/include/coin-or/IpDenseVector.hpp +626 -0
- casadi/include/coin-or/IpDiagMatrix.hpp +158 -0
- casadi/include/coin-or/IpEqMultCalculator.hpp +76 -0
- casadi/include/coin-or/IpException.hpp +156 -0
- casadi/include/coin-or/IpExpansionMatrix.hpp +245 -0
- casadi/include/coin-or/IpGenTMatrix.hpp +290 -0
- casadi/include/coin-or/IpHessianUpdater.hpp +73 -0
- casadi/include/coin-or/IpIdentityMatrix.hpp +167 -0
- casadi/include/coin-or/IpIpoptAlg.hpp +257 -0
- casadi/include/coin-or/IpIpoptApplication.hpp +367 -0
- casadi/include/coin-or/IpIpoptCalculatedQuantities.hpp +1009 -0
- casadi/include/coin-or/IpIpoptData.hpp +966 -0
- casadi/include/coin-or/IpIpoptNLP.hpp +328 -0
- casadi/include/coin-or/IpIterateInitializer.hpp +68 -0
- casadi/include/coin-or/IpIteratesVector.hpp +840 -0
- casadi/include/coin-or/IpIterationOutput.hpp +78 -0
- casadi/include/coin-or/IpJournalist.hpp +573 -0
- casadi/include/coin-or/IpLapack.hpp +227 -0
- casadi/include/coin-or/IpLibraryLoader.hpp +76 -0
- casadi/include/coin-or/IpLineSearch.hpp +106 -0
- casadi/include/coin-or/IpLinearSolvers.h +46 -0
- casadi/include/coin-or/IpMatrix.hpp +434 -0
- casadi/include/coin-or/IpMuUpdate.hpp +77 -0
- casadi/include/coin-or/IpNLP.hpp +306 -0
- casadi/include/coin-or/IpNLPScaling.hpp +582 -0
- casadi/include/coin-or/IpObserver.hpp +422 -0
- casadi/include/coin-or/IpOptionsList.hpp +412 -0
- casadi/include/coin-or/IpOrigIpoptNLP.hpp +603 -0
- casadi/include/coin-or/IpPDSystemSolver.hpp +137 -0
- casadi/include/coin-or/IpReferenced.hpp +262 -0
- casadi/include/coin-or/IpRegOptions.hpp +1152 -0
- casadi/include/coin-or/IpReturnCodes.h +23 -0
- casadi/include/coin-or/IpReturnCodes.hpp +18 -0
- casadi/include/coin-or/IpReturnCodes.inc +71 -0
- casadi/include/coin-or/IpReturnCodes_inc.h +45 -0
- casadi/include/coin-or/IpScaledMatrix.hpp +291 -0
- casadi/include/coin-or/IpSearchDirCalculator.hpp +72 -0
- casadi/include/coin-or/IpSmartPtr.hpp +865 -0
- casadi/include/coin-or/IpSolveStatistics.hpp +210 -0
- casadi/include/coin-or/IpSparseSymLinearSolverInterface.hpp +260 -0
- casadi/include/coin-or/IpStdAugSystemSolver.cpp +555 -0
- casadi/include/coin-or/IpStdCInterface.h +428 -0
- casadi/include/coin-or/IpSumSymMatrix.hpp +186 -0
- casadi/include/coin-or/IpSymLinearSolver.hpp +141 -0
- casadi/include/coin-or/IpSymMatrix.hpp +167 -0
- casadi/include/coin-or/IpSymScaledMatrix.hpp +255 -0
- casadi/include/coin-or/IpSymTMatrix.hpp +275 -0
- casadi/include/coin-or/IpTNLP.hpp +820 -0
- casadi/include/coin-or/IpTNLPAdapter.hpp +648 -0
- casadi/include/coin-or/IpTNLPReducer.hpp +274 -0
- casadi/include/coin-or/IpTaggedObject.hpp +128 -0
- casadi/include/coin-or/IpTimedTask.hpp +218 -0
- casadi/include/coin-or/IpTimingStatistics.hpp +323 -0
- casadi/include/coin-or/IpTripletHelper.hpp +308 -0
- casadi/include/coin-or/IpTypes.h +81 -0
- casadi/include/coin-or/IpTypes.hpp +30 -0
- casadi/include/coin-or/IpUtils.hpp +166 -0
- casadi/include/coin-or/IpVector.hpp +892 -0
- casadi/include/coin-or/IpZeroSymMatrix.hpp +155 -0
- casadi/include/coin-or/IpoptConfig.h +45 -0
- casadi/include/coin-or/SensAlgorithm.hpp +114 -0
- casadi/include/coin-or/SensApplication.hpp +188 -0
- casadi/include/coin-or/SensBacksolver.hpp +36 -0
- casadi/include/coin-or/SensMeasurement.hpp +56 -0
- casadi/include/coin-or/SensPCalculator.hpp +137 -0
- casadi/include/coin-or/SensRegOp.hpp +21 -0
- casadi/include/coin-or/SensSchurData.hpp +182 -0
- casadi/include/coin-or/SensSchurDriver.hpp +118 -0
- casadi/include/coin-or/SensSimpleBacksolver.hpp +49 -0
- casadi/include/coin-or/SensStepCalc.hpp +85 -0
- casadi/include/coin-or/SensUtils.hpp +63 -0
- casadi/include/coin-or/metis/defs.h +161 -0
- casadi/include/coin-or/metis/macros.h +143 -0
- casadi/include/coin-or/metis/metis.h +37 -0
- casadi/include/coin-or/metis/proto.h +505 -0
- casadi/include/coin-or/metis/rename.h +418 -0
- casadi/include/coin-or/metis/struct.h +251 -0
- casadi/include/coin-or/mumps/dmumps_c.h +142 -0
- casadi/include/coin-or/mumps/mumps_c_types.h +72 -0
- casadi/include/coin-or/mumps/mumps_compat.h +27 -0
- casadi/include/coin-or/mumps/mumps_int_def.h +11 -0
- casadi/include/coin-or/mumps/mumps_mpi.h +67 -0
- casadi/include/daqp/api.h +46 -0
- casadi/include/daqp/auxiliary.h +29 -0
- casadi/include/daqp/bnb.h +32 -0
- casadi/include/daqp/codegen.h +18 -0
- casadi/include/daqp/constants.h +92 -0
- casadi/include/daqp/daqp.h +22 -0
- casadi/include/daqp/daqp_prox.h +18 -0
- casadi/include/daqp/factorization.h +18 -0
- casadi/include/daqp/types.h +161 -0
- casadi/include/daqp/utils.h +44 -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 +21 -0
- casadi/include/highs/Highs.h +1529 -0
- casadi/include/highs/filereaderlp/builder.hpp +25 -0
- casadi/include/highs/filereaderlp/def.hpp +19 -0
- casadi/include/highs/filereaderlp/model.hpp +68 -0
- casadi/include/highs/filereaderlp/reader.hpp +10 -0
- casadi/include/highs/interfaces/highs_c_api.h +2283 -0
- casadi/include/highs/io/Filereader.h +47 -0
- casadi/include/highs/io/FilereaderEms.h +33 -0
- casadi/include/highs/io/FilereaderLp.h +54 -0
- casadi/include/highs/io/FilereaderMps.h +30 -0
- casadi/include/highs/io/HMPSIO.h +81 -0
- casadi/include/highs/io/HMpsFF.h +235 -0
- casadi/include/highs/io/HighsIO.h +109 -0
- casadi/include/highs/io/LoadOptions.h +27 -0
- casadi/include/highs/ipm/IpxSolution.h +35 -0
- casadi/include/highs/ipm/IpxWrapper.h +73 -0
- casadi/include/highs/ipm/basiclu/basiclu.h +161 -0
- casadi/include/highs/ipm/basiclu/basiclu_factorize.h +247 -0
- casadi/include/highs/ipm/basiclu/basiclu_get_factors.h +108 -0
- casadi/include/highs/ipm/basiclu/basiclu_initialize.h +119 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_factorize.h +34 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_free.h +19 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_get_factors.h +34 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_initialize.h +46 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_solve_dense.h +29 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_solve_for_update.h +42 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_solve_sparse.h +32 -0
- casadi/include/highs/ipm/basiclu/basiclu_obj_update.h +31 -0
- casadi/include/highs/ipm/basiclu/basiclu_object.h +30 -0
- casadi/include/highs/ipm/basiclu/basiclu_solve_dense.h +75 -0
- casadi/include/highs/ipm/basiclu/basiclu_solve_for_update.h +169 -0
- casadi/include/highs/ipm/basiclu/basiclu_solve_sparse.h +112 -0
- casadi/include/highs/ipm/basiclu/basiclu_update.h +125 -0
- casadi/include/highs/ipm/basiclu/lu_def.h +39 -0
- casadi/include/highs/ipm/basiclu/lu_file.h +21 -0
- casadi/include/highs/ipm/basiclu/lu_internal.h +220 -0
- casadi/include/highs/ipm/basiclu/lu_list.h +168 -0
- casadi/include/highs/ipm/ipx/basiclu_kernel.h +20 -0
- casadi/include/highs/ipm/ipx/basiclu_wrapper.h +47 -0
- casadi/include/highs/ipm/ipx/basis.h +351 -0
- casadi/include/highs/ipm/ipx/conjugate_residuals.h +74 -0
- casadi/include/highs/ipm/ipx/control.h +163 -0
- casadi/include/highs/ipm/ipx/crossover.h +157 -0
- casadi/include/highs/ipm/ipx/diagonal_precond.h +45 -0
- casadi/include/highs/ipm/ipx/forrest_tomlin.h +102 -0
- casadi/include/highs/ipm/ipx/guess_basis.h +21 -0
- casadi/include/highs/ipm/ipx/indexed_vector.h +113 -0
- casadi/include/highs/ipm/ipx/info.h +27 -0
- casadi/include/highs/ipm/ipx/ipm.h +94 -0
- casadi/include/highs/ipm/ipx/ipx_c.h +47 -0
- casadi/include/highs/ipm/ipx/ipx_config.h +9 -0
- casadi/include/highs/ipm/ipx/ipx_info.h +111 -0
- casadi/include/highs/ipm/ipx/ipx_internal.h +88 -0
- casadi/include/highs/ipm/ipx/ipx_parameters.h +75 -0
- casadi/include/highs/ipm/ipx/ipx_status.h +57 -0
- casadi/include/highs/ipm/ipx/iterate.h +328 -0
- casadi/include/highs/ipm/ipx/kkt_solver.h +70 -0
- casadi/include/highs/ipm/ipx/kkt_solver_basis.h +66 -0
- casadi/include/highs/ipm/ipx/kkt_solver_diag.h +48 -0
- casadi/include/highs/ipm/ipx/linear_operator.h +26 -0
- casadi/include/highs/ipm/ipx/lp_solver.h +201 -0
- casadi/include/highs/ipm/ipx/lu_factorization.h +79 -0
- casadi/include/highs/ipm/ipx/lu_update.h +129 -0
- casadi/include/highs/ipm/ipx/maxvolume.h +54 -0
- casadi/include/highs/ipm/ipx/model.h +409 -0
- casadi/include/highs/ipm/ipx/multistream.h +52 -0
- casadi/include/highs/ipm/ipx/normal_matrix.h +44 -0
- casadi/include/highs/ipm/ipx/power_method.h +44 -0
- casadi/include/highs/ipm/ipx/sparse_matrix.h +195 -0
- casadi/include/highs/ipm/ipx/sparse_utils.h +58 -0
- casadi/include/highs/ipm/ipx/splitted_normal_matrix.h +63 -0
- casadi/include/highs/ipm/ipx/starting_basis.h +39 -0
- casadi/include/highs/ipm/ipx/symbolic_invert.h +29 -0
- casadi/include/highs/ipm/ipx/timer.h +24 -0
- casadi/include/highs/ipm/ipx/utils.h +39 -0
- casadi/include/highs/lp_data/HConst.h +305 -0
- casadi/include/highs/lp_data/HStruct.h +146 -0
- casadi/include/highs/lp_data/HighsAnalysis.h +26 -0
- casadi/include/highs/lp_data/HighsCallback.h +40 -0
- casadi/include/highs/lp_data/HighsCallbackStruct.h +62 -0
- casadi/include/highs/lp_data/HighsDebug.h +37 -0
- casadi/include/highs/lp_data/HighsInfo.h +322 -0
- casadi/include/highs/lp_data/HighsInfoDebug.h +30 -0
- casadi/include/highs/lp_data/HighsLp.h +101 -0
- casadi/include/highs/lp_data/HighsLpSolverObject.h +48 -0
- casadi/include/highs/lp_data/HighsLpUtils.h +266 -0
- casadi/include/highs/lp_data/HighsModelUtils.h +109 -0
- casadi/include/highs/lp_data/HighsOptions.h +1357 -0
- casadi/include/highs/lp_data/HighsRanging.h +46 -0
- casadi/include/highs/lp_data/HighsRuntimeOptions.h +276 -0
- casadi/include/highs/lp_data/HighsSolution.h +137 -0
- casadi/include/highs/lp_data/HighsSolutionDebug.h +90 -0
- casadi/include/highs/lp_data/HighsSolve.h +26 -0
- casadi/include/highs/lp_data/HighsStatus.h +32 -0
- casadi/include/highs/mip/HighsCliqueTable.h +318 -0
- casadi/include/highs/mip/HighsConflictPool.h +112 -0
- casadi/include/highs/mip/HighsCutGeneration.h +96 -0
- casadi/include/highs/mip/HighsCutPool.h +171 -0
- casadi/include/highs/mip/HighsDebugSol.h +135 -0
- casadi/include/highs/mip/HighsDomain.h +641 -0
- casadi/include/highs/mip/HighsDomainChange.h +51 -0
- casadi/include/highs/mip/HighsDynamicRowMatrix.h +107 -0
- casadi/include/highs/mip/HighsGFkSolve.h +441 -0
- casadi/include/highs/mip/HighsImplications.h +146 -0
- casadi/include/highs/mip/HighsLpAggregator.h +53 -0
- casadi/include/highs/mip/HighsLpRelaxation.h +360 -0
- casadi/include/highs/mip/HighsMipSolver.h +105 -0
- casadi/include/highs/mip/HighsMipSolverData.h +236 -0
- casadi/include/highs/mip/HighsModkSeparator.h +63 -0
- casadi/include/highs/mip/HighsNodeQueue.h +314 -0
- casadi/include/highs/mip/HighsObjectiveFunction.h +74 -0
- casadi/include/highs/mip/HighsPathSeparator.h +42 -0
- casadi/include/highs/mip/HighsPrimalHeuristics.h +68 -0
- casadi/include/highs/mip/HighsPseudocost.h +363 -0
- casadi/include/highs/mip/HighsRedcostFixing.h +45 -0
- casadi/include/highs/mip/HighsSearch.h +244 -0
- casadi/include/highs/mip/HighsSeparation.h +44 -0
- casadi/include/highs/mip/HighsSeparator.h +56 -0
- casadi/include/highs/mip/HighsTableauSeparator.h +37 -0
- casadi/include/highs/mip/HighsTransformedLp.h +66 -0
- casadi/include/highs/model/HighsHessian.h +54 -0
- casadi/include/highs/model/HighsHessianUtils.h +49 -0
- casadi/include/highs/model/HighsModel.h +52 -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 +129 -0
- casadi/include/highs/parallel/HighsParallel.h +133 -0
- casadi/include/highs/parallel/HighsRaceTimer.h +43 -0
- casadi/include/highs/parallel/HighsSchedulerConstants.h +24 -0
- casadi/include/highs/parallel/HighsSpinMutex.h +53 -0
- casadi/include/highs/parallel/HighsSplitDeque.h +583 -0
- casadi/include/highs/parallel/HighsTask.h +175 -0
- casadi/include/highs/parallel/HighsTaskExecutor.h +209 -0
- casadi/include/highs/pdlp/CupdlpWrapper.h +93 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_cs.h +41 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_defs.h +423 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_linalg.h +183 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_proj.h +19 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_restart.h +31 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_scaling_cuda.h +28 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_solver.h +98 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_step.h +33 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_utils.c +1726 -0
- casadi/include/highs/pdqsort/pdqsort.h +532 -0
- casadi/include/highs/presolve/HPresolve.h +365 -0
- casadi/include/highs/presolve/HPresolveAnalysis.h +54 -0
- casadi/include/highs/presolve/HighsPostsolveStack.h +907 -0
- casadi/include/highs/presolve/HighsSymmetry.h +284 -0
- casadi/include/highs/presolve/ICrash.h +127 -0
- casadi/include/highs/presolve/ICrashUtil.h +65 -0
- casadi/include/highs/presolve/ICrashX.h +26 -0
- casadi/include/highs/presolve/PresolveComponent.h +93 -0
- casadi/include/highs/qpsolver/a_asm.hpp +67 -0
- casadi/include/highs/qpsolver/a_quass.hpp +19 -0
- casadi/include/highs/qpsolver/basis.hpp +150 -0
- casadi/include/highs/qpsolver/crashsolution.hpp +12 -0
- casadi/include/highs/qpsolver/dantzigpricing.hpp +72 -0
- casadi/include/highs/qpsolver/devexpricing.hpp +99 -0
- casadi/include/highs/qpsolver/eventhandler.hpp +23 -0
- casadi/include/highs/qpsolver/factor.hpp +400 -0
- casadi/include/highs/qpsolver/feasibility_bounded.hpp +105 -0
- casadi/include/highs/qpsolver/feasibility_highs.hpp +270 -0
- casadi/include/highs/qpsolver/gradient.hpp +39 -0
- casadi/include/highs/qpsolver/instance.hpp +63 -0
- casadi/include/highs/qpsolver/matrix.hpp +335 -0
- casadi/include/highs/qpsolver/perturbation.hpp +8 -0
- casadi/include/highs/qpsolver/pricing.hpp +15 -0
- casadi/include/highs/qpsolver/qpconst.hpp +27 -0
- casadi/include/highs/qpsolver/qpvector.hpp +235 -0
- casadi/include/highs/qpsolver/quass.hpp +20 -0
- casadi/include/highs/qpsolver/ratiotest.hpp +19 -0
- casadi/include/highs/qpsolver/runtime.hpp +38 -0
- casadi/include/highs/qpsolver/scaling.hpp +8 -0
- casadi/include/highs/qpsolver/settings.hpp +57 -0
- casadi/include/highs/qpsolver/snippets.hpp +29 -0
- casadi/include/highs/qpsolver/statistics.hpp +23 -0
- casadi/include/highs/qpsolver/steepestedgepricing.hpp +167 -0
- casadi/include/highs/simplex/HApp.h +422 -0
- casadi/include/highs/simplex/HEkk.h +403 -0
- casadi/include/highs/simplex/HEkkDual.h +515 -0
- casadi/include/highs/simplex/HEkkDualRHS.h +137 -0
- casadi/include/highs/simplex/HEkkDualRow.h +204 -0
- casadi/include/highs/simplex/HEkkPrimal.h +195 -0
- casadi/include/highs/simplex/HSimplex.h +45 -0
- casadi/include/highs/simplex/HSimplexDebug.h +51 -0
- casadi/include/highs/simplex/HSimplexNla.h +184 -0
- casadi/include/highs/simplex/HSimplexReport.h +24 -0
- casadi/include/highs/simplex/HighsSimplexAnalysis.h +503 -0
- casadi/include/highs/simplex/SimplexConst.h +274 -0
- casadi/include/highs/simplex/SimplexStruct.h +264 -0
- casadi/include/highs/simplex/SimplexTimer.h +427 -0
- casadi/include/highs/test/DevKkt.h +146 -0
- casadi/include/highs/test/KktCh2.h +82 -0
- casadi/include/highs/util/FactorTimer.h +224 -0
- casadi/include/highs/util/HFactor.h +587 -0
- casadi/include/highs/util/HFactorConst.h +84 -0
- casadi/include/highs/util/HFactorDebug.h +58 -0
- casadi/include/highs/util/HSet.h +92 -0
- casadi/include/highs/util/HVector.h +25 -0
- casadi/include/highs/util/HVectorBase.h +105 -0
- casadi/include/highs/util/HighsCDouble.h +310 -0
- casadi/include/highs/util/HighsComponent.h +56 -0
- casadi/include/highs/util/HighsDataStack.h +86 -0
- casadi/include/highs/util/HighsDisjointSets.h +110 -0
- casadi/include/highs/util/HighsHash.h +1277 -0
- casadi/include/highs/util/HighsHashTree.h +1443 -0
- casadi/include/highs/util/HighsInt.h +39 -0
- casadi/include/highs/util/HighsIntegers.h +215 -0
- casadi/include/highs/util/HighsLinearSumBounds.h +160 -0
- casadi/include/highs/util/HighsMatrixPic.h +40 -0
- casadi/include/highs/util/HighsMatrixSlice.h +564 -0
- casadi/include/highs/util/HighsMatrixUtils.h +57 -0
- casadi/include/highs/util/HighsMemoryAllocation.h +55 -0
- casadi/include/highs/util/HighsRandom.h +245 -0
- casadi/include/highs/util/HighsRbTree.h +455 -0
- casadi/include/highs/util/HighsSort.h +134 -0
- casadi/include/highs/util/HighsSparseMatrix.h +147 -0
- casadi/include/highs/util/HighsSparseVectorSum.h +98 -0
- casadi/include/highs/util/HighsSplay.h +138 -0
- casadi/include/highs/util/HighsTimer.h +343 -0
- casadi/include/highs/util/HighsUtils.h +210 -0
- casadi/include/highs/util/stringutil.h +44 -0
- casadi/include/highs/zstr/strict_fstream.hpp +237 -0
- casadi/include/highs/zstr/zstr.hpp +472 -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/alpaqa-external/LICENSE +165 -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/daqp-external/LICENSE +21 -0
- casadi/include/licenses/highs-external/LICENSE.txt +21 -0
- casadi/include/licenses/highs-external/extern/filereaderlp/LICENSE +19 -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/sleqp-external/LICENSE +165 -0
- casadi/include/licenses/superscs-external/LICENSE.txt +24 -0
- casadi/include/licenses/tinyxml2-9.0.0/LICENSE.txt +18 -0
- casadi/include/licenses/trlib-external/LICENSE +21 -0
- casadi/include/osqp/auxil.h +181 -0
- casadi/include/osqp/constants.h +128 -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/osqp/version.h +9 -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/include/trlib/trlib_eigen_inverse.h +118 -0
- casadi/include/trlib/trlib_krylov.h +493 -0
- casadi/include/trlib/trlib_leftmost.h +181 -0
- casadi/include/trlib/trlib_private.h +109 -0
- casadi/include/trlib/trlib_quadratic_zero.h +57 -0
- casadi/include/trlib/trlib_tri_factor.h +409 -0
- casadi/include/trlib/trlib_types.h +36 -0
- casadi/lib/cmake/tinyxml2/tinyxml2-config-version.cmake +70 -0
- casadi/lib/cmake/tinyxml2/tinyxml2-config.cmake +57 -0
- casadi/lib/cmake/tinyxml2/tinyxml2-static-targets-release.cmake +19 -0
- casadi/lib/cmake/tinyxml2/tinyxml2-static-targets.cmake +103 -0
- casadi/lib/libtinyxml2.a +0 -0
- casadi/lib/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.11 +0 -0
- casadi/libCbcSolver.la +35 -0
- casadi/libCbcSolver.so +0 -0
- casadi/libCbcSolver.so.3 +0 -0
- casadi/libCbcSolver.so.3.10.11 +0 -0
- casadi/libCgl.la +35 -0
- casadi/libCgl.so +0 -0
- casadi/libCgl.so.1 +0 -0
- casadi/libCgl.so.1.10.8 +0 -0
- casadi/libClp.la +35 -0
- casadi/libClp.so +0 -0
- casadi/libClp.so.1 +0 -0
- casadi/libClp.so.1.14.9 +0 -0
- casadi/libClpSolver.la +35 -0
- casadi/libClpSolver.so +0 -0
- casadi/libClpSolver.so.1 +0 -0
- casadi/libClpSolver.so.1.14.9 +0 -0
- casadi/libCoinUtils.la +35 -0
- casadi/libCoinUtils.so +0 -0
- casadi/libCoinUtils.so.3 +0 -0
- casadi/libCoinUtils.so.3.11.10 +0 -0
- casadi/libOsi.la +35 -0
- casadi/libOsi.so +0 -0
- casadi/libOsi.so.1 +0 -0
- casadi/libOsi.so.1.13.9 +0 -0
- casadi/libOsiCbc.la +35 -0
- casadi/libOsiCbc.so +0 -0
- casadi/libOsiCbc.so.3 +0 -0
- casadi/libOsiCbc.so.3.10.11 +0 -0
- casadi/libOsiClp.la +35 -0
- casadi/libOsiClp.so +0 -0
- casadi/libOsiClp.so.1 +0 -0
- casadi/libOsiClp.so.1.14.9 +0 -0
- casadi/libOsiCommonTests.la +35 -0
- casadi/libOsiCommonTests.so +0 -0
- casadi/libOsiCommonTests.so.1 +0 -0
- casadi/libOsiCommonTests.so.1.13.9 +0 -0
- casadi/libalpaqa-dl-loader.so +0 -0
- casadi/libalpaqa-dl-loader.so.1.0.0 +0 -0
- casadi/libalpaqa.so +0 -0
- casadi/libalpaqa.so.1.0.0 +0 -0
- casadi/libbonmin.la +35 -0
- casadi/libbonmin.so +0 -0
- casadi/libbonmin.so.4 +0 -0
- casadi/libbonmin.so.4.8.9 +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_daqp.so +0 -0
- casadi/libcasadi_conic_daqp.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_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_alpaqa.so +0 -0
- casadi/libcasadi_nlpsol_alpaqa.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_madnlp.so +0 -0
- casadi/libcasadi_nlpsol_madnlp.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_sleqp.so +0 -0
- casadi/libcasadi_nlpsol_sleqp.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/libdaqp.so +0 -0
- casadi/libdaqpstat.a +0 -0
- casadi/libgfortran-a8535147.so.5.0.0 +0 -0
- casadi/libgurobi_adaptor.so +0 -0
- casadi/libhighs.so +0 -0
- casadi/libhighs.so.1 +0 -0
- casadi/libhighs.so.1.7.2 +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/libmatlab_ipc.so +0 -0
- casadi/libosqp.a +0 -0
- casadi/libosqp.so +0 -0
- casadi/libqdldl.a +0 -0
- casadi/libqdldl.so +0 -0
- casadi/libquadmath-e2ac3af2.so.0.0.0 +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/libsleqp.so +0 -0
- casadi/libsleqp.so.1.0.1 +0 -0
- casadi/libspral.a +0 -0
- casadi/libsuperscs.a +0 -0
- casadi/libtrlib.so +0 -0
- casadi/libtrlib.so.0.4 +0 -0
- casadi/pkgconfig/blas.pc +11 -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/lapack.pc +11 -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/pkgconfig/proxsuite.pc +22 -0
- casadi/pkgconfig/sleqp.pc +10 -0
- casadi/tools/__init__.py +52 -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.7.dist-info/METADATA +45 -0
- casadi-3.6.7.dist-info/RECORD +1693 -0
- casadi-3.6.7.dist-info/WHEEL +4 -0
- dummy.txt +1 -0
@@ -0,0 +1,1366 @@
|
|
1
|
+
// This file is part of Eigen, a lightweight C++ template library
|
2
|
+
// for linear algebra.
|
3
|
+
//
|
4
|
+
// We used the "A Divide-And-Conquer Algorithm for the Bidiagonal SVD"
|
5
|
+
// research report written by Ming Gu and Stanley C.Eisenstat
|
6
|
+
// The code variable names correspond to the names they used in their
|
7
|
+
// report
|
8
|
+
//
|
9
|
+
// Copyright (C) 2013 Gauthier Brun <brun.gauthier@gmail.com>
|
10
|
+
// Copyright (C) 2013 Nicolas Carre <nicolas.carre@ensimag.fr>
|
11
|
+
// Copyright (C) 2013 Jean Ceccato <jean.ceccato@ensimag.fr>
|
12
|
+
// Copyright (C) 2013 Pierre Zoppitelli <pierre.zoppitelli@ensimag.fr>
|
13
|
+
// Copyright (C) 2013 Jitse Niesen <jitse@maths.leeds.ac.uk>
|
14
|
+
// Copyright (C) 2014-2017 Gael Guennebaud <gael.guennebaud@inria.fr>
|
15
|
+
//
|
16
|
+
// Source Code Form is subject to the terms of the Mozilla
|
17
|
+
// Public License v. 2.0. If a copy of the MPL was not distributed
|
18
|
+
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
19
|
+
|
20
|
+
#ifndef EIGEN_BDCSVD_H
|
21
|
+
#define EIGEN_BDCSVD_H
|
22
|
+
// #define EIGEN_BDCSVD_DEBUG_VERBOSE
|
23
|
+
// #define EIGEN_BDCSVD_SANITY_CHECKS
|
24
|
+
|
25
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
26
|
+
#undef eigen_internal_assert
|
27
|
+
#define eigen_internal_assert(X) assert(X);
|
28
|
+
#endif
|
29
|
+
|
30
|
+
namespace Eigen {
|
31
|
+
|
32
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
33
|
+
IOFormat bdcsvdfmt(8, 0, ", ", "\n", " [", "]");
|
34
|
+
#endif
|
35
|
+
|
36
|
+
template<typename _MatrixType> class BDCSVD;
|
37
|
+
|
38
|
+
namespace internal {
|
39
|
+
|
40
|
+
template<typename _MatrixType>
|
41
|
+
struct traits<BDCSVD<_MatrixType> >
|
42
|
+
: traits<_MatrixType>
|
43
|
+
{
|
44
|
+
typedef _MatrixType MatrixType;
|
45
|
+
};
|
46
|
+
|
47
|
+
} // end namespace internal
|
48
|
+
|
49
|
+
|
50
|
+
/** \ingroup SVD_Module
|
51
|
+
*
|
52
|
+
*
|
53
|
+
* \class BDCSVD
|
54
|
+
*
|
55
|
+
* \brief class Bidiagonal Divide and Conquer SVD
|
56
|
+
*
|
57
|
+
* \tparam _MatrixType the type of the matrix of which we are computing the SVD decomposition
|
58
|
+
*
|
59
|
+
* This class first reduces the input matrix to bi-diagonal form using class UpperBidiagonalization,
|
60
|
+
* and then performs a divide-and-conquer diagonalization. Small blocks are diagonalized using class JacobiSVD.
|
61
|
+
* You can control the switching size with the setSwitchSize() method, default is 16.
|
62
|
+
* For small matrice (<16), it is thus preferable to directly use JacobiSVD. For larger ones, BDCSVD is highly
|
63
|
+
* recommended and can several order of magnitude faster.
|
64
|
+
*
|
65
|
+
* \warning this algorithm is unlikely to provide accurate result when compiled with unsafe math optimizations.
|
66
|
+
* For instance, this concerns Intel's compiler (ICC), which performs such optimization by default unless
|
67
|
+
* you compile with the \c -fp-model \c precise option. Likewise, the \c -ffast-math option of GCC or clang will
|
68
|
+
* significantly degrade the accuracy.
|
69
|
+
*
|
70
|
+
* \sa class JacobiSVD
|
71
|
+
*/
|
72
|
+
template<typename _MatrixType>
|
73
|
+
class BDCSVD : public SVDBase<BDCSVD<_MatrixType> >
|
74
|
+
{
|
75
|
+
typedef SVDBase<BDCSVD> Base;
|
76
|
+
|
77
|
+
public:
|
78
|
+
using Base::rows;
|
79
|
+
using Base::cols;
|
80
|
+
using Base::computeU;
|
81
|
+
using Base::computeV;
|
82
|
+
|
83
|
+
typedef _MatrixType MatrixType;
|
84
|
+
typedef typename MatrixType::Scalar Scalar;
|
85
|
+
typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
|
86
|
+
typedef typename NumTraits<RealScalar>::Literal Literal;
|
87
|
+
enum {
|
88
|
+
RowsAtCompileTime = MatrixType::RowsAtCompileTime,
|
89
|
+
ColsAtCompileTime = MatrixType::ColsAtCompileTime,
|
90
|
+
DiagSizeAtCompileTime = EIGEN_SIZE_MIN_PREFER_DYNAMIC(RowsAtCompileTime, ColsAtCompileTime),
|
91
|
+
MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
|
92
|
+
MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime,
|
93
|
+
MaxDiagSizeAtCompileTime = EIGEN_SIZE_MIN_PREFER_FIXED(MaxRowsAtCompileTime, MaxColsAtCompileTime),
|
94
|
+
MatrixOptions = MatrixType::Options
|
95
|
+
};
|
96
|
+
|
97
|
+
typedef typename Base::MatrixUType MatrixUType;
|
98
|
+
typedef typename Base::MatrixVType MatrixVType;
|
99
|
+
typedef typename Base::SingularValuesType SingularValuesType;
|
100
|
+
|
101
|
+
typedef Matrix<Scalar, Dynamic, Dynamic, ColMajor> MatrixX;
|
102
|
+
typedef Matrix<RealScalar, Dynamic, Dynamic, ColMajor> MatrixXr;
|
103
|
+
typedef Matrix<RealScalar, Dynamic, 1> VectorType;
|
104
|
+
typedef Array<RealScalar, Dynamic, 1> ArrayXr;
|
105
|
+
typedef Array<Index,1,Dynamic> ArrayXi;
|
106
|
+
typedef Ref<ArrayXr> ArrayRef;
|
107
|
+
typedef Ref<ArrayXi> IndicesRef;
|
108
|
+
|
109
|
+
/** \brief Default Constructor.
|
110
|
+
*
|
111
|
+
* The default constructor is useful in cases in which the user intends to
|
112
|
+
* perform decompositions via BDCSVD::compute(const MatrixType&).
|
113
|
+
*/
|
114
|
+
BDCSVD() : m_algoswap(16), m_isTranspose(false), m_compU(false), m_compV(false), m_numIters(0)
|
115
|
+
{}
|
116
|
+
|
117
|
+
|
118
|
+
/** \brief Default Constructor with memory preallocation
|
119
|
+
*
|
120
|
+
* Like the default constructor but with preallocation of the internal data
|
121
|
+
* according to the specified problem size.
|
122
|
+
* \sa BDCSVD()
|
123
|
+
*/
|
124
|
+
BDCSVD(Index rows, Index cols, unsigned int computationOptions = 0)
|
125
|
+
: m_algoswap(16), m_numIters(0)
|
126
|
+
{
|
127
|
+
allocate(rows, cols, computationOptions);
|
128
|
+
}
|
129
|
+
|
130
|
+
/** \brief Constructor performing the decomposition of given matrix.
|
131
|
+
*
|
132
|
+
* \param matrix the matrix to decompose
|
133
|
+
* \param computationOptions optional parameter allowing to specify if you want full or thin U or V unitaries to be computed.
|
134
|
+
* By default, none is computed. This is a bit - field, the possible bits are #ComputeFullU, #ComputeThinU,
|
135
|
+
* #ComputeFullV, #ComputeThinV.
|
136
|
+
*
|
137
|
+
* Thin unitaries are only available if your matrix type has a Dynamic number of columns (for example MatrixXf). They also are not
|
138
|
+
* available with the (non - default) FullPivHouseholderQR preconditioner.
|
139
|
+
*/
|
140
|
+
BDCSVD(const MatrixType& matrix, unsigned int computationOptions = 0)
|
141
|
+
: m_algoswap(16), m_numIters(0)
|
142
|
+
{
|
143
|
+
compute(matrix, computationOptions);
|
144
|
+
}
|
145
|
+
|
146
|
+
~BDCSVD()
|
147
|
+
{
|
148
|
+
}
|
149
|
+
|
150
|
+
/** \brief Method performing the decomposition of given matrix using custom options.
|
151
|
+
*
|
152
|
+
* \param matrix the matrix to decompose
|
153
|
+
* \param computationOptions optional parameter allowing to specify if you want full or thin U or V unitaries to be computed.
|
154
|
+
* By default, none is computed. This is a bit - field, the possible bits are #ComputeFullU, #ComputeThinU,
|
155
|
+
* #ComputeFullV, #ComputeThinV.
|
156
|
+
*
|
157
|
+
* Thin unitaries are only available if your matrix type has a Dynamic number of columns (for example MatrixXf). They also are not
|
158
|
+
* available with the (non - default) FullPivHouseholderQR preconditioner.
|
159
|
+
*/
|
160
|
+
BDCSVD& compute(const MatrixType& matrix, unsigned int computationOptions);
|
161
|
+
|
162
|
+
/** \brief Method performing the decomposition of given matrix using current options.
|
163
|
+
*
|
164
|
+
* \param matrix the matrix to decompose
|
165
|
+
*
|
166
|
+
* This method uses the current \a computationOptions, as already passed to the constructor or to compute(const MatrixType&, unsigned int).
|
167
|
+
*/
|
168
|
+
BDCSVD& compute(const MatrixType& matrix)
|
169
|
+
{
|
170
|
+
return compute(matrix, this->m_computationOptions);
|
171
|
+
}
|
172
|
+
|
173
|
+
void setSwitchSize(int s)
|
174
|
+
{
|
175
|
+
eigen_assert(s>3 && "BDCSVD the size of the algo switch has to be greater than 3");
|
176
|
+
m_algoswap = s;
|
177
|
+
}
|
178
|
+
|
179
|
+
private:
|
180
|
+
void allocate(Index rows, Index cols, unsigned int computationOptions);
|
181
|
+
void divide(Index firstCol, Index lastCol, Index firstRowW, Index firstColW, Index shift);
|
182
|
+
void computeSVDofM(Index firstCol, Index n, MatrixXr& U, VectorType& singVals, MatrixXr& V);
|
183
|
+
void computeSingVals(const ArrayRef& col0, const ArrayRef& diag, const IndicesRef& perm, VectorType& singVals, ArrayRef shifts, ArrayRef mus);
|
184
|
+
void perturbCol0(const ArrayRef& col0, const ArrayRef& diag, const IndicesRef& perm, const VectorType& singVals, const ArrayRef& shifts, const ArrayRef& mus, ArrayRef zhat);
|
185
|
+
void computeSingVecs(const ArrayRef& zhat, const ArrayRef& diag, const IndicesRef& perm, const VectorType& singVals, const ArrayRef& shifts, const ArrayRef& mus, MatrixXr& U, MatrixXr& V);
|
186
|
+
void deflation43(Index firstCol, Index shift, Index i, Index size);
|
187
|
+
void deflation44(Index firstColu , Index firstColm, Index firstRowW, Index firstColW, Index i, Index j, Index size);
|
188
|
+
void deflation(Index firstCol, Index lastCol, Index k, Index firstRowW, Index firstColW, Index shift);
|
189
|
+
template<typename HouseholderU, typename HouseholderV, typename NaiveU, typename NaiveV>
|
190
|
+
void copyUV(const HouseholderU &householderU, const HouseholderV &householderV, const NaiveU &naiveU, const NaiveV &naivev);
|
191
|
+
void structured_update(Block<MatrixXr,Dynamic,Dynamic> A, const MatrixXr &B, Index n1);
|
192
|
+
static RealScalar secularEq(RealScalar x, const ArrayRef& col0, const ArrayRef& diag, const IndicesRef &perm, const ArrayRef& diagShifted, RealScalar shift);
|
193
|
+
|
194
|
+
protected:
|
195
|
+
MatrixXr m_naiveU, m_naiveV;
|
196
|
+
MatrixXr m_computed;
|
197
|
+
Index m_nRec;
|
198
|
+
ArrayXr m_workspace;
|
199
|
+
ArrayXi m_workspaceI;
|
200
|
+
int m_algoswap;
|
201
|
+
bool m_isTranspose, m_compU, m_compV;
|
202
|
+
|
203
|
+
using Base::m_singularValues;
|
204
|
+
using Base::m_diagSize;
|
205
|
+
using Base::m_computeFullU;
|
206
|
+
using Base::m_computeFullV;
|
207
|
+
using Base::m_computeThinU;
|
208
|
+
using Base::m_computeThinV;
|
209
|
+
using Base::m_matrixU;
|
210
|
+
using Base::m_matrixV;
|
211
|
+
using Base::m_info;
|
212
|
+
using Base::m_isInitialized;
|
213
|
+
using Base::m_nonzeroSingularValues;
|
214
|
+
|
215
|
+
public:
|
216
|
+
int m_numIters;
|
217
|
+
}; //end class BDCSVD
|
218
|
+
|
219
|
+
|
220
|
+
// Method to allocate and initialize matrix and attributes
|
221
|
+
template<typename MatrixType>
|
222
|
+
void BDCSVD<MatrixType>::allocate(Eigen::Index rows, Eigen::Index cols, unsigned int computationOptions)
|
223
|
+
{
|
224
|
+
m_isTranspose = (cols > rows);
|
225
|
+
|
226
|
+
if (Base::allocate(rows, cols, computationOptions))
|
227
|
+
return;
|
228
|
+
|
229
|
+
m_computed = MatrixXr::Zero(m_diagSize + 1, m_diagSize );
|
230
|
+
m_compU = computeV();
|
231
|
+
m_compV = computeU();
|
232
|
+
if (m_isTranspose)
|
233
|
+
std::swap(m_compU, m_compV);
|
234
|
+
|
235
|
+
if (m_compU) m_naiveU = MatrixXr::Zero(m_diagSize + 1, m_diagSize + 1 );
|
236
|
+
else m_naiveU = MatrixXr::Zero(2, m_diagSize + 1 );
|
237
|
+
|
238
|
+
if (m_compV) m_naiveV = MatrixXr::Zero(m_diagSize, m_diagSize);
|
239
|
+
|
240
|
+
m_workspace.resize((m_diagSize+1)*(m_diagSize+1)*3);
|
241
|
+
m_workspaceI.resize(3*m_diagSize);
|
242
|
+
}// end allocate
|
243
|
+
|
244
|
+
template<typename MatrixType>
|
245
|
+
BDCSVD<MatrixType>& BDCSVD<MatrixType>::compute(const MatrixType& matrix, unsigned int computationOptions)
|
246
|
+
{
|
247
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
248
|
+
std::cout << "\n\n\n======================================================================================================================\n\n\n";
|
249
|
+
#endif
|
250
|
+
allocate(matrix.rows(), matrix.cols(), computationOptions);
|
251
|
+
using std::abs;
|
252
|
+
|
253
|
+
const RealScalar considerZero = (std::numeric_limits<RealScalar>::min)();
|
254
|
+
|
255
|
+
//**** step -1 - If the problem is too small, directly falls back to JacobiSVD and return
|
256
|
+
if(matrix.cols() < m_algoswap)
|
257
|
+
{
|
258
|
+
// FIXME this line involves temporaries
|
259
|
+
JacobiSVD<MatrixType> jsvd(matrix,computationOptions);
|
260
|
+
m_isInitialized = true;
|
261
|
+
m_info = jsvd.info();
|
262
|
+
if (m_info == Success || m_info == NoConvergence) {
|
263
|
+
if(computeU()) m_matrixU = jsvd.matrixU();
|
264
|
+
if(computeV()) m_matrixV = jsvd.matrixV();
|
265
|
+
m_singularValues = jsvd.singularValues();
|
266
|
+
m_nonzeroSingularValues = jsvd.nonzeroSingularValues();
|
267
|
+
}
|
268
|
+
return *this;
|
269
|
+
}
|
270
|
+
|
271
|
+
//**** step 0 - Copy the input matrix and apply scaling to reduce over/under-flows
|
272
|
+
RealScalar scale = matrix.cwiseAbs().template maxCoeff<PropagateNaN>();
|
273
|
+
if (!(numext::isfinite)(scale)) {
|
274
|
+
m_isInitialized = true;
|
275
|
+
m_info = InvalidInput;
|
276
|
+
return *this;
|
277
|
+
}
|
278
|
+
|
279
|
+
if(scale==Literal(0)) scale = Literal(1);
|
280
|
+
MatrixX copy;
|
281
|
+
if (m_isTranspose) copy = matrix.adjoint()/scale;
|
282
|
+
else copy = matrix/scale;
|
283
|
+
|
284
|
+
//**** step 1 - Bidiagonalization
|
285
|
+
// FIXME this line involves temporaries
|
286
|
+
internal::UpperBidiagonalization<MatrixX> bid(copy);
|
287
|
+
|
288
|
+
//**** step 2 - Divide & Conquer
|
289
|
+
m_naiveU.setZero();
|
290
|
+
m_naiveV.setZero();
|
291
|
+
// FIXME this line involves a temporary matrix
|
292
|
+
m_computed.topRows(m_diagSize) = bid.bidiagonal().toDenseMatrix().transpose();
|
293
|
+
m_computed.template bottomRows<1>().setZero();
|
294
|
+
divide(0, m_diagSize - 1, 0, 0, 0);
|
295
|
+
if (m_info != Success && m_info != NoConvergence) {
|
296
|
+
m_isInitialized = true;
|
297
|
+
return *this;
|
298
|
+
}
|
299
|
+
|
300
|
+
//**** step 3 - Copy singular values and vectors
|
301
|
+
for (int i=0; i<m_diagSize; i++)
|
302
|
+
{
|
303
|
+
RealScalar a = abs(m_computed.coeff(i, i));
|
304
|
+
m_singularValues.coeffRef(i) = a * scale;
|
305
|
+
if (a<considerZero)
|
306
|
+
{
|
307
|
+
m_nonzeroSingularValues = i;
|
308
|
+
m_singularValues.tail(m_diagSize - i - 1).setZero();
|
309
|
+
break;
|
310
|
+
}
|
311
|
+
else if (i == m_diagSize - 1)
|
312
|
+
{
|
313
|
+
m_nonzeroSingularValues = i + 1;
|
314
|
+
break;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
|
318
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
319
|
+
// std::cout << "m_naiveU\n" << m_naiveU << "\n\n";
|
320
|
+
// std::cout << "m_naiveV\n" << m_naiveV << "\n\n";
|
321
|
+
#endif
|
322
|
+
if(m_isTranspose) copyUV(bid.householderV(), bid.householderU(), m_naiveV, m_naiveU);
|
323
|
+
else copyUV(bid.householderU(), bid.householderV(), m_naiveU, m_naiveV);
|
324
|
+
|
325
|
+
m_isInitialized = true;
|
326
|
+
return *this;
|
327
|
+
}// end compute
|
328
|
+
|
329
|
+
|
330
|
+
template<typename MatrixType>
|
331
|
+
template<typename HouseholderU, typename HouseholderV, typename NaiveU, typename NaiveV>
|
332
|
+
void BDCSVD<MatrixType>::copyUV(const HouseholderU &householderU, const HouseholderV &householderV, const NaiveU &naiveU, const NaiveV &naiveV)
|
333
|
+
{
|
334
|
+
// Note exchange of U and V: m_matrixU is set from m_naiveV and vice versa
|
335
|
+
if (computeU())
|
336
|
+
{
|
337
|
+
Index Ucols = m_computeThinU ? m_diagSize : householderU.cols();
|
338
|
+
m_matrixU = MatrixX::Identity(householderU.cols(), Ucols);
|
339
|
+
m_matrixU.topLeftCorner(m_diagSize, m_diagSize) = naiveV.template cast<Scalar>().topLeftCorner(m_diagSize, m_diagSize);
|
340
|
+
householderU.applyThisOnTheLeft(m_matrixU); // FIXME this line involves a temporary buffer
|
341
|
+
}
|
342
|
+
if (computeV())
|
343
|
+
{
|
344
|
+
Index Vcols = m_computeThinV ? m_diagSize : householderV.cols();
|
345
|
+
m_matrixV = MatrixX::Identity(householderV.cols(), Vcols);
|
346
|
+
m_matrixV.topLeftCorner(m_diagSize, m_diagSize) = naiveU.template cast<Scalar>().topLeftCorner(m_diagSize, m_diagSize);
|
347
|
+
householderV.applyThisOnTheLeft(m_matrixV); // FIXME this line involves a temporary buffer
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
/** \internal
|
352
|
+
* Performs A = A * B exploiting the special structure of the matrix A. Splitting A as:
|
353
|
+
* A = [A1]
|
354
|
+
* [A2]
|
355
|
+
* such that A1.rows()==n1, then we assume that at least half of the columns of A1 and A2 are zeros.
|
356
|
+
* We can thus pack them prior to the the matrix product. However, this is only worth the effort if the matrix is large
|
357
|
+
* enough.
|
358
|
+
*/
|
359
|
+
template<typename MatrixType>
|
360
|
+
void BDCSVD<MatrixType>::structured_update(Block<MatrixXr,Dynamic,Dynamic> A, const MatrixXr &B, Index n1)
|
361
|
+
{
|
362
|
+
Index n = A.rows();
|
363
|
+
if(n>100)
|
364
|
+
{
|
365
|
+
// If the matrices are large enough, let's exploit the sparse structure of A by
|
366
|
+
// splitting it in half (wrt n1), and packing the non-zero columns.
|
367
|
+
Index n2 = n - n1;
|
368
|
+
Map<MatrixXr> A1(m_workspace.data() , n1, n);
|
369
|
+
Map<MatrixXr> A2(m_workspace.data()+ n1*n, n2, n);
|
370
|
+
Map<MatrixXr> B1(m_workspace.data()+ n*n, n, n);
|
371
|
+
Map<MatrixXr> B2(m_workspace.data()+2*n*n, n, n);
|
372
|
+
Index k1=0, k2=0;
|
373
|
+
for(Index j=0; j<n; ++j)
|
374
|
+
{
|
375
|
+
if( (A.col(j).head(n1).array()!=Literal(0)).any() )
|
376
|
+
{
|
377
|
+
A1.col(k1) = A.col(j).head(n1);
|
378
|
+
B1.row(k1) = B.row(j);
|
379
|
+
++k1;
|
380
|
+
}
|
381
|
+
if( (A.col(j).tail(n2).array()!=Literal(0)).any() )
|
382
|
+
{
|
383
|
+
A2.col(k2) = A.col(j).tail(n2);
|
384
|
+
B2.row(k2) = B.row(j);
|
385
|
+
++k2;
|
386
|
+
}
|
387
|
+
}
|
388
|
+
|
389
|
+
A.topRows(n1).noalias() = A1.leftCols(k1) * B1.topRows(k1);
|
390
|
+
A.bottomRows(n2).noalias() = A2.leftCols(k2) * B2.topRows(k2);
|
391
|
+
}
|
392
|
+
else
|
393
|
+
{
|
394
|
+
Map<MatrixXr,Aligned> tmp(m_workspace.data(),n,n);
|
395
|
+
tmp.noalias() = A*B;
|
396
|
+
A = tmp;
|
397
|
+
}
|
398
|
+
}
|
399
|
+
|
400
|
+
// The divide algorithm is done "in place", we are always working on subsets of the same matrix. The divide methods takes as argument the
|
401
|
+
// place of the submatrix we are currently working on.
|
402
|
+
|
403
|
+
//@param firstCol : The Index of the first column of the submatrix of m_computed and for m_naiveU;
|
404
|
+
//@param lastCol : The Index of the last column of the submatrix of m_computed and for m_naiveU;
|
405
|
+
// lastCol + 1 - firstCol is the size of the submatrix.
|
406
|
+
//@param firstRowW : The Index of the first row of the matrix W that we are to change. (see the reference paper section 1 for more information on W)
|
407
|
+
//@param firstRowW : Same as firstRowW with the column.
|
408
|
+
//@param shift : Each time one takes the left submatrix, one must add 1 to the shift. Why? Because! We actually want the last column of the U submatrix
|
409
|
+
// to become the first column (*coeff) and to shift all the other columns to the right. There are more details on the reference paper.
|
410
|
+
template<typename MatrixType>
|
411
|
+
void BDCSVD<MatrixType>::divide(Eigen::Index firstCol, Eigen::Index lastCol, Eigen::Index firstRowW, Eigen::Index firstColW, Eigen::Index shift)
|
412
|
+
{
|
413
|
+
// requires rows = cols + 1;
|
414
|
+
using std::pow;
|
415
|
+
using std::sqrt;
|
416
|
+
using std::abs;
|
417
|
+
const Index n = lastCol - firstCol + 1;
|
418
|
+
const Index k = n/2;
|
419
|
+
const RealScalar considerZero = (std::numeric_limits<RealScalar>::min)();
|
420
|
+
RealScalar alphaK;
|
421
|
+
RealScalar betaK;
|
422
|
+
RealScalar r0;
|
423
|
+
RealScalar lambda, phi, c0, s0;
|
424
|
+
VectorType l, f;
|
425
|
+
// We use the other algorithm which is more efficient for small
|
426
|
+
// matrices.
|
427
|
+
if (n < m_algoswap)
|
428
|
+
{
|
429
|
+
// FIXME this line involves temporaries
|
430
|
+
JacobiSVD<MatrixXr> b(m_computed.block(firstCol, firstCol, n + 1, n), ComputeFullU | (m_compV ? ComputeFullV : 0));
|
431
|
+
m_info = b.info();
|
432
|
+
if (m_info != Success && m_info != NoConvergence) return;
|
433
|
+
if (m_compU)
|
434
|
+
m_naiveU.block(firstCol, firstCol, n + 1, n + 1).real() = b.matrixU();
|
435
|
+
else
|
436
|
+
{
|
437
|
+
m_naiveU.row(0).segment(firstCol, n + 1).real() = b.matrixU().row(0);
|
438
|
+
m_naiveU.row(1).segment(firstCol, n + 1).real() = b.matrixU().row(n);
|
439
|
+
}
|
440
|
+
if (m_compV) m_naiveV.block(firstRowW, firstColW, n, n).real() = b.matrixV();
|
441
|
+
m_computed.block(firstCol + shift, firstCol + shift, n + 1, n).setZero();
|
442
|
+
m_computed.diagonal().segment(firstCol + shift, n) = b.singularValues().head(n);
|
443
|
+
return;
|
444
|
+
}
|
445
|
+
// We use the divide and conquer algorithm
|
446
|
+
alphaK = m_computed(firstCol + k, firstCol + k);
|
447
|
+
betaK = m_computed(firstCol + k + 1, firstCol + k);
|
448
|
+
// The divide must be done in that order in order to have good results. Divide change the data inside the submatrices
|
449
|
+
// and the divide of the right submatrice reads one column of the left submatrice. That's why we need to treat the
|
450
|
+
// right submatrix before the left one.
|
451
|
+
divide(k + 1 + firstCol, lastCol, k + 1 + firstRowW, k + 1 + firstColW, shift);
|
452
|
+
if (m_info != Success && m_info != NoConvergence) return;
|
453
|
+
divide(firstCol, k - 1 + firstCol, firstRowW, firstColW + 1, shift + 1);
|
454
|
+
if (m_info != Success && m_info != NoConvergence) return;
|
455
|
+
|
456
|
+
if (m_compU)
|
457
|
+
{
|
458
|
+
lambda = m_naiveU(firstCol + k, firstCol + k);
|
459
|
+
phi = m_naiveU(firstCol + k + 1, lastCol + 1);
|
460
|
+
}
|
461
|
+
else
|
462
|
+
{
|
463
|
+
lambda = m_naiveU(1, firstCol + k);
|
464
|
+
phi = m_naiveU(0, lastCol + 1);
|
465
|
+
}
|
466
|
+
r0 = sqrt((abs(alphaK * lambda) * abs(alphaK * lambda)) + abs(betaK * phi) * abs(betaK * phi));
|
467
|
+
if (m_compU)
|
468
|
+
{
|
469
|
+
l = m_naiveU.row(firstCol + k).segment(firstCol, k);
|
470
|
+
f = m_naiveU.row(firstCol + k + 1).segment(firstCol + k + 1, n - k - 1);
|
471
|
+
}
|
472
|
+
else
|
473
|
+
{
|
474
|
+
l = m_naiveU.row(1).segment(firstCol, k);
|
475
|
+
f = m_naiveU.row(0).segment(firstCol + k + 1, n - k - 1);
|
476
|
+
}
|
477
|
+
if (m_compV) m_naiveV(firstRowW+k, firstColW) = Literal(1);
|
478
|
+
if (r0<considerZero)
|
479
|
+
{
|
480
|
+
c0 = Literal(1);
|
481
|
+
s0 = Literal(0);
|
482
|
+
}
|
483
|
+
else
|
484
|
+
{
|
485
|
+
c0 = alphaK * lambda / r0;
|
486
|
+
s0 = betaK * phi / r0;
|
487
|
+
}
|
488
|
+
|
489
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
490
|
+
assert(m_naiveU.allFinite());
|
491
|
+
assert(m_naiveV.allFinite());
|
492
|
+
assert(m_computed.allFinite());
|
493
|
+
#endif
|
494
|
+
|
495
|
+
if (m_compU)
|
496
|
+
{
|
497
|
+
MatrixXr q1 (m_naiveU.col(firstCol + k).segment(firstCol, k + 1));
|
498
|
+
// we shiftW Q1 to the right
|
499
|
+
for (Index i = firstCol + k - 1; i >= firstCol; i--)
|
500
|
+
m_naiveU.col(i + 1).segment(firstCol, k + 1) = m_naiveU.col(i).segment(firstCol, k + 1);
|
501
|
+
// we shift q1 at the left with a factor c0
|
502
|
+
m_naiveU.col(firstCol).segment( firstCol, k + 1) = (q1 * c0);
|
503
|
+
// last column = q1 * - s0
|
504
|
+
m_naiveU.col(lastCol + 1).segment(firstCol, k + 1) = (q1 * ( - s0));
|
505
|
+
// first column = q2 * s0
|
506
|
+
m_naiveU.col(firstCol).segment(firstCol + k + 1, n - k) = m_naiveU.col(lastCol + 1).segment(firstCol + k + 1, n - k) * s0;
|
507
|
+
// q2 *= c0
|
508
|
+
m_naiveU.col(lastCol + 1).segment(firstCol + k + 1, n - k) *= c0;
|
509
|
+
}
|
510
|
+
else
|
511
|
+
{
|
512
|
+
RealScalar q1 = m_naiveU(0, firstCol + k);
|
513
|
+
// we shift Q1 to the right
|
514
|
+
for (Index i = firstCol + k - 1; i >= firstCol; i--)
|
515
|
+
m_naiveU(0, i + 1) = m_naiveU(0, i);
|
516
|
+
// we shift q1 at the left with a factor c0
|
517
|
+
m_naiveU(0, firstCol) = (q1 * c0);
|
518
|
+
// last column = q1 * - s0
|
519
|
+
m_naiveU(0, lastCol + 1) = (q1 * ( - s0));
|
520
|
+
// first column = q2 * s0
|
521
|
+
m_naiveU(1, firstCol) = m_naiveU(1, lastCol + 1) *s0;
|
522
|
+
// q2 *= c0
|
523
|
+
m_naiveU(1, lastCol + 1) *= c0;
|
524
|
+
m_naiveU.row(1).segment(firstCol + 1, k).setZero();
|
525
|
+
m_naiveU.row(0).segment(firstCol + k + 1, n - k - 1).setZero();
|
526
|
+
}
|
527
|
+
|
528
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
529
|
+
assert(m_naiveU.allFinite());
|
530
|
+
assert(m_naiveV.allFinite());
|
531
|
+
assert(m_computed.allFinite());
|
532
|
+
#endif
|
533
|
+
|
534
|
+
m_computed(firstCol + shift, firstCol + shift) = r0;
|
535
|
+
m_computed.col(firstCol + shift).segment(firstCol + shift + 1, k) = alphaK * l.transpose().real();
|
536
|
+
m_computed.col(firstCol + shift).segment(firstCol + shift + k + 1, n - k - 1) = betaK * f.transpose().real();
|
537
|
+
|
538
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
539
|
+
ArrayXr tmp1 = (m_computed.block(firstCol+shift, firstCol+shift, n, n)).jacobiSvd().singularValues();
|
540
|
+
#endif
|
541
|
+
// Second part: try to deflate singular values in combined matrix
|
542
|
+
deflation(firstCol, lastCol, k, firstRowW, firstColW, shift);
|
543
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
544
|
+
ArrayXr tmp2 = (m_computed.block(firstCol+shift, firstCol+shift, n, n)).jacobiSvd().singularValues();
|
545
|
+
std::cout << "\n\nj1 = " << tmp1.transpose().format(bdcsvdfmt) << "\n";
|
546
|
+
std::cout << "j2 = " << tmp2.transpose().format(bdcsvdfmt) << "\n\n";
|
547
|
+
std::cout << "err: " << ((tmp1-tmp2).abs()>1e-12*tmp2.abs()).transpose() << "\n";
|
548
|
+
static int count = 0;
|
549
|
+
std::cout << "# " << ++count << "\n\n";
|
550
|
+
assert((tmp1-tmp2).matrix().norm() < 1e-14*tmp2.matrix().norm());
|
551
|
+
// assert(count<681);
|
552
|
+
// assert(((tmp1-tmp2).abs()<1e-13*tmp2.abs()).all());
|
553
|
+
#endif
|
554
|
+
|
555
|
+
// Third part: compute SVD of combined matrix
|
556
|
+
MatrixXr UofSVD, VofSVD;
|
557
|
+
VectorType singVals;
|
558
|
+
computeSVDofM(firstCol + shift, n, UofSVD, singVals, VofSVD);
|
559
|
+
|
560
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
561
|
+
assert(UofSVD.allFinite());
|
562
|
+
assert(VofSVD.allFinite());
|
563
|
+
#endif
|
564
|
+
|
565
|
+
if (m_compU)
|
566
|
+
structured_update(m_naiveU.block(firstCol, firstCol, n + 1, n + 1), UofSVD, (n+2)/2);
|
567
|
+
else
|
568
|
+
{
|
569
|
+
Map<Matrix<RealScalar,2,Dynamic>,Aligned> tmp(m_workspace.data(),2,n+1);
|
570
|
+
tmp.noalias() = m_naiveU.middleCols(firstCol, n+1) * UofSVD;
|
571
|
+
m_naiveU.middleCols(firstCol, n + 1) = tmp;
|
572
|
+
}
|
573
|
+
|
574
|
+
if (m_compV) structured_update(m_naiveV.block(firstRowW, firstColW, n, n), VofSVD, (n+1)/2);
|
575
|
+
|
576
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
577
|
+
assert(m_naiveU.allFinite());
|
578
|
+
assert(m_naiveV.allFinite());
|
579
|
+
assert(m_computed.allFinite());
|
580
|
+
#endif
|
581
|
+
|
582
|
+
m_computed.block(firstCol + shift, firstCol + shift, n, n).setZero();
|
583
|
+
m_computed.block(firstCol + shift, firstCol + shift, n, n).diagonal() = singVals;
|
584
|
+
}// end divide
|
585
|
+
|
586
|
+
// Compute SVD of m_computed.block(firstCol, firstCol, n + 1, n); this block only has non-zeros in
|
587
|
+
// the first column and on the diagonal and has undergone deflation, so diagonal is in increasing
|
588
|
+
// order except for possibly the (0,0) entry. The computed SVD is stored U, singVals and V, except
|
589
|
+
// that if m_compV is false, then V is not computed. Singular values are sorted in decreasing order.
|
590
|
+
//
|
591
|
+
// TODO Opportunities for optimization: better root finding algo, better stopping criterion, better
|
592
|
+
// handling of round-off errors, be consistent in ordering
|
593
|
+
// For instance, to solve the secular equation using FMM, see http://www.stat.uchicago.edu/~lekheng/courses/302/classics/greengard-rokhlin.pdf
|
594
|
+
template <typename MatrixType>
|
595
|
+
void BDCSVD<MatrixType>::computeSVDofM(Eigen::Index firstCol, Eigen::Index n, MatrixXr& U, VectorType& singVals, MatrixXr& V)
|
596
|
+
{
|
597
|
+
const RealScalar considerZero = (std::numeric_limits<RealScalar>::min)();
|
598
|
+
using std::abs;
|
599
|
+
ArrayRef col0 = m_computed.col(firstCol).segment(firstCol, n);
|
600
|
+
m_workspace.head(n) = m_computed.block(firstCol, firstCol, n, n).diagonal();
|
601
|
+
ArrayRef diag = m_workspace.head(n);
|
602
|
+
diag(0) = Literal(0);
|
603
|
+
|
604
|
+
// Allocate space for singular values and vectors
|
605
|
+
singVals.resize(n);
|
606
|
+
U.resize(n+1, n+1);
|
607
|
+
if (m_compV) V.resize(n, n);
|
608
|
+
|
609
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
610
|
+
if (col0.hasNaN() || diag.hasNaN())
|
611
|
+
std::cout << "\n\nHAS NAN\n\n";
|
612
|
+
#endif
|
613
|
+
|
614
|
+
// Many singular values might have been deflated, the zero ones have been moved to the end,
|
615
|
+
// but others are interleaved and we must ignore them at this stage.
|
616
|
+
// To this end, let's compute a permutation skipping them:
|
617
|
+
Index actual_n = n;
|
618
|
+
while(actual_n>1 && diag(actual_n-1)==Literal(0)) {--actual_n; eigen_internal_assert(col0(actual_n)==Literal(0)); }
|
619
|
+
Index m = 0; // size of the deflated problem
|
620
|
+
for(Index k=0;k<actual_n;++k)
|
621
|
+
if(abs(col0(k))>considerZero)
|
622
|
+
m_workspaceI(m++) = k;
|
623
|
+
Map<ArrayXi> perm(m_workspaceI.data(),m);
|
624
|
+
|
625
|
+
Map<ArrayXr> shifts(m_workspace.data()+1*n, n);
|
626
|
+
Map<ArrayXr> mus(m_workspace.data()+2*n, n);
|
627
|
+
Map<ArrayXr> zhat(m_workspace.data()+3*n, n);
|
628
|
+
|
629
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
630
|
+
std::cout << "computeSVDofM using:\n";
|
631
|
+
std::cout << " z: " << col0.transpose() << "\n";
|
632
|
+
std::cout << " d: " << diag.transpose() << "\n";
|
633
|
+
#endif
|
634
|
+
|
635
|
+
// Compute singVals, shifts, and mus
|
636
|
+
computeSingVals(col0, diag, perm, singVals, shifts, mus);
|
637
|
+
|
638
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
639
|
+
std::cout << " j: " << (m_computed.block(firstCol, firstCol, n, n)).jacobiSvd().singularValues().transpose().reverse() << "\n\n";
|
640
|
+
std::cout << " sing-val: " << singVals.transpose() << "\n";
|
641
|
+
std::cout << " mu: " << mus.transpose() << "\n";
|
642
|
+
std::cout << " shift: " << shifts.transpose() << "\n";
|
643
|
+
|
644
|
+
{
|
645
|
+
std::cout << "\n\n mus: " << mus.head(actual_n).transpose() << "\n\n";
|
646
|
+
std::cout << " check1 (expect0) : " << ((singVals.array()-(shifts+mus)) / singVals.array()).head(actual_n).transpose() << "\n\n";
|
647
|
+
assert((((singVals.array()-(shifts+mus)) / singVals.array()).head(actual_n) >= 0).all());
|
648
|
+
std::cout << " check2 (>0) : " << ((singVals.array()-diag) / singVals.array()).head(actual_n).transpose() << "\n\n";
|
649
|
+
assert((((singVals.array()-diag) / singVals.array()).head(actual_n) >= 0).all());
|
650
|
+
}
|
651
|
+
#endif
|
652
|
+
|
653
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
654
|
+
assert(singVals.allFinite());
|
655
|
+
assert(mus.allFinite());
|
656
|
+
assert(shifts.allFinite());
|
657
|
+
#endif
|
658
|
+
|
659
|
+
// Compute zhat
|
660
|
+
perturbCol0(col0, diag, perm, singVals, shifts, mus, zhat);
|
661
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
662
|
+
std::cout << " zhat: " << zhat.transpose() << "\n";
|
663
|
+
#endif
|
664
|
+
|
665
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
666
|
+
assert(zhat.allFinite());
|
667
|
+
#endif
|
668
|
+
|
669
|
+
computeSingVecs(zhat, diag, perm, singVals, shifts, mus, U, V);
|
670
|
+
|
671
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
672
|
+
std::cout << "U^T U: " << (U.transpose() * U - MatrixXr(MatrixXr::Identity(U.cols(),U.cols()))).norm() << "\n";
|
673
|
+
std::cout << "V^T V: " << (V.transpose() * V - MatrixXr(MatrixXr::Identity(V.cols(),V.cols()))).norm() << "\n";
|
674
|
+
#endif
|
675
|
+
|
676
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
677
|
+
assert(m_naiveU.allFinite());
|
678
|
+
assert(m_naiveV.allFinite());
|
679
|
+
assert(m_computed.allFinite());
|
680
|
+
assert(U.allFinite());
|
681
|
+
assert(V.allFinite());
|
682
|
+
// assert((U.transpose() * U - MatrixXr(MatrixXr::Identity(U.cols(),U.cols()))).norm() < 100*NumTraits<RealScalar>::epsilon() * n);
|
683
|
+
// assert((V.transpose() * V - MatrixXr(MatrixXr::Identity(V.cols(),V.cols()))).norm() < 100*NumTraits<RealScalar>::epsilon() * n);
|
684
|
+
#endif
|
685
|
+
|
686
|
+
// Because of deflation, the singular values might not be completely sorted.
|
687
|
+
// Fortunately, reordering them is a O(n) problem
|
688
|
+
for(Index i=0; i<actual_n-1; ++i)
|
689
|
+
{
|
690
|
+
if(singVals(i)>singVals(i+1))
|
691
|
+
{
|
692
|
+
using std::swap;
|
693
|
+
swap(singVals(i),singVals(i+1));
|
694
|
+
U.col(i).swap(U.col(i+1));
|
695
|
+
if(m_compV) V.col(i).swap(V.col(i+1));
|
696
|
+
}
|
697
|
+
}
|
698
|
+
|
699
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
700
|
+
{
|
701
|
+
bool singular_values_sorted = (((singVals.segment(1,actual_n-1)-singVals.head(actual_n-1))).array() >= 0).all();
|
702
|
+
if(!singular_values_sorted)
|
703
|
+
std::cout << "Singular values are not sorted: " << singVals.segment(1,actual_n).transpose() << "\n";
|
704
|
+
assert(singular_values_sorted);
|
705
|
+
}
|
706
|
+
#endif
|
707
|
+
|
708
|
+
// Reverse order so that singular values in increased order
|
709
|
+
// Because of deflation, the zeros singular-values are already at the end
|
710
|
+
singVals.head(actual_n).reverseInPlace();
|
711
|
+
U.leftCols(actual_n).rowwise().reverseInPlace();
|
712
|
+
if (m_compV) V.leftCols(actual_n).rowwise().reverseInPlace();
|
713
|
+
|
714
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
715
|
+
JacobiSVD<MatrixXr> jsvd(m_computed.block(firstCol, firstCol, n, n) );
|
716
|
+
std::cout << " * j: " << jsvd.singularValues().transpose() << "\n\n";
|
717
|
+
std::cout << " * sing-val: " << singVals.transpose() << "\n";
|
718
|
+
// std::cout << " * err: " << ((jsvd.singularValues()-singVals)>1e-13*singVals.norm()).transpose() << "\n";
|
719
|
+
#endif
|
720
|
+
}
|
721
|
+
|
722
|
+
template <typename MatrixType>
|
723
|
+
typename BDCSVD<MatrixType>::RealScalar BDCSVD<MatrixType>::secularEq(RealScalar mu, const ArrayRef& col0, const ArrayRef& diag, const IndicesRef &perm, const ArrayRef& diagShifted, RealScalar shift)
|
724
|
+
{
|
725
|
+
Index m = perm.size();
|
726
|
+
RealScalar res = Literal(1);
|
727
|
+
for(Index i=0; i<m; ++i)
|
728
|
+
{
|
729
|
+
Index j = perm(i);
|
730
|
+
// The following expression could be rewritten to involve only a single division,
|
731
|
+
// but this would make the expression more sensitive to overflow.
|
732
|
+
res += (col0(j) / (diagShifted(j) - mu)) * (col0(j) / (diag(j) + shift + mu));
|
733
|
+
}
|
734
|
+
return res;
|
735
|
+
|
736
|
+
}
|
737
|
+
|
738
|
+
template <typename MatrixType>
|
739
|
+
void BDCSVD<MatrixType>::computeSingVals(const ArrayRef& col0, const ArrayRef& diag, const IndicesRef &perm,
|
740
|
+
VectorType& singVals, ArrayRef shifts, ArrayRef mus)
|
741
|
+
{
|
742
|
+
using std::abs;
|
743
|
+
using std::swap;
|
744
|
+
using std::sqrt;
|
745
|
+
|
746
|
+
Index n = col0.size();
|
747
|
+
Index actual_n = n;
|
748
|
+
// Note that here actual_n is computed based on col0(i)==0 instead of diag(i)==0 as above
|
749
|
+
// because 1) we have diag(i)==0 => col0(i)==0 and 2) if col0(i)==0, then diag(i) is already a singular value.
|
750
|
+
while(actual_n>1 && col0(actual_n-1)==Literal(0)) --actual_n;
|
751
|
+
|
752
|
+
for (Index k = 0; k < n; ++k)
|
753
|
+
{
|
754
|
+
if (col0(k) == Literal(0) || actual_n==1)
|
755
|
+
{
|
756
|
+
// if col0(k) == 0, then entry is deflated, so singular value is on diagonal
|
757
|
+
// if actual_n==1, then the deflated problem is already diagonalized
|
758
|
+
singVals(k) = k==0 ? col0(0) : diag(k);
|
759
|
+
mus(k) = Literal(0);
|
760
|
+
shifts(k) = k==0 ? col0(0) : diag(k);
|
761
|
+
continue;
|
762
|
+
}
|
763
|
+
|
764
|
+
// otherwise, use secular equation to find singular value
|
765
|
+
RealScalar left = diag(k);
|
766
|
+
RealScalar right; // was: = (k != actual_n-1) ? diag(k+1) : (diag(actual_n-1) + col0.matrix().norm());
|
767
|
+
if(k==actual_n-1)
|
768
|
+
right = (diag(actual_n-1) + col0.matrix().norm());
|
769
|
+
else
|
770
|
+
{
|
771
|
+
// Skip deflated singular values,
|
772
|
+
// recall that at this stage we assume that z[j]!=0 and all entries for which z[j]==0 have been put aside.
|
773
|
+
// This should be equivalent to using perm[]
|
774
|
+
Index l = k+1;
|
775
|
+
while(col0(l)==Literal(0)) { ++l; eigen_internal_assert(l<actual_n); }
|
776
|
+
right = diag(l);
|
777
|
+
}
|
778
|
+
|
779
|
+
// first decide whether it's closer to the left end or the right end
|
780
|
+
RealScalar mid = left + (right-left) / Literal(2);
|
781
|
+
RealScalar fMid = secularEq(mid, col0, diag, perm, diag, Literal(0));
|
782
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
783
|
+
std::cout << "right-left = " << right-left << "\n";
|
784
|
+
// std::cout << "fMid = " << fMid << " " << secularEq(mid-left, col0, diag, perm, ArrayXr(diag-left), left)
|
785
|
+
// << " " << secularEq(mid-right, col0, diag, perm, ArrayXr(diag-right), right) << "\n";
|
786
|
+
std::cout << " = " << secularEq(left+RealScalar(0.000001)*(right-left), col0, diag, perm, diag, 0)
|
787
|
+
<< " " << secularEq(left+RealScalar(0.1) *(right-left), col0, diag, perm, diag, 0)
|
788
|
+
<< " " << secularEq(left+RealScalar(0.2) *(right-left), col0, diag, perm, diag, 0)
|
789
|
+
<< " " << secularEq(left+RealScalar(0.3) *(right-left), col0, diag, perm, diag, 0)
|
790
|
+
<< " " << secularEq(left+RealScalar(0.4) *(right-left), col0, diag, perm, diag, 0)
|
791
|
+
<< " " << secularEq(left+RealScalar(0.49) *(right-left), col0, diag, perm, diag, 0)
|
792
|
+
<< " " << secularEq(left+RealScalar(0.5) *(right-left), col0, diag, perm, diag, 0)
|
793
|
+
<< " " << secularEq(left+RealScalar(0.51) *(right-left), col0, diag, perm, diag, 0)
|
794
|
+
<< " " << secularEq(left+RealScalar(0.6) *(right-left), col0, diag, perm, diag, 0)
|
795
|
+
<< " " << secularEq(left+RealScalar(0.7) *(right-left), col0, diag, perm, diag, 0)
|
796
|
+
<< " " << secularEq(left+RealScalar(0.8) *(right-left), col0, diag, perm, diag, 0)
|
797
|
+
<< " " << secularEq(left+RealScalar(0.9) *(right-left), col0, diag, perm, diag, 0)
|
798
|
+
<< " " << secularEq(left+RealScalar(0.999999)*(right-left), col0, diag, perm, diag, 0) << "\n";
|
799
|
+
#endif
|
800
|
+
RealScalar shift = (k == actual_n-1 || fMid > Literal(0)) ? left : right;
|
801
|
+
|
802
|
+
// measure everything relative to shift
|
803
|
+
Map<ArrayXr> diagShifted(m_workspace.data()+4*n, n);
|
804
|
+
diagShifted = diag - shift;
|
805
|
+
|
806
|
+
if(k!=actual_n-1)
|
807
|
+
{
|
808
|
+
// check that after the shift, f(mid) is still negative:
|
809
|
+
RealScalar midShifted = (right - left) / RealScalar(2);
|
810
|
+
if(shift==right)
|
811
|
+
midShifted = -midShifted;
|
812
|
+
RealScalar fMidShifted = secularEq(midShifted, col0, diag, perm, diagShifted, shift);
|
813
|
+
if(fMidShifted>0)
|
814
|
+
{
|
815
|
+
// fMid was erroneous, fix it:
|
816
|
+
shift = fMidShifted > Literal(0) ? left : right;
|
817
|
+
diagShifted = diag - shift;
|
818
|
+
}
|
819
|
+
}
|
820
|
+
|
821
|
+
// initial guess
|
822
|
+
RealScalar muPrev, muCur;
|
823
|
+
if (shift == left)
|
824
|
+
{
|
825
|
+
muPrev = (right - left) * RealScalar(0.1);
|
826
|
+
if (k == actual_n-1) muCur = right - left;
|
827
|
+
else muCur = (right - left) * RealScalar(0.5);
|
828
|
+
}
|
829
|
+
else
|
830
|
+
{
|
831
|
+
muPrev = -(right - left) * RealScalar(0.1);
|
832
|
+
muCur = -(right - left) * RealScalar(0.5);
|
833
|
+
}
|
834
|
+
|
835
|
+
RealScalar fPrev = secularEq(muPrev, col0, diag, perm, diagShifted, shift);
|
836
|
+
RealScalar fCur = secularEq(muCur, col0, diag, perm, diagShifted, shift);
|
837
|
+
if (abs(fPrev) < abs(fCur))
|
838
|
+
{
|
839
|
+
swap(fPrev, fCur);
|
840
|
+
swap(muPrev, muCur);
|
841
|
+
}
|
842
|
+
|
843
|
+
// rational interpolation: fit a function of the form a / mu + b through the two previous
|
844
|
+
// iterates and use its zero to compute the next iterate
|
845
|
+
bool useBisection = fPrev*fCur>Literal(0);
|
846
|
+
while (fCur!=Literal(0) && abs(muCur - muPrev) > Literal(8) * NumTraits<RealScalar>::epsilon() * numext::maxi<RealScalar>(abs(muCur), abs(muPrev)) && abs(fCur - fPrev)>NumTraits<RealScalar>::epsilon() && !useBisection)
|
847
|
+
{
|
848
|
+
++m_numIters;
|
849
|
+
|
850
|
+
// Find a and b such that the function f(mu) = a / mu + b matches the current and previous samples.
|
851
|
+
RealScalar a = (fCur - fPrev) / (Literal(1)/muCur - Literal(1)/muPrev);
|
852
|
+
RealScalar b = fCur - a / muCur;
|
853
|
+
// And find mu such that f(mu)==0:
|
854
|
+
RealScalar muZero = -a/b;
|
855
|
+
RealScalar fZero = secularEq(muZero, col0, diag, perm, diagShifted, shift);
|
856
|
+
|
857
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
858
|
+
assert((numext::isfinite)(fZero));
|
859
|
+
#endif
|
860
|
+
|
861
|
+
muPrev = muCur;
|
862
|
+
fPrev = fCur;
|
863
|
+
muCur = muZero;
|
864
|
+
fCur = fZero;
|
865
|
+
|
866
|
+
if (shift == left && (muCur < Literal(0) || muCur > right - left)) useBisection = true;
|
867
|
+
if (shift == right && (muCur < -(right - left) || muCur > Literal(0))) useBisection = true;
|
868
|
+
if (abs(fCur)>abs(fPrev)) useBisection = true;
|
869
|
+
}
|
870
|
+
|
871
|
+
// fall back on bisection method if rational interpolation did not work
|
872
|
+
if (useBisection)
|
873
|
+
{
|
874
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
875
|
+
std::cout << "useBisection for k = " << k << ", actual_n = " << actual_n << "\n";
|
876
|
+
#endif
|
877
|
+
RealScalar leftShifted, rightShifted;
|
878
|
+
if (shift == left)
|
879
|
+
{
|
880
|
+
// to avoid overflow, we must have mu > max(real_min, |z(k)|/sqrt(real_max)),
|
881
|
+
// the factor 2 is to be more conservative
|
882
|
+
leftShifted = numext::maxi<RealScalar>( (std::numeric_limits<RealScalar>::min)(), Literal(2) * abs(col0(k)) / sqrt((std::numeric_limits<RealScalar>::max)()) );
|
883
|
+
|
884
|
+
// check that we did it right:
|
885
|
+
eigen_internal_assert( (numext::isfinite)( (col0(k)/leftShifted)*(col0(k)/(diag(k)+shift+leftShifted)) ) );
|
886
|
+
// I don't understand why the case k==0 would be special there:
|
887
|
+
// if (k == 0) rightShifted = right - left; else
|
888
|
+
rightShifted = (k==actual_n-1) ? right : ((right - left) * RealScalar(0.51)); // theoretically we can take 0.5, but let's be safe
|
889
|
+
}
|
890
|
+
else
|
891
|
+
{
|
892
|
+
leftShifted = -(right - left) * RealScalar(0.51);
|
893
|
+
if(k+1<n)
|
894
|
+
rightShifted = -numext::maxi<RealScalar>( (std::numeric_limits<RealScalar>::min)(), abs(col0(k+1)) / sqrt((std::numeric_limits<RealScalar>::max)()) );
|
895
|
+
else
|
896
|
+
rightShifted = -(std::numeric_limits<RealScalar>::min)();
|
897
|
+
}
|
898
|
+
|
899
|
+
RealScalar fLeft = secularEq(leftShifted, col0, diag, perm, diagShifted, shift);
|
900
|
+
eigen_internal_assert(fLeft<Literal(0));
|
901
|
+
|
902
|
+
#if defined EIGEN_INTERNAL_DEBUGGING || defined EIGEN_BDCSVD_SANITY_CHECKS
|
903
|
+
RealScalar fRight = secularEq(rightShifted, col0, diag, perm, diagShifted, shift);
|
904
|
+
#endif
|
905
|
+
|
906
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
907
|
+
if(!(numext::isfinite)(fLeft))
|
908
|
+
std::cout << "f(" << leftShifted << ") =" << fLeft << " ; " << left << " " << shift << " " << right << "\n";
|
909
|
+
assert((numext::isfinite)(fLeft));
|
910
|
+
|
911
|
+
if(!(numext::isfinite)(fRight))
|
912
|
+
std::cout << "f(" << rightShifted << ") =" << fRight << " ; " << left << " " << shift << " " << right << "\n";
|
913
|
+
// assert((numext::isfinite)(fRight));
|
914
|
+
#endif
|
915
|
+
|
916
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
917
|
+
if(!(fLeft * fRight<0))
|
918
|
+
{
|
919
|
+
std::cout << "f(leftShifted) using leftShifted=" << leftShifted << " ; diagShifted(1:10):" << diagShifted.head(10).transpose() << "\n ; "
|
920
|
+
<< "left==shift=" << bool(left==shift) << " ; left-shift = " << (left-shift) << "\n";
|
921
|
+
std::cout << "k=" << k << ", " << fLeft << " * " << fRight << " == " << fLeft * fRight << " ; "
|
922
|
+
<< "[" << left << " .. " << right << "] -> [" << leftShifted << " " << rightShifted << "], shift=" << shift
|
923
|
+
<< " , f(right)=" << secularEq(0, col0, diag, perm, diagShifted, shift)
|
924
|
+
<< " == " << secularEq(right, col0, diag, perm, diag, 0) << " == " << fRight << "\n";
|
925
|
+
}
|
926
|
+
#endif
|
927
|
+
eigen_internal_assert(fLeft * fRight < Literal(0));
|
928
|
+
|
929
|
+
if(fLeft<Literal(0))
|
930
|
+
{
|
931
|
+
while (rightShifted - leftShifted > Literal(2) * NumTraits<RealScalar>::epsilon() * numext::maxi<RealScalar>(abs(leftShifted), abs(rightShifted)))
|
932
|
+
{
|
933
|
+
RealScalar midShifted = (leftShifted + rightShifted) / Literal(2);
|
934
|
+
fMid = secularEq(midShifted, col0, diag, perm, diagShifted, shift);
|
935
|
+
eigen_internal_assert((numext::isfinite)(fMid));
|
936
|
+
|
937
|
+
if (fLeft * fMid < Literal(0))
|
938
|
+
{
|
939
|
+
rightShifted = midShifted;
|
940
|
+
}
|
941
|
+
else
|
942
|
+
{
|
943
|
+
leftShifted = midShifted;
|
944
|
+
fLeft = fMid;
|
945
|
+
}
|
946
|
+
}
|
947
|
+
muCur = (leftShifted + rightShifted) / Literal(2);
|
948
|
+
}
|
949
|
+
else
|
950
|
+
{
|
951
|
+
// We have a problem as shifting on the left or right give either a positive or negative value
|
952
|
+
// at the middle of [left,right]...
|
953
|
+
// Instead fo abbording or entering an infinite loop,
|
954
|
+
// let's just use the middle as the estimated zero-crossing:
|
955
|
+
muCur = (right - left) * RealScalar(0.5);
|
956
|
+
if(shift == right)
|
957
|
+
muCur = -muCur;
|
958
|
+
}
|
959
|
+
}
|
960
|
+
|
961
|
+
singVals[k] = shift + muCur;
|
962
|
+
shifts[k] = shift;
|
963
|
+
mus[k] = muCur;
|
964
|
+
|
965
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
966
|
+
if(k+1<n)
|
967
|
+
std::cout << "found " << singVals[k] << " == " << shift << " + " << muCur << " from " << diag(k) << " .. " << diag(k+1) << "\n";
|
968
|
+
#endif
|
969
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
970
|
+
assert(k==0 || singVals[k]>=singVals[k-1]);
|
971
|
+
assert(singVals[k]>=diag(k));
|
972
|
+
#endif
|
973
|
+
|
974
|
+
// perturb singular value slightly if it equals diagonal entry to avoid division by zero later
|
975
|
+
// (deflation is supposed to avoid this from happening)
|
976
|
+
// - this does no seem to be necessary anymore -
|
977
|
+
// if (singVals[k] == left) singVals[k] *= 1 + NumTraits<RealScalar>::epsilon();
|
978
|
+
// if (singVals[k] == right) singVals[k] *= 1 - NumTraits<RealScalar>::epsilon();
|
979
|
+
}
|
980
|
+
}
|
981
|
+
|
982
|
+
|
983
|
+
// zhat is perturbation of col0 for which singular vectors can be computed stably (see Section 3.1)
|
984
|
+
template <typename MatrixType>
|
985
|
+
void BDCSVD<MatrixType>::perturbCol0
|
986
|
+
(const ArrayRef& col0, const ArrayRef& diag, const IndicesRef &perm, const VectorType& singVals,
|
987
|
+
const ArrayRef& shifts, const ArrayRef& mus, ArrayRef zhat)
|
988
|
+
{
|
989
|
+
using std::sqrt;
|
990
|
+
Index n = col0.size();
|
991
|
+
Index m = perm.size();
|
992
|
+
if(m==0)
|
993
|
+
{
|
994
|
+
zhat.setZero();
|
995
|
+
return;
|
996
|
+
}
|
997
|
+
Index lastIdx = perm(m-1);
|
998
|
+
// The offset permits to skip deflated entries while computing zhat
|
999
|
+
for (Index k = 0; k < n; ++k)
|
1000
|
+
{
|
1001
|
+
if (col0(k) == Literal(0)) // deflated
|
1002
|
+
zhat(k) = Literal(0);
|
1003
|
+
else
|
1004
|
+
{
|
1005
|
+
// see equation (3.6)
|
1006
|
+
RealScalar dk = diag(k);
|
1007
|
+
RealScalar prod = (singVals(lastIdx) + dk) * (mus(lastIdx) + (shifts(lastIdx) - dk));
|
1008
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1009
|
+
if(prod<0) {
|
1010
|
+
std::cout << "k = " << k << " ; z(k)=" << col0(k) << ", diag(k)=" << dk << "\n";
|
1011
|
+
std::cout << "prod = " << "(" << singVals(lastIdx) << " + " << dk << ") * (" << mus(lastIdx) << " + (" << shifts(lastIdx) << " - " << dk << "))" << "\n";
|
1012
|
+
std::cout << " = " << singVals(lastIdx) + dk << " * " << mus(lastIdx) + (shifts(lastIdx) - dk) << "\n";
|
1013
|
+
}
|
1014
|
+
assert(prod>=0);
|
1015
|
+
#endif
|
1016
|
+
|
1017
|
+
for(Index l = 0; l<m; ++l)
|
1018
|
+
{
|
1019
|
+
Index i = perm(l);
|
1020
|
+
if(i!=k)
|
1021
|
+
{
|
1022
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1023
|
+
if(i>=k && (l==0 || l-1>=m))
|
1024
|
+
{
|
1025
|
+
std::cout << "Error in perturbCol0\n";
|
1026
|
+
std::cout << " " << k << "/" << n << " " << l << "/" << m << " " << i << "/" << n << " ; " << col0(k) << " " << diag(k) << " " << "\n";
|
1027
|
+
std::cout << " " <<diag(i) << "\n";
|
1028
|
+
Index j = (i<k /*|| l==0*/) ? i : perm(l-1);
|
1029
|
+
std::cout << " " << "j=" << j << "\n";
|
1030
|
+
}
|
1031
|
+
#endif
|
1032
|
+
Index j = i<k ? i : perm(l-1);
|
1033
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1034
|
+
if(!(dk!=Literal(0) || diag(i)!=Literal(0)))
|
1035
|
+
{
|
1036
|
+
std::cout << "k=" << k << ", i=" << i << ", l=" << l << ", perm.size()=" << perm.size() << "\n";
|
1037
|
+
}
|
1038
|
+
assert(dk!=Literal(0) || diag(i)!=Literal(0));
|
1039
|
+
#endif
|
1040
|
+
prod *= ((singVals(j)+dk) / ((diag(i)+dk))) * ((mus(j)+(shifts(j)-dk)) / ((diag(i)-dk)));
|
1041
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1042
|
+
assert(prod>=0);
|
1043
|
+
#endif
|
1044
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1045
|
+
if(i!=k && numext::abs(((singVals(j)+dk)*(mus(j)+(shifts(j)-dk)))/((diag(i)+dk)*(diag(i)-dk)) - 1) > 0.9 )
|
1046
|
+
std::cout << " " << ((singVals(j)+dk)*(mus(j)+(shifts(j)-dk)))/((diag(i)+dk)*(diag(i)-dk)) << " == (" << (singVals(j)+dk) << " * " << (mus(j)+(shifts(j)-dk))
|
1047
|
+
<< ") / (" << (diag(i)+dk) << " * " << (diag(i)-dk) << ")\n";
|
1048
|
+
#endif
|
1049
|
+
}
|
1050
|
+
}
|
1051
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1052
|
+
std::cout << "zhat(" << k << ") = sqrt( " << prod << ") ; " << (singVals(lastIdx) + dk) << " * " << mus(lastIdx) + shifts(lastIdx) << " - " << dk << "\n";
|
1053
|
+
#endif
|
1054
|
+
RealScalar tmp = sqrt(prod);
|
1055
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1056
|
+
assert((numext::isfinite)(tmp));
|
1057
|
+
#endif
|
1058
|
+
zhat(k) = col0(k) > Literal(0) ? RealScalar(tmp) : RealScalar(-tmp);
|
1059
|
+
}
|
1060
|
+
}
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
// compute singular vectors
|
1064
|
+
template <typename MatrixType>
|
1065
|
+
void BDCSVD<MatrixType>::computeSingVecs
|
1066
|
+
(const ArrayRef& zhat, const ArrayRef& diag, const IndicesRef &perm, const VectorType& singVals,
|
1067
|
+
const ArrayRef& shifts, const ArrayRef& mus, MatrixXr& U, MatrixXr& V)
|
1068
|
+
{
|
1069
|
+
Index n = zhat.size();
|
1070
|
+
Index m = perm.size();
|
1071
|
+
|
1072
|
+
for (Index k = 0; k < n; ++k)
|
1073
|
+
{
|
1074
|
+
if (zhat(k) == Literal(0))
|
1075
|
+
{
|
1076
|
+
U.col(k) = VectorType::Unit(n+1, k);
|
1077
|
+
if (m_compV) V.col(k) = VectorType::Unit(n, k);
|
1078
|
+
}
|
1079
|
+
else
|
1080
|
+
{
|
1081
|
+
U.col(k).setZero();
|
1082
|
+
for(Index l=0;l<m;++l)
|
1083
|
+
{
|
1084
|
+
Index i = perm(l);
|
1085
|
+
U(i,k) = zhat(i)/(((diag(i) - shifts(k)) - mus(k)) )/( (diag(i) + singVals[k]));
|
1086
|
+
}
|
1087
|
+
U(n,k) = Literal(0);
|
1088
|
+
U.col(k).normalize();
|
1089
|
+
|
1090
|
+
if (m_compV)
|
1091
|
+
{
|
1092
|
+
V.col(k).setZero();
|
1093
|
+
for(Index l=1;l<m;++l)
|
1094
|
+
{
|
1095
|
+
Index i = perm(l);
|
1096
|
+
V(i,k) = diag(i) * zhat(i) / (((diag(i) - shifts(k)) - mus(k)) )/( (diag(i) + singVals[k]));
|
1097
|
+
}
|
1098
|
+
V(0,k) = Literal(-1);
|
1099
|
+
V.col(k).normalize();
|
1100
|
+
}
|
1101
|
+
}
|
1102
|
+
}
|
1103
|
+
U.col(n) = VectorType::Unit(n+1, n);
|
1104
|
+
}
|
1105
|
+
|
1106
|
+
|
1107
|
+
// page 12_13
|
1108
|
+
// i >= 1, di almost null and zi non null.
|
1109
|
+
// We use a rotation to zero out zi applied to the left of M
|
1110
|
+
template <typename MatrixType>
|
1111
|
+
void BDCSVD<MatrixType>::deflation43(Eigen::Index firstCol, Eigen::Index shift, Eigen::Index i, Eigen::Index size)
|
1112
|
+
{
|
1113
|
+
using std::abs;
|
1114
|
+
using std::sqrt;
|
1115
|
+
using std::pow;
|
1116
|
+
Index start = firstCol + shift;
|
1117
|
+
RealScalar c = m_computed(start, start);
|
1118
|
+
RealScalar s = m_computed(start+i, start);
|
1119
|
+
RealScalar r = numext::hypot(c,s);
|
1120
|
+
if (r == Literal(0))
|
1121
|
+
{
|
1122
|
+
m_computed(start+i, start+i) = Literal(0);
|
1123
|
+
return;
|
1124
|
+
}
|
1125
|
+
m_computed(start,start) = r;
|
1126
|
+
m_computed(start+i, start) = Literal(0);
|
1127
|
+
m_computed(start+i, start+i) = Literal(0);
|
1128
|
+
|
1129
|
+
JacobiRotation<RealScalar> J(c/r,-s/r);
|
1130
|
+
if (m_compU) m_naiveU.middleRows(firstCol, size+1).applyOnTheRight(firstCol, firstCol+i, J);
|
1131
|
+
else m_naiveU.applyOnTheRight(firstCol, firstCol+i, J);
|
1132
|
+
}// end deflation 43
|
1133
|
+
|
1134
|
+
|
1135
|
+
// page 13
|
1136
|
+
// i,j >= 1, i!=j and |di - dj| < epsilon * norm2(M)
|
1137
|
+
// We apply two rotations to have zj = 0;
|
1138
|
+
// TODO deflation44 is still broken and not properly tested
|
1139
|
+
template <typename MatrixType>
|
1140
|
+
void BDCSVD<MatrixType>::deflation44(Eigen::Index firstColu , Eigen::Index firstColm, Eigen::Index firstRowW, Eigen::Index firstColW, Eigen::Index i, Eigen::Index j, Eigen::Index size)
|
1141
|
+
{
|
1142
|
+
using std::abs;
|
1143
|
+
using std::sqrt;
|
1144
|
+
using std::conj;
|
1145
|
+
using std::pow;
|
1146
|
+
RealScalar c = m_computed(firstColm+i, firstColm);
|
1147
|
+
RealScalar s = m_computed(firstColm+j, firstColm);
|
1148
|
+
RealScalar r = sqrt(numext::abs2(c) + numext::abs2(s));
|
1149
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1150
|
+
std::cout << "deflation 4.4: " << i << "," << j << " -> " << c << " " << s << " " << r << " ; "
|
1151
|
+
<< m_computed(firstColm + i-1, firstColm) << " "
|
1152
|
+
<< m_computed(firstColm + i, firstColm) << " "
|
1153
|
+
<< m_computed(firstColm + i+1, firstColm) << " "
|
1154
|
+
<< m_computed(firstColm + i+2, firstColm) << "\n";
|
1155
|
+
std::cout << m_computed(firstColm + i-1, firstColm + i-1) << " "
|
1156
|
+
<< m_computed(firstColm + i, firstColm+i) << " "
|
1157
|
+
<< m_computed(firstColm + i+1, firstColm+i+1) << " "
|
1158
|
+
<< m_computed(firstColm + i+2, firstColm+i+2) << "\n";
|
1159
|
+
#endif
|
1160
|
+
if (r==Literal(0))
|
1161
|
+
{
|
1162
|
+
m_computed(firstColm + i, firstColm + i) = m_computed(firstColm + j, firstColm + j);
|
1163
|
+
return;
|
1164
|
+
}
|
1165
|
+
c/=r;
|
1166
|
+
s/=r;
|
1167
|
+
m_computed(firstColm + i, firstColm) = r;
|
1168
|
+
m_computed(firstColm + j, firstColm + j) = m_computed(firstColm + i, firstColm + i);
|
1169
|
+
m_computed(firstColm + j, firstColm) = Literal(0);
|
1170
|
+
|
1171
|
+
JacobiRotation<RealScalar> J(c,-s);
|
1172
|
+
if (m_compU) m_naiveU.middleRows(firstColu, size+1).applyOnTheRight(firstColu + i, firstColu + j, J);
|
1173
|
+
else m_naiveU.applyOnTheRight(firstColu+i, firstColu+j, J);
|
1174
|
+
if (m_compV) m_naiveV.middleRows(firstRowW, size).applyOnTheRight(firstColW + i, firstColW + j, J);
|
1175
|
+
}// end deflation 44
|
1176
|
+
|
1177
|
+
|
1178
|
+
// acts on block from (firstCol+shift, firstCol+shift) to (lastCol+shift, lastCol+shift) [inclusive]
|
1179
|
+
template <typename MatrixType>
|
1180
|
+
void BDCSVD<MatrixType>::deflation(Eigen::Index firstCol, Eigen::Index lastCol, Eigen::Index k, Eigen::Index firstRowW, Eigen::Index firstColW, Eigen::Index shift)
|
1181
|
+
{
|
1182
|
+
using std::sqrt;
|
1183
|
+
using std::abs;
|
1184
|
+
const Index length = lastCol + 1 - firstCol;
|
1185
|
+
|
1186
|
+
Block<MatrixXr,Dynamic,1> col0(m_computed, firstCol+shift, firstCol+shift, length, 1);
|
1187
|
+
Diagonal<MatrixXr> fulldiag(m_computed);
|
1188
|
+
VectorBlock<Diagonal<MatrixXr>,Dynamic> diag(fulldiag, firstCol+shift, length);
|
1189
|
+
|
1190
|
+
const RealScalar considerZero = (std::numeric_limits<RealScalar>::min)();
|
1191
|
+
RealScalar maxDiag = diag.tail((std::max)(Index(1),length-1)).cwiseAbs().maxCoeff();
|
1192
|
+
RealScalar epsilon_strict = numext::maxi<RealScalar>(considerZero,NumTraits<RealScalar>::epsilon() * maxDiag);
|
1193
|
+
RealScalar epsilon_coarse = Literal(8) * NumTraits<RealScalar>::epsilon() * numext::maxi<RealScalar>(col0.cwiseAbs().maxCoeff(), maxDiag);
|
1194
|
+
|
1195
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1196
|
+
assert(m_naiveU.allFinite());
|
1197
|
+
assert(m_naiveV.allFinite());
|
1198
|
+
assert(m_computed.allFinite());
|
1199
|
+
#endif
|
1200
|
+
|
1201
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1202
|
+
std::cout << "\ndeflate:" << diag.head(k+1).transpose() << " | " << diag.segment(k+1,length-k-1).transpose() << "\n";
|
1203
|
+
#endif
|
1204
|
+
|
1205
|
+
//condition 4.1
|
1206
|
+
if (diag(0) < epsilon_coarse)
|
1207
|
+
{
|
1208
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1209
|
+
std::cout << "deflation 4.1, because " << diag(0) << " < " << epsilon_coarse << "\n";
|
1210
|
+
#endif
|
1211
|
+
diag(0) = epsilon_coarse;
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
//condition 4.2
|
1215
|
+
for (Index i=1;i<length;++i)
|
1216
|
+
if (abs(col0(i)) < epsilon_strict)
|
1217
|
+
{
|
1218
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1219
|
+
std::cout << "deflation 4.2, set z(" << i << ") to zero because " << abs(col0(i)) << " < " << epsilon_strict << " (diag(" << i << ")=" << diag(i) << ")\n";
|
1220
|
+
#endif
|
1221
|
+
col0(i) = Literal(0);
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
//condition 4.3
|
1225
|
+
for (Index i=1;i<length; i++)
|
1226
|
+
if (diag(i) < epsilon_coarse)
|
1227
|
+
{
|
1228
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1229
|
+
std::cout << "deflation 4.3, cancel z(" << i << ")=" << col0(i) << " because diag(" << i << ")=" << diag(i) << " < " << epsilon_coarse << "\n";
|
1230
|
+
#endif
|
1231
|
+
deflation43(firstCol, shift, i, length);
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1235
|
+
assert(m_naiveU.allFinite());
|
1236
|
+
assert(m_naiveV.allFinite());
|
1237
|
+
assert(m_computed.allFinite());
|
1238
|
+
#endif
|
1239
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1240
|
+
std::cout << "to be sorted: " << diag.transpose() << "\n\n";
|
1241
|
+
std::cout << " : " << col0.transpose() << "\n\n";
|
1242
|
+
#endif
|
1243
|
+
{
|
1244
|
+
// Check for total deflation
|
1245
|
+
// If we have a total deflation, then we have to consider col0(0)==diag(0) as a singular value during sorting
|
1246
|
+
bool total_deflation = (col0.tail(length-1).array()<considerZero).all();
|
1247
|
+
|
1248
|
+
// Sort the diagonal entries, since diag(1:k-1) and diag(k:length) are already sorted, let's do a sorted merge.
|
1249
|
+
// First, compute the respective permutation.
|
1250
|
+
Index *permutation = m_workspaceI.data();
|
1251
|
+
{
|
1252
|
+
permutation[0] = 0;
|
1253
|
+
Index p = 1;
|
1254
|
+
|
1255
|
+
// Move deflated diagonal entries at the end.
|
1256
|
+
for(Index i=1; i<length; ++i)
|
1257
|
+
if(abs(diag(i))<considerZero)
|
1258
|
+
permutation[p++] = i;
|
1259
|
+
|
1260
|
+
Index i=1, j=k+1;
|
1261
|
+
for( ; p < length; ++p)
|
1262
|
+
{
|
1263
|
+
if (i > k) permutation[p] = j++;
|
1264
|
+
else if (j >= length) permutation[p] = i++;
|
1265
|
+
else if (diag(i) < diag(j)) permutation[p] = j++;
|
1266
|
+
else permutation[p] = i++;
|
1267
|
+
}
|
1268
|
+
}
|
1269
|
+
|
1270
|
+
// If we have a total deflation, then we have to insert diag(0) at the right place
|
1271
|
+
if(total_deflation)
|
1272
|
+
{
|
1273
|
+
for(Index i=1; i<length; ++i)
|
1274
|
+
{
|
1275
|
+
Index pi = permutation[i];
|
1276
|
+
if(abs(diag(pi))<considerZero || diag(0)<diag(pi))
|
1277
|
+
permutation[i-1] = permutation[i];
|
1278
|
+
else
|
1279
|
+
{
|
1280
|
+
permutation[i-1] = 0;
|
1281
|
+
break;
|
1282
|
+
}
|
1283
|
+
}
|
1284
|
+
}
|
1285
|
+
|
1286
|
+
// Current index of each col, and current column of each index
|
1287
|
+
Index *realInd = m_workspaceI.data()+length;
|
1288
|
+
Index *realCol = m_workspaceI.data()+2*length;
|
1289
|
+
|
1290
|
+
for(int pos = 0; pos< length; pos++)
|
1291
|
+
{
|
1292
|
+
realCol[pos] = pos;
|
1293
|
+
realInd[pos] = pos;
|
1294
|
+
}
|
1295
|
+
|
1296
|
+
for(Index i = total_deflation?0:1; i < length; i++)
|
1297
|
+
{
|
1298
|
+
const Index pi = permutation[length - (total_deflation ? i+1 : i)];
|
1299
|
+
const Index J = realCol[pi];
|
1300
|
+
|
1301
|
+
using std::swap;
|
1302
|
+
// swap diagonal and first column entries:
|
1303
|
+
swap(diag(i), diag(J));
|
1304
|
+
if(i!=0 && J!=0) swap(col0(i), col0(J));
|
1305
|
+
|
1306
|
+
// change columns
|
1307
|
+
if (m_compU) m_naiveU.col(firstCol+i).segment(firstCol, length + 1).swap(m_naiveU.col(firstCol+J).segment(firstCol, length + 1));
|
1308
|
+
else m_naiveU.col(firstCol+i).segment(0, 2) .swap(m_naiveU.col(firstCol+J).segment(0, 2));
|
1309
|
+
if (m_compV) m_naiveV.col(firstColW + i).segment(firstRowW, length).swap(m_naiveV.col(firstColW + J).segment(firstRowW, length));
|
1310
|
+
|
1311
|
+
//update real pos
|
1312
|
+
const Index realI = realInd[i];
|
1313
|
+
realCol[realI] = J;
|
1314
|
+
realCol[pi] = i;
|
1315
|
+
realInd[J] = realI;
|
1316
|
+
realInd[i] = pi;
|
1317
|
+
}
|
1318
|
+
}
|
1319
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1320
|
+
std::cout << "sorted: " << diag.transpose().format(bdcsvdfmt) << "\n";
|
1321
|
+
std::cout << " : " << col0.transpose() << "\n\n";
|
1322
|
+
#endif
|
1323
|
+
|
1324
|
+
//condition 4.4
|
1325
|
+
{
|
1326
|
+
Index i = length-1;
|
1327
|
+
while(i>0 && (abs(diag(i))<considerZero || abs(col0(i))<considerZero)) --i;
|
1328
|
+
for(; i>1;--i)
|
1329
|
+
if( (diag(i) - diag(i-1)) < NumTraits<RealScalar>::epsilon()*maxDiag )
|
1330
|
+
{
|
1331
|
+
#ifdef EIGEN_BDCSVD_DEBUG_VERBOSE
|
1332
|
+
std::cout << "deflation 4.4 with i = " << i << " because " << diag(i) << " - " << diag(i-1) << " == " << (diag(i) - diag(i-1)) << " < " << NumTraits<RealScalar>::epsilon()*/*diag(i)*/maxDiag << "\n";
|
1333
|
+
#endif
|
1334
|
+
eigen_internal_assert(abs(diag(i) - diag(i-1))<epsilon_coarse && " diagonal entries are not properly sorted");
|
1335
|
+
deflation44(firstCol, firstCol + shift, firstRowW, firstColW, i-1, i, length);
|
1336
|
+
}
|
1337
|
+
}
|
1338
|
+
|
1339
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1340
|
+
for(Index j=2;j<length;++j)
|
1341
|
+
assert(diag(j-1)<=diag(j) || abs(diag(j))<considerZero);
|
1342
|
+
#endif
|
1343
|
+
|
1344
|
+
#ifdef EIGEN_BDCSVD_SANITY_CHECKS
|
1345
|
+
assert(m_naiveU.allFinite());
|
1346
|
+
assert(m_naiveV.allFinite());
|
1347
|
+
assert(m_computed.allFinite());
|
1348
|
+
#endif
|
1349
|
+
}//end deflation
|
1350
|
+
|
1351
|
+
/** \svd_module
|
1352
|
+
*
|
1353
|
+
* \return the singular value decomposition of \c *this computed by Divide & Conquer algorithm
|
1354
|
+
*
|
1355
|
+
* \sa class BDCSVD
|
1356
|
+
*/
|
1357
|
+
template<typename Derived>
|
1358
|
+
BDCSVD<typename MatrixBase<Derived>::PlainObject>
|
1359
|
+
MatrixBase<Derived>::bdcSvd(unsigned int computationOptions) const
|
1360
|
+
{
|
1361
|
+
return BDCSVD<PlainObject>(*this, computationOptions);
|
1362
|
+
}
|
1363
|
+
|
1364
|
+
} // end namespace Eigen
|
1365
|
+
|
1366
|
+
#endif
|