sleipnirgroup-jormungandr 0.6.7.dev141__tar.gz → 0.6.7.dev142__tar.gz

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.
Files changed (137) hide show
  1. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/PKG-INFO +1 -1
  2. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/expression.hpp +20 -22
  3. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/expression_functions.hpp +43 -40
  4. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/src/sleipnir/__init__.py +1 -1
  5. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/CMakeLists.txt +0 -0
  6. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/LICENSE.txt +0 -0
  7. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/README.md +0 -0
  8. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/SleipnirConfig.cmake.in +0 -0
  9. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/cmake/BuildTypes.cmake +0 -0
  10. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/cmake/CompilerFlags.cmake +0 -0
  11. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/cmake/Pybind11Mkdoc.cmake +0 -0
  12. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/cmake/Pybind11MkdocPostprocess.cmake +0 -0
  13. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/cmake/SubdirList.cmake +0 -0
  14. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/cmake/aarch64-linux-gnu.cmake +0 -0
  15. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/cmake/arm-none-eabi.cmake +0 -0
  16. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/expression_graph.hpp +0 -0
  17. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/expression_type.hpp +0 -0
  18. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/gradient.hpp +0 -0
  19. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/hessian.hpp +0 -0
  20. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/jacobian.hpp +0 -0
  21. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/sleipnir_base.hpp +0 -0
  22. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/slice.hpp +0 -0
  23. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/variable.hpp +0 -0
  24. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/variable_block.hpp +0 -0
  25. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/autodiff/variable_matrix.hpp +0 -0
  26. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/multistart.hpp +0 -0
  27. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/ocp/dynamics_type.hpp +0 -0
  28. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/ocp/timestep_method.hpp +0 -0
  29. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/ocp/transcription_method.hpp +0 -0
  30. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/ocp.hpp +0 -0
  31. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/problem.hpp +0 -0
  32. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/control_flow.hpp +0 -0
  33. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/exit_status.hpp +0 -0
  34. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/ipm.hpp +0 -0
  35. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/ipm_matrix_callbacks.hpp +0 -0
  36. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/iteration_info.hpp +0 -0
  37. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/newton.hpp +0 -0
  38. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/newton_matrix_callbacks.hpp +0 -0
  39. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/options.hpp +0 -0
  40. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/sqp.hpp +0 -0
  41. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/sqp_matrix_callbacks.hpp +0 -0
  42. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/all_finite.hpp +0 -0
  43. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/append_as_triplets.hpp +0 -0
  44. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/bounds.hpp +0 -0
  45. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/constraint_violation.hpp +0 -0
  46. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/dense_kkt_solver.hpp +0 -0
  47. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/feasibility_restoration.hpp +0 -0
  48. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/feasibility_restoration_cycle_detector.hpp +0 -0
  49. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/filter.hpp +0 -0
  50. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/fraction_to_the_boundary_rule.hpp +0 -0
  51. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/kkt_error.hpp +0 -0
  52. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/kkt_solver.hpp +0 -0
  53. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/problem_scaling.hpp +0 -0
  54. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/regularization_limits.hpp +0 -0
  55. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/ruiz_equilibration.hpp +0 -0
  56. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/sparse_inf_norms.hpp +0 -0
  57. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/sparse_kkt_solver.hpp +0 -0
  58. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/optimization/solver/util/time_trace.hpp +0 -0
  59. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/assert.hpp +0 -0
  60. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/concepts.hpp +0 -0
  61. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/empty.hpp +0 -0
  62. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/force_inline.hpp +0 -0
  63. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/function_ref.hpp +0 -0
  64. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/intrusive_shared_ptr.hpp +0 -0
  65. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/pool.hpp +0 -0
  66. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/print.hpp +0 -0
  67. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/print_diagnostics.hpp +0 -0
  68. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/scope_exit.hpp +0 -0
  69. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/spy.hpp +0 -0
  70. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/symbol_exports.hpp +0 -0
  71. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/include/sleipnir/util/time_tracer.hpp +0 -0
  72. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/pyproject.toml +0 -0
  73. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/.clang-tidy +0 -0
  74. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/arity.hpp +0 -0
  75. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/autodiff/bind_expression_type.cpp +0 -0
  76. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/autodiff/bind_gradient.cpp +0 -0
  77. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/autodiff/bind_hessian.cpp +0 -0
  78. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/autodiff/bind_jacobian.cpp +0 -0
  79. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/autodiff/bind_variable.cpp +0 -0
  80. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/autodiff/bind_variable_block.cpp +0 -0
  81. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/autodiff/bind_variable_matrix.cpp +0 -0
  82. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/binders.hpp +0 -0
  83. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/docstrings.hpp +0 -0
  84. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/for_each_type.hpp +0 -0
  85. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/main.cpp +0 -0
  86. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/bind_equality_constraints.cpp +0 -0
  87. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/bind_inequality_constraints.cpp +0 -0
  88. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/bind_ocp.cpp +0 -0
  89. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/bind_problem.cpp +0 -0
  90. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/ocp/bind_dynamics_type.cpp +0 -0
  91. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/ocp/bind_timestep_method.cpp +0 -0
  92. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/ocp/bind_transcription_method.cpp +0 -0
  93. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/solver/bind_exit_status.cpp +0 -0
  94. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/optimization/solver/bind_iteration_info.cpp +0 -0
  95. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/slice_tuple.hpp +0 -0
  96. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/text_wrap.hpp +0 -0
  97. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/cpp/try_cast.hpp +0 -0
  98. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/postprocess_stubs.py +0 -0
  99. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/src/sleipnir/autodiff/__init__.py +0 -0
  100. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/src/sleipnir/optimization/__init__.py +0 -0
  101. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/autodiff/gradient_test.py +0 -0
  102. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/autodiff/hessian_test.py +0 -0
  103. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/autodiff/jacobian_test.py +0 -0
  104. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/autodiff/variable_matrix_test.py +0 -0
  105. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/autodiff/variable_test.py +0 -0
  106. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/arm_on_elevator_problem_test.py +0 -0
  107. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/cart_pole_ocp_test.py +0 -0
  108. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/cart_pole_problem_test.py +0 -0
  109. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/cart_pole_util.py +0 -0
  110. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/constraints_test.py +0 -0
  111. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/differential_drive_ocp_test.py +0 -0
  112. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/differential_drive_problem_test.py +0 -0
  113. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/differential_drive_util.py +0 -0
  114. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/double_integrator_problem_test.py +0 -0
  115. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/flywheel_ocp_test.py +0 -0
  116. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/flywheel_problem_test.py +0 -0
  117. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/flywheel_util.py +0 -0
  118. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/linear_problem_test.py +0 -0
  119. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/multistart_test.py +0 -0
  120. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/nonlinear_problem_test.py +0 -0
  121. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/problem_spy_test.py +0 -0
  122. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/problem_variable_test.py +0 -0
  123. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/quadratic_problem_test.py +0 -0
  124. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/rk4.py +0 -0
  125. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/solver/exit_status_test.py +0 -0
  126. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/tolerance.py +0 -0
  127. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/python/test/optimization/trivial_problem_test.py +0 -0
  128. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/autodiff/gradient.cpp +0 -0
  129. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/autodiff/hessian.cpp +0 -0
  130. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/autodiff/jacobian.cpp +0 -0
  131. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/autodiff/variable_matrix.cpp +0 -0
  132. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/optimization/ocp.cpp +0 -0
  133. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/optimization/problem.cpp +0 -0
  134. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/optimization/solver/ipm.cpp +0 -0
  135. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/optimization/solver/newton.cpp +0 -0
  136. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/optimization/solver/sqp.cpp +0 -0
  137. {sleipnirgroup_jormungandr-0.6.7.dev141 → sleipnirgroup_jormungandr-0.6.7.dev142}/src/util/pool.cpp +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sleipnirgroup-jormungandr
3
- Version: 0.6.7.dev141
3
+ Version: 0.6.7.dev142
4
4
  Summary: Reverse mode autodiff library and NLP solver DSL
5
5
  License-Expression: BSD-3-Clause
6
6
  License-File: LICENSE.txt
@@ -33,14 +33,12 @@ inline constexpr bool USE_POOL_ALLOCATOR = true;
33
33
  template <typename Scalar>
34
34
  struct Expression;
35
35
 
36
- /// The maximum number of arguments an expression can have.
37
- inline constexpr size_t MAX_ARGS = 4;
38
-
39
36
  /// Array with one element per expression argument in visit_args() order.
40
37
  ///
41
38
  /// @tparam T Element type.
42
- template <typename T>
43
- using ArgArray = std::array<T, MAX_ARGS>;
39
+ /// @tparam N The number of arguments.
40
+ template <typename T, size_t N>
41
+ using ArgArray = std::array<T, N>;
44
42
 
45
43
  /// Typedef for intrusive shared pointer to Expression.
46
44
  ///
@@ -413,12 +411,6 @@ struct Expression {
413
411
  template <typename Derived, typename Scalar, size_t NumArgs,
414
412
  ExpressionType Type = ExpressionType::NONLINEAR>
415
413
  struct NonLeafExpression : Expression<Scalar> {
416
- /// The number of arguments.
417
- static constexpr size_t NUM_ARGS = NumArgs;
418
-
419
- // Ensure ArgArray is big enough to hold one element per argument
420
- static_assert(NumArgs <= MAX_ARGS, "Increase MAX_ARGS");
421
-
422
414
  /// Whether the partial derivatives are the same at every argument value.
423
415
  static constexpr bool CONSTANT_PARTIALS = false;
424
416
 
@@ -477,7 +469,7 @@ struct NonLeafExpression : Expression<Scalar> {
477
469
  void accumulate_adjoints() const final {
478
470
  [&]<size_t... Is>(std::index_sequence<Is...>) {
479
471
  // Evaluate gradients
480
- ArgArray<Scalar> g{};
472
+ ArgArray<Scalar, NumArgs> g{};
481
473
  grad(g, this->val, args[Is]->val...);
482
474
 
483
475
  // Accumulate adjoints
@@ -492,7 +484,7 @@ struct NonLeafExpression : Expression<Scalar> {
492
484
  // instead of building them as expressions
493
485
  if constexpr (Derived::CONSTANT_PARTIALS) {
494
486
  // Evaluate gradients
495
- ArgArray<Scalar> g{};
487
+ ArgArray<Scalar, NumArgs> g{};
496
488
  grad(g, this->val, args[Is]->val...);
497
489
 
498
490
  // Accumulate adjoints
@@ -511,7 +503,7 @@ struct NonLeafExpression : Expression<Scalar> {
511
503
  ...);
512
504
  } else {
513
505
  // Evaluate gradients
514
- ArgArray<ExpressionPtr<Scalar>> g;
506
+ ArgArray<ExpressionPtr<Scalar>, NumArgs> g;
515
507
  grad(g, ExpressionPtr<Scalar>{const_cast<NonLeafExpression*>(this)},
516
508
  args[Is]...);
517
509
 
@@ -542,7 +534,8 @@ struct NonLeafExpression : Expression<Scalar> {
542
534
  /// @param val The expression's value.
543
535
  /// @param x The argument values in visit_args() order.
544
536
  template <typename Value, typename... Args>
545
- void grad(ArgArray<Value>& g, const Value& val, const Args&... x) const {
537
+ void grad(ArgArray<Value, NumArgs>& g, const Value& val,
538
+ const Args&... x) const {
546
539
  if constexpr (requires(const Derived& expr) {
547
540
  expr.eval_grad(g, val, x...);
548
541
  }) {
@@ -602,7 +595,8 @@ struct BinaryMinusExpression final
602
595
  static Scalar eval(Scalar lhs, Scalar rhs) { return lhs - rhs; }
603
596
 
604
597
  template <typename Value>
605
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
598
+ static void eval_grad(ArgArray<Value, 2>& g,
599
+ [[maybe_unused]] const Value& val,
606
600
  [[maybe_unused]] const Value& lhs,
607
601
  [[maybe_unused]] const Value& rhs) {
608
602
  g[0] = lit<Value>(Scalar(1));
@@ -628,7 +622,8 @@ struct BinaryPlusExpression final
628
622
  static Scalar eval(Scalar lhs, Scalar rhs) { return lhs + rhs; }
629
623
 
630
624
  template <typename Value>
631
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
625
+ static void eval_grad(ArgArray<Value, 2>& g,
626
+ [[maybe_unused]] const Value& val,
632
627
  [[maybe_unused]] const Value& lhs,
633
628
  [[maybe_unused]] const Value& rhs) {
634
629
  g[0] = lit<Value>(Scalar(1));
@@ -651,8 +646,9 @@ struct DivExpression final
651
646
  static Scalar eval(Scalar lhs, Scalar rhs) { return lhs / rhs; }
652
647
 
653
648
  template <typename Value>
654
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
655
- const Value& lhs, const Value& rhs) {
649
+ static void eval_grad(ArgArray<Value, 2>& g,
650
+ [[maybe_unused]] const Value& val, const Value& lhs,
651
+ const Value& rhs) {
656
652
  g[0] = lit<Value>(Scalar(1)) / rhs;
657
653
  g[1] = -lhs / (rhs * rhs);
658
654
  }
@@ -673,8 +669,9 @@ struct MultExpression final
673
669
  static Scalar eval(Scalar lhs, Scalar rhs) { return lhs * rhs; }
674
670
 
675
671
  template <typename Value>
676
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
677
- const Value& lhs, const Value& rhs) {
672
+ static void eval_grad(ArgArray<Value, 2>& g,
673
+ [[maybe_unused]] const Value& val, const Value& lhs,
674
+ const Value& rhs) {
678
675
  g[0] = rhs;
679
676
  g[1] = lhs;
680
677
  }
@@ -698,7 +695,8 @@ struct UnaryMinusExpression final
698
695
  static Scalar eval(Scalar lhs) { return -lhs; }
699
696
 
700
697
  template <typename Value>
701
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
698
+ static void eval_grad(ArgArray<Value, 1>& g,
699
+ [[maybe_unused]] const Value& val,
702
700
  [[maybe_unused]] const Value& lhs) {
703
701
  g[0] = lit<Value>(Scalar(-1));
704
702
  }
@@ -32,8 +32,8 @@ struct AbsExpression final
32
32
  }
33
33
 
34
34
  template <typename Value>
35
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
36
- const Value& x) {
35
+ static void eval_grad(ArgArray<Value, 1>& g,
36
+ [[maybe_unused]] const Value& val, const Value& x) {
37
37
  if constexpr (std::same_as<Value, Scalar>) {
38
38
  if (x < Scalar(0)) {
39
39
  g[0] = Scalar(-1);
@@ -75,8 +75,8 @@ struct AcosExpression final
75
75
  }
76
76
 
77
77
  template <typename Value>
78
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
79
- const Value& x) {
78
+ static void eval_grad(ArgArray<Value, 1>& g,
79
+ [[maybe_unused]] const Value& val, const Value& x) {
80
80
  using std::sqrt;
81
81
  g[0] = lit<Value>(Scalar(-1)) / sqrt(lit<Value>(Scalar(1)) - x * x);
82
82
  }
@@ -109,8 +109,8 @@ struct AsinExpression final
109
109
  }
110
110
 
111
111
  template <typename Value>
112
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
113
- const Value& x) {
112
+ static void eval_grad(ArgArray<Value, 1>& g,
113
+ [[maybe_unused]] const Value& val, const Value& x) {
114
114
  using std::sqrt;
115
115
  g[0] = lit<Value>(Scalar(1)) / sqrt(lit<Value>(Scalar(1)) - x * x);
116
116
  }
@@ -143,8 +143,8 @@ struct AtanExpression final
143
143
  }
144
144
 
145
145
  template <typename Value>
146
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
147
- const Value& x) {
146
+ static void eval_grad(ArgArray<Value, 1>& g,
147
+ [[maybe_unused]] const Value& val, const Value& x) {
148
148
  g[0] = lit<Value>(Scalar(1)) / (lit<Value>(Scalar(1)) + x * x);
149
149
  }
150
150
  };
@@ -176,8 +176,9 @@ struct Atan2Expression final
176
176
  }
177
177
 
178
178
  template <typename Value>
179
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
180
- const Value& y, const Value& x) {
179
+ static void eval_grad(ArgArray<Value, 2>& g,
180
+ [[maybe_unused]] const Value& val, const Value& y,
181
+ const Value& x) {
181
182
  Value d = y * y + x * x;
182
183
  g[0] = x / d;
183
184
  g[1] = -y / d;
@@ -213,7 +214,7 @@ struct CbrtExpression final
213
214
  }
214
215
 
215
216
  template <typename Value>
216
- static void eval_grad(ArgArray<Value>& g, const Value& val,
217
+ static void eval_grad(ArgArray<Value, 1>& g, const Value& val,
217
218
  [[maybe_unused]] const Value& x) {
218
219
  g[0] = lit<Value>(Scalar(1)) / (lit<Value>(Scalar(3)) * val * val);
219
220
  }
@@ -246,8 +247,8 @@ struct CosExpression final
246
247
  }
247
248
 
248
249
  template <typename Value>
249
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
250
- const Value& x) {
250
+ static void eval_grad(ArgArray<Value, 1>& g,
251
+ [[maybe_unused]] const Value& val, const Value& x) {
251
252
  using std::sin;
252
253
  g[0] = -sin(x);
253
254
  }
@@ -280,8 +281,8 @@ struct CoshExpression final
280
281
  }
281
282
 
282
283
  template <typename Value>
283
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
284
- const Value& x) {
284
+ static void eval_grad(ArgArray<Value, 1>& g,
285
+ [[maybe_unused]] const Value& val, const Value& x) {
285
286
  using std::sinh;
286
287
  g[0] = sinh(x);
287
288
  }
@@ -314,8 +315,8 @@ struct ErfExpression final
314
315
  }
315
316
 
316
317
  template <typename Value>
317
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
318
- const Value& x) {
318
+ static void eval_grad(ArgArray<Value, 1>& g,
319
+ [[maybe_unused]] const Value& val, const Value& x) {
319
320
  using std::exp;
320
321
  g[0] = lit<Value>(Scalar(2.0 * std::numbers::inv_sqrtpi)) * exp(-x * x);
321
322
  }
@@ -348,7 +349,7 @@ struct ExpExpression final
348
349
  }
349
350
 
350
351
  template <typename Value>
351
- static void eval_grad(ArgArray<Value>& g, const Value& val,
352
+ static void eval_grad(ArgArray<Value, 1>& g, const Value& val,
352
353
  [[maybe_unused]] const Value& x) {
353
354
  g[0] = val;
354
355
  }
@@ -385,7 +386,7 @@ struct Hypot2Expression final
385
386
  }
386
387
 
387
388
  template <typename Value>
388
- static void eval_grad(ArgArray<Value>& g, const Value& val, const Value& x,
389
+ static void eval_grad(ArgArray<Value, 2>& g, const Value& val, const Value& x,
389
390
  const Value& y) {
390
391
  g[0] = x / val;
391
392
  g[1] = y / val;
@@ -433,7 +434,7 @@ struct Hypot3Expression final
433
434
  }
434
435
 
435
436
  template <typename Value>
436
- static void eval_grad(ArgArray<Value>& g, const Value& val, const Value& x,
437
+ static void eval_grad(ArgArray<Value, 3>& g, const Value& val, const Value& x,
437
438
  const Value& y, const Value& z) {
438
439
  g[0] = x / val;
439
440
  g[1] = y / val;
@@ -497,7 +498,7 @@ struct IfElseExpression final
497
498
  }
498
499
 
499
500
  template <typename Value>
500
- void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
501
+ void eval_grad(ArgArray<Value, 4>& g, [[maybe_unused]] const Value& val,
501
502
  const Value& a, const Value& b,
502
503
  [[maybe_unused]] const Value& t,
503
504
  [[maybe_unused]] const Value& f) const {
@@ -573,8 +574,8 @@ struct LogExpression final
573
574
  }
574
575
 
575
576
  template <typename Value>
576
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
577
- const Value& x) {
577
+ static void eval_grad(ArgArray<Value, 1>& g,
578
+ [[maybe_unused]] const Value& val, const Value& x) {
578
579
  g[0] = lit<Value>(Scalar(1)) / x;
579
580
  }
580
581
  };
@@ -606,8 +607,8 @@ struct Log10Expression final
606
607
  }
607
608
 
608
609
  template <typename Value>
609
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
610
- const Value& x) {
610
+ static void eval_grad(ArgArray<Value, 1>& g,
611
+ [[maybe_unused]] const Value& val, const Value& x) {
611
612
  g[0] = lit<Value>(Scalar(1)) / (lit<Value>(Scalar(std::numbers::ln10)) * x);
612
613
  }
613
614
  };
@@ -641,8 +642,9 @@ struct MaxExpression final
641
642
  }
642
643
 
643
644
  template <typename Value>
644
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
645
- const Value& a, const Value& b) {
645
+ static void eval_grad(ArgArray<Value, 2>& g,
646
+ [[maybe_unused]] const Value& val, const Value& a,
647
+ const Value& b) {
646
648
  if constexpr (std::same_as<Value, Scalar>) {
647
649
  bool c = a >= b;
648
650
  g[0] = c ? Scalar(1) : Scalar(0);
@@ -688,8 +690,9 @@ struct MinExpression final
688
690
  }
689
691
 
690
692
  template <typename Value>
691
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
692
- const Value& a, const Value& b) {
693
+ static void eval_grad(ArgArray<Value, 2>& g,
694
+ [[maybe_unused]] const Value& val, const Value& a,
695
+ const Value& b) {
693
696
  if constexpr (std::same_as<Value, Scalar>) {
694
697
  bool c = a <= b;
695
698
  g[0] = c ? Scalar(1) : Scalar(0);
@@ -740,8 +743,8 @@ struct PowExpression final
740
743
  }
741
744
 
742
745
  template <typename Value>
743
- static void eval_grad(ArgArray<Value>& g, const Value& val, const Value& base,
744
- const Value& power) {
746
+ static void eval_grad(ArgArray<Value, 2>& g, const Value& val,
747
+ const Value& base, const Value& power) {
745
748
  using std::log;
746
749
  using std::pow;
747
750
 
@@ -847,8 +850,8 @@ struct SinExpression final
847
850
  }
848
851
 
849
852
  template <typename Value>
850
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
851
- const Value& x) {
853
+ static void eval_grad(ArgArray<Value, 1>& g,
854
+ [[maybe_unused]] const Value& val, const Value& x) {
852
855
  using std::cos;
853
856
  g[0] = cos(x);
854
857
  }
@@ -881,8 +884,8 @@ struct SinhExpression final
881
884
  }
882
885
 
883
886
  template <typename Value>
884
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
885
- const Value& x) {
887
+ static void eval_grad(ArgArray<Value, 1>& g,
888
+ [[maybe_unused]] const Value& val, const Value& x) {
886
889
  using std::cosh;
887
890
  g[0] = cosh(x);
888
891
  }
@@ -915,7 +918,7 @@ struct SqrtExpression final
915
918
  }
916
919
 
917
920
  template <typename Value>
918
- static void eval_grad(ArgArray<Value>& g, const Value& val,
921
+ static void eval_grad(ArgArray<Value, 1>& g, const Value& val,
919
922
  [[maybe_unused]] const Value& x) {
920
923
  g[0] = lit<Value>(Scalar(1)) / (lit<Value>(Scalar(2)) * val);
921
924
  }
@@ -948,8 +951,8 @@ struct TanExpression final
948
951
  }
949
952
 
950
953
  template <typename Value>
951
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
952
- const Value& x) {
954
+ static void eval_grad(ArgArray<Value, 1>& g,
955
+ [[maybe_unused]] const Value& val, const Value& x) {
953
956
  using std::cos;
954
957
 
955
958
  Value c = cos(x);
@@ -984,8 +987,8 @@ struct TanhExpression final
984
987
  }
985
988
 
986
989
  template <typename Value>
987
- static void eval_grad(ArgArray<Value>& g, [[maybe_unused]] const Value& val,
988
- const Value& x) {
990
+ static void eval_grad(ArgArray<Value, 1>& g,
991
+ [[maybe_unused]] const Value& val, const Value& x) {
989
992
  using std::cosh;
990
993
 
991
994
  Value c = cosh(x);
@@ -2,4 +2,4 @@
2
2
 
3
3
  from ._sleipnir import *
4
4
 
5
- __version__ = "0.6.7.dev141"
5
+ __version__ = "0.6.7.dev142"