sleipnirgroup-jormungandr 0.6.7.dev142__tar.gz → 0.6.7.dev143__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.
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/PKG-INFO +1 -1
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/expression.hpp +50 -50
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/expression_functions.hpp +72 -82
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/src/sleipnir/__init__.py +1 -1
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/CMakeLists.txt +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/LICENSE.txt +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/README.md +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/SleipnirConfig.cmake.in +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/cmake/BuildTypes.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/cmake/CompilerFlags.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/cmake/Pybind11Mkdoc.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/cmake/Pybind11MkdocPostprocess.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/cmake/SubdirList.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/cmake/aarch64-linux-gnu.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/cmake/arm-none-eabi.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/expression_graph.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/expression_type.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/gradient.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/hessian.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/jacobian.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/sleipnir_base.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/slice.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/variable.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/variable_block.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/autodiff/variable_matrix.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/multistart.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/ocp/dynamics_type.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/ocp/timestep_method.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/ocp/transcription_method.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/ocp.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/problem.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/control_flow.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/exit_status.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/ipm.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/ipm_matrix_callbacks.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/iteration_info.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/newton.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/newton_matrix_callbacks.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/options.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/sqp.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/sqp_matrix_callbacks.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/all_finite.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/append_as_triplets.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/bounds.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/constraint_violation.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/dense_kkt_solver.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/feasibility_restoration.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/feasibility_restoration_cycle_detector.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/filter.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/fraction_to_the_boundary_rule.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/kkt_error.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/kkt_solver.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/problem_scaling.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/regularization_limits.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/ruiz_equilibration.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/sparse_inf_norms.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/sparse_kkt_solver.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/optimization/solver/util/time_trace.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/assert.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/concepts.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/empty.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/force_inline.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/function_ref.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/intrusive_shared_ptr.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/pool.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/print.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/print_diagnostics.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/scope_exit.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/spy.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/symbol_exports.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/include/sleipnir/util/time_tracer.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/pyproject.toml +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/.clang-tidy +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/arity.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/autodiff/bind_expression_type.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/autodiff/bind_gradient.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/autodiff/bind_hessian.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/autodiff/bind_jacobian.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/autodiff/bind_variable.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/autodiff/bind_variable_block.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/autodiff/bind_variable_matrix.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/binders.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/docstrings.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/for_each_type.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/main.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/bind_equality_constraints.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/bind_inequality_constraints.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/bind_ocp.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/bind_problem.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/ocp/bind_dynamics_type.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/ocp/bind_timestep_method.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/ocp/bind_transcription_method.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/solver/bind_exit_status.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/optimization/solver/bind_iteration_info.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/slice_tuple.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/text_wrap.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/cpp/try_cast.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/postprocess_stubs.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/src/sleipnir/autodiff/__init__.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/src/sleipnir/optimization/__init__.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/autodiff/gradient_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/autodiff/hessian_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/autodiff/jacobian_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/autodiff/variable_matrix_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/autodiff/variable_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/arm_on_elevator_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/cart_pole_ocp_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/cart_pole_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/cart_pole_util.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/constraints_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/differential_drive_ocp_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/differential_drive_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/differential_drive_util.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/double_integrator_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/flywheel_ocp_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/flywheel_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/flywheel_util.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/linear_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/multistart_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/nonlinear_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/problem_spy_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/problem_variable_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/quadratic_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/rk4.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/solver/exit_status_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/tolerance.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/test/optimization/trivial_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/autodiff/gradient.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/autodiff/hessian.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/autodiff/jacobian.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/autodiff/variable_matrix.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/optimization/ocp.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/optimization/problem.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/optimization/solver/ipm.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/optimization/solver/newton.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/optimization/solver/sqp.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/util/pool.cpp +0 -0
|
@@ -49,55 +49,56 @@ using ExpressionPtr = IntrusiveSharedPtr<Expression<Scalar>>;
|
|
|
49
49
|
/// Creates an intrusive shared pointer to an expression from the global pool
|
|
50
50
|
/// allocator.
|
|
51
51
|
///
|
|
52
|
-
/// @tparam
|
|
52
|
+
/// @tparam Derived Derived expression type.
|
|
53
53
|
/// @param args Constructor arguments for Expression.
|
|
54
|
-
template <typename
|
|
55
|
-
static ExpressionPtr<typename
|
|
54
|
+
template <typename Derived, typename... Args>
|
|
55
|
+
static ExpressionPtr<typename Derived::Scalar> make_expression_ptr(
|
|
56
|
+
Args&&... args) {
|
|
56
57
|
if constexpr (USE_POOL_ALLOCATOR) {
|
|
57
|
-
return allocate_intrusive_shared<
|
|
58
|
-
|
|
58
|
+
return allocate_intrusive_shared<Derived>(global_pool_allocator<Derived>(),
|
|
59
|
+
std::forward<Args>(args)...);
|
|
59
60
|
} else {
|
|
60
|
-
return make_intrusive_shared<
|
|
61
|
+
return make_intrusive_shared<Derived>(std::forward<Args>(args)...);
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
64
|
|
|
64
|
-
template <typename Scalar, ExpressionType
|
|
65
|
+
template <typename Scalar, ExpressionType Type>
|
|
65
66
|
struct BinaryMinusExpression;
|
|
66
67
|
|
|
67
|
-
template <typename Scalar, ExpressionType
|
|
68
|
+
template <typename Scalar, ExpressionType Type>
|
|
68
69
|
struct BinaryPlusExpression;
|
|
69
70
|
|
|
70
|
-
template <typename Scalar, ExpressionType
|
|
71
|
+
template <typename Scalar, ExpressionType Type>
|
|
71
72
|
struct DivExpression;
|
|
72
73
|
|
|
73
|
-
template <typename Scalar, ExpressionType
|
|
74
|
+
template <typename Scalar, ExpressionType Type>
|
|
74
75
|
struct MultExpression;
|
|
75
76
|
|
|
76
|
-
template <typename Scalar, ExpressionType
|
|
77
|
+
template <typename Scalar, ExpressionType Type>
|
|
77
78
|
struct UnaryMinusExpression;
|
|
78
79
|
|
|
79
80
|
/// Creates an intrusive shared pointer to a derived expression type templated
|
|
80
81
|
/// on ExpressionType, instantiated with the given expression type.
|
|
81
82
|
///
|
|
82
|
-
/// @tparam
|
|
83
|
+
/// @tparam Derived Derived expression type template.
|
|
83
84
|
/// @tparam Scalar Scalar type.
|
|
84
85
|
/// @tparam Args Argument types.
|
|
85
86
|
/// @param type The expression's type.
|
|
86
87
|
/// @param args The arguments.
|
|
87
|
-
template <template <typename, ExpressionType> typename
|
|
88
|
+
template <template <typename, ExpressionType> typename Derived, typename Scalar,
|
|
88
89
|
typename... Args>
|
|
89
90
|
SLEIPNIR_FORCE_INLINE ExpressionPtr<Scalar> make_typed_expression_ptr(
|
|
90
91
|
ExpressionType type, const Args&... args) {
|
|
91
92
|
using enum ExpressionType;
|
|
92
93
|
|
|
93
94
|
if (type == PARAMETER) {
|
|
94
|
-
return make_expression_ptr<
|
|
95
|
+
return make_expression_ptr<Derived<Scalar, PARAMETER>>(args...);
|
|
95
96
|
} else if (type == LINEAR) {
|
|
96
|
-
return make_expression_ptr<
|
|
97
|
+
return make_expression_ptr<Derived<Scalar, LINEAR>>(args...);
|
|
97
98
|
} else if (type == QUADRATIC) {
|
|
98
|
-
return make_expression_ptr<
|
|
99
|
+
return make_expression_ptr<Derived<Scalar, QUADRATIC>>(args...);
|
|
99
100
|
} else {
|
|
100
|
-
return make_expression_ptr<
|
|
101
|
+
return make_expression_ptr<Derived<Scalar, NONLINEAR>>(args...);
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
|
|
@@ -404,12 +405,12 @@ struct Expression {
|
|
|
404
405
|
/// trees evaluate the partial derivatives as Scalars instead of building them
|
|
405
406
|
/// as expressions.
|
|
406
407
|
///
|
|
407
|
-
/// @tparam Derived Derived expression type.
|
|
408
|
+
/// @tparam Derived Derived expression type template.
|
|
408
409
|
/// @tparam Scalar Scalar type.
|
|
409
|
-
/// @tparam NumArgs The number of arguments.
|
|
410
410
|
/// @tparam Type The expression's type.
|
|
411
|
-
|
|
412
|
-
|
|
411
|
+
/// @tparam NumArgs The number of arguments.
|
|
412
|
+
template <template <typename, ExpressionType> typename Derived, typename Scalar,
|
|
413
|
+
ExpressionType Type, size_t NumArgs>
|
|
413
414
|
struct NonLeafExpression : Expression<Scalar> {
|
|
414
415
|
/// Whether the partial derivatives are the same at every argument value.
|
|
415
416
|
static constexpr bool CONSTANT_PARTIALS = false;
|
|
@@ -442,7 +443,7 @@ struct NonLeafExpression : Expression<Scalar> {
|
|
|
442
443
|
/// @return The node's value.
|
|
443
444
|
Scalar value() const final {
|
|
444
445
|
return [&]<size_t... Is>(std::index_sequence<Is...>) {
|
|
445
|
-
return static_cast<const
|
|
446
|
+
return static_cast<const Self&>(*this).eval(args[Is]->val...);
|
|
446
447
|
}(std::make_index_sequence<NumArgs>{});
|
|
447
448
|
}
|
|
448
449
|
|
|
@@ -454,16 +455,14 @@ struct NonLeafExpression : Expression<Scalar> {
|
|
|
454
455
|
/// Returns the name of this expression.
|
|
455
456
|
///
|
|
456
457
|
/// @return The name of this expression.
|
|
457
|
-
std::string_view name() const final { return
|
|
458
|
+
std::string_view name() const final { return Self::NAME; }
|
|
458
459
|
|
|
459
460
|
/// Returns true if the partial derivatives are the same at every argument
|
|
460
461
|
/// value.
|
|
461
462
|
///
|
|
462
463
|
/// @return True if the partial derivatives are the same at every argument
|
|
463
464
|
/// value.
|
|
464
|
-
bool has_constant_partials() const final {
|
|
465
|
-
return Derived::CONSTANT_PARTIALS;
|
|
466
|
-
}
|
|
465
|
+
bool has_constant_partials() const final { return Self::CONSTANT_PARTIALS; }
|
|
467
466
|
|
|
468
467
|
/// Accumulates the child adjoints as Scalars.
|
|
469
468
|
void accumulate_adjoints() const final {
|
|
@@ -482,7 +481,7 @@ struct NonLeafExpression : Expression<Scalar> {
|
|
|
482
481
|
[&]<size_t... Is>(std::index_sequence<Is...>) {
|
|
483
482
|
// If the partial derivatives are constant, evaluate them as Scalars
|
|
484
483
|
// instead of building them as expressions
|
|
485
|
-
if constexpr (
|
|
484
|
+
if constexpr (Self::CONSTANT_PARTIALS) {
|
|
486
485
|
// Evaluate gradients
|
|
487
486
|
ArgArray<Scalar, NumArgs> g{};
|
|
488
487
|
grad(g, this->val, args[Is]->val...);
|
|
@@ -521,6 +520,8 @@ struct NonLeafExpression : Expression<Scalar> {
|
|
|
521
520
|
}
|
|
522
521
|
|
|
523
522
|
private:
|
|
523
|
+
using Self = Derived<Scalar, Type>;
|
|
524
|
+
|
|
524
525
|
/// Computes the partial derivatives with the derived expression type's
|
|
525
526
|
/// eval_grad(), or leaves them unwritten if it doesn't define one.
|
|
526
527
|
///
|
|
@@ -536,10 +537,10 @@ struct NonLeafExpression : Expression<Scalar> {
|
|
|
536
537
|
template <typename Value, typename... Args>
|
|
537
538
|
void grad(ArgArray<Value, NumArgs>& g, const Value& val,
|
|
538
539
|
const Args&... x) const {
|
|
539
|
-
if constexpr (requires(const
|
|
540
|
+
if constexpr (requires(const Self& expr) {
|
|
540
541
|
expr.eval_grad(g, val, x...);
|
|
541
542
|
}) {
|
|
542
|
-
static_cast<const
|
|
543
|
+
static_cast<const Self&>(*this).eval_grad(g, val, x...);
|
|
543
544
|
}
|
|
544
545
|
}
|
|
545
546
|
};
|
|
@@ -550,17 +551,17 @@ struct NonLeafExpression : Expression<Scalar> {
|
|
|
550
551
|
/// A unary operator that maps its constant argument to itself (e.g., sin(0) =
|
|
551
552
|
/// 0) returns the argument instead of allocating a new constant.
|
|
552
553
|
///
|
|
553
|
-
/// @tparam
|
|
554
|
+
/// @tparam Derived Derived expression type template.
|
|
554
555
|
/// @tparam Scalar Scalar type.
|
|
555
556
|
/// @tparam Args Argument types.
|
|
556
557
|
/// @param args The arguments.
|
|
557
|
-
template <template <typename, ExpressionType> typename
|
|
558
|
+
template <template <typename, ExpressionType> typename Derived, typename Scalar,
|
|
558
559
|
typename... Args>
|
|
559
560
|
ExpressionPtr<Scalar> fold_or_make(const Args&... args) {
|
|
560
561
|
using enum ExpressionType;
|
|
561
562
|
|
|
562
563
|
if (((args->type() == CONSTANT) && ...)) {
|
|
563
|
-
Scalar val =
|
|
564
|
+
Scalar val = Derived<Scalar, NONLINEAR>::eval(args->val...);
|
|
564
565
|
if constexpr (sizeof...(Args) == 1) {
|
|
565
566
|
const auto& x = std::get<0>(std::forward_as_tuple(args...));
|
|
566
567
|
if (x->val == val) {
|
|
@@ -571,19 +572,19 @@ ExpressionPtr<Scalar> fold_or_make(const Args&... args) {
|
|
|
571
572
|
}
|
|
572
573
|
|
|
573
574
|
if (((args->type() <= PARAMETER) && ...)) {
|
|
574
|
-
return make_expression_ptr<
|
|
575
|
+
return make_expression_ptr<Derived<Scalar, PARAMETER>>(args...);
|
|
575
576
|
} else {
|
|
576
|
-
return make_expression_ptr<
|
|
577
|
+
return make_expression_ptr<Derived<Scalar, NONLINEAR>>(args...);
|
|
577
578
|
}
|
|
578
579
|
}
|
|
579
580
|
|
|
580
581
|
/// Derived expression type for binary minus operator.
|
|
581
582
|
///
|
|
582
583
|
/// @tparam Scalar Scalar type.
|
|
583
|
-
/// @tparam
|
|
584
|
-
template <typename Scalar, ExpressionType
|
|
584
|
+
/// @tparam Type Expression type.
|
|
585
|
+
template <typename Scalar, ExpressionType Type>
|
|
585
586
|
struct BinaryMinusExpression final
|
|
586
|
-
: NonLeafExpression<BinaryMinusExpression
|
|
587
|
+
: NonLeafExpression<BinaryMinusExpression, Scalar, Type, 2> {
|
|
587
588
|
using BinaryMinusExpression::NonLeafExpression::NonLeafExpression;
|
|
588
589
|
|
|
589
590
|
/// The expression's name.
|
|
@@ -607,10 +608,10 @@ struct BinaryMinusExpression final
|
|
|
607
608
|
/// Derived expression type for binary plus operator.
|
|
608
609
|
///
|
|
609
610
|
/// @tparam Scalar Scalar type.
|
|
610
|
-
/// @tparam
|
|
611
|
-
template <typename Scalar, ExpressionType
|
|
611
|
+
/// @tparam Type Expression type.
|
|
612
|
+
template <typename Scalar, ExpressionType Type>
|
|
612
613
|
struct BinaryPlusExpression final
|
|
613
|
-
: NonLeafExpression<BinaryPlusExpression
|
|
614
|
+
: NonLeafExpression<BinaryPlusExpression, Scalar, Type, 2> {
|
|
614
615
|
using BinaryPlusExpression::NonLeafExpression::NonLeafExpression;
|
|
615
616
|
|
|
616
617
|
/// The expression's name.
|
|
@@ -634,10 +635,9 @@ struct BinaryPlusExpression final
|
|
|
634
635
|
/// Derived expression type for binary division operator.
|
|
635
636
|
///
|
|
636
637
|
/// @tparam Scalar Scalar type.
|
|
637
|
-
/// @tparam
|
|
638
|
-
template <typename Scalar, ExpressionType
|
|
639
|
-
struct DivExpression final
|
|
640
|
-
: NonLeafExpression<DivExpression<Scalar, T>, Scalar, 2, T> {
|
|
638
|
+
/// @tparam Type Expression type.
|
|
639
|
+
template <typename Scalar, ExpressionType Type>
|
|
640
|
+
struct DivExpression final : NonLeafExpression<DivExpression, Scalar, Type, 2> {
|
|
641
641
|
using DivExpression::NonLeafExpression::NonLeafExpression;
|
|
642
642
|
|
|
643
643
|
/// The expression's name.
|
|
@@ -657,10 +657,10 @@ struct DivExpression final
|
|
|
657
657
|
/// Derived expression type for binary multiplication operator.
|
|
658
658
|
///
|
|
659
659
|
/// @tparam Scalar Scalar type.
|
|
660
|
-
/// @tparam
|
|
661
|
-
template <typename Scalar, ExpressionType
|
|
660
|
+
/// @tparam Type Expression type.
|
|
661
|
+
template <typename Scalar, ExpressionType Type>
|
|
662
662
|
struct MultExpression final
|
|
663
|
-
: NonLeafExpression<MultExpression
|
|
663
|
+
: NonLeafExpression<MultExpression, Scalar, Type, 2> {
|
|
664
664
|
using MultExpression::NonLeafExpression::NonLeafExpression;
|
|
665
665
|
|
|
666
666
|
/// The expression's name.
|
|
@@ -680,10 +680,10 @@ struct MultExpression final
|
|
|
680
680
|
/// Derived expression type for unary minus operator.
|
|
681
681
|
///
|
|
682
682
|
/// @tparam Scalar Scalar type.
|
|
683
|
-
/// @tparam
|
|
684
|
-
template <typename Scalar, ExpressionType
|
|
683
|
+
/// @tparam Type Expression type.
|
|
684
|
+
template <typename Scalar, ExpressionType Type>
|
|
685
685
|
struct UnaryMinusExpression final
|
|
686
|
-
: NonLeafExpression<UnaryMinusExpression
|
|
686
|
+
: NonLeafExpression<UnaryMinusExpression, Scalar, Type, 1> {
|
|
687
687
|
using UnaryMinusExpression::NonLeafExpression::NonLeafExpression;
|
|
688
688
|
|
|
689
689
|
/// The expression's name.
|
|
@@ -17,10 +17,9 @@ namespace slp::detail {
|
|
|
17
17
|
/// Derived expression type for abs().
|
|
18
18
|
///
|
|
19
19
|
/// @tparam Scalar Scalar type.
|
|
20
|
-
/// @tparam
|
|
21
|
-
template <typename Scalar, ExpressionType
|
|
22
|
-
struct AbsExpression final
|
|
23
|
-
: NonLeafExpression<AbsExpression<Scalar, T>, Scalar, 1, T> {
|
|
20
|
+
/// @tparam Type Expression type.
|
|
21
|
+
template <typename Scalar, ExpressionType Type>
|
|
22
|
+
struct AbsExpression final : NonLeafExpression<AbsExpression, Scalar, Type, 1> {
|
|
24
23
|
using AbsExpression::NonLeafExpression::NonLeafExpression;
|
|
25
24
|
|
|
26
25
|
/// The expression's name.
|
|
@@ -60,10 +59,10 @@ ExpressionPtr<Scalar> abs(const ExpressionPtr<Scalar>& x) {
|
|
|
60
59
|
/// Derived expression type for acos().
|
|
61
60
|
///
|
|
62
61
|
/// @tparam Scalar Scalar type.
|
|
63
|
-
/// @tparam
|
|
64
|
-
template <typename Scalar, ExpressionType
|
|
62
|
+
/// @tparam Type Expression type.
|
|
63
|
+
template <typename Scalar, ExpressionType Type>
|
|
65
64
|
struct AcosExpression final
|
|
66
|
-
: NonLeafExpression<AcosExpression
|
|
65
|
+
: NonLeafExpression<AcosExpression, Scalar, Type, 1> {
|
|
67
66
|
using AcosExpression::NonLeafExpression::NonLeafExpression;
|
|
68
67
|
|
|
69
68
|
/// The expression's name.
|
|
@@ -94,10 +93,10 @@ ExpressionPtr<Scalar> acos(const ExpressionPtr<Scalar>& x) {
|
|
|
94
93
|
/// Derived expression type for asin().
|
|
95
94
|
///
|
|
96
95
|
/// @tparam Scalar Scalar type.
|
|
97
|
-
/// @tparam
|
|
98
|
-
template <typename Scalar, ExpressionType
|
|
96
|
+
/// @tparam Type Expression type.
|
|
97
|
+
template <typename Scalar, ExpressionType Type>
|
|
99
98
|
struct AsinExpression final
|
|
100
|
-
: NonLeafExpression<AsinExpression
|
|
99
|
+
: NonLeafExpression<AsinExpression, Scalar, Type, 1> {
|
|
101
100
|
using AsinExpression::NonLeafExpression::NonLeafExpression;
|
|
102
101
|
|
|
103
102
|
/// The expression's name.
|
|
@@ -128,10 +127,10 @@ ExpressionPtr<Scalar> asin(const ExpressionPtr<Scalar>& x) {
|
|
|
128
127
|
/// Derived expression type for atan().
|
|
129
128
|
///
|
|
130
129
|
/// @tparam Scalar Scalar type.
|
|
131
|
-
/// @tparam
|
|
132
|
-
template <typename Scalar, ExpressionType
|
|
130
|
+
/// @tparam Type Expression type.
|
|
131
|
+
template <typename Scalar, ExpressionType Type>
|
|
133
132
|
struct AtanExpression final
|
|
134
|
-
: NonLeafExpression<AtanExpression
|
|
133
|
+
: NonLeafExpression<AtanExpression, Scalar, Type, 1> {
|
|
135
134
|
using AtanExpression::NonLeafExpression::NonLeafExpression;
|
|
136
135
|
|
|
137
136
|
/// The expression's name.
|
|
@@ -161,10 +160,10 @@ ExpressionPtr<Scalar> atan(const ExpressionPtr<Scalar>& x) {
|
|
|
161
160
|
/// Derived expression type for atan2().
|
|
162
161
|
///
|
|
163
162
|
/// @tparam Scalar Scalar type.
|
|
164
|
-
/// @tparam
|
|
165
|
-
template <typename Scalar, ExpressionType
|
|
163
|
+
/// @tparam Type Expression type.
|
|
164
|
+
template <typename Scalar, ExpressionType Type>
|
|
166
165
|
struct Atan2Expression final
|
|
167
|
-
: NonLeafExpression<Atan2Expression
|
|
166
|
+
: NonLeafExpression<Atan2Expression, Scalar, Type, 2> {
|
|
168
167
|
using Atan2Expression::NonLeafExpression::NonLeafExpression;
|
|
169
168
|
|
|
170
169
|
/// The expression's name.
|
|
@@ -199,10 +198,10 @@ ExpressionPtr<Scalar> atan2(const ExpressionPtr<Scalar>& y,
|
|
|
199
198
|
/// Derived expression type for cbrt().
|
|
200
199
|
///
|
|
201
200
|
/// @tparam Scalar Scalar type.
|
|
202
|
-
/// @tparam
|
|
203
|
-
template <typename Scalar, ExpressionType
|
|
201
|
+
/// @tparam Type Expression type.
|
|
202
|
+
template <typename Scalar, ExpressionType Type>
|
|
204
203
|
struct CbrtExpression final
|
|
205
|
-
: NonLeafExpression<CbrtExpression
|
|
204
|
+
: NonLeafExpression<CbrtExpression, Scalar, Type, 1> {
|
|
206
205
|
using CbrtExpression::NonLeafExpression::NonLeafExpression;
|
|
207
206
|
|
|
208
207
|
/// The expression's name.
|
|
@@ -232,10 +231,9 @@ ExpressionPtr<Scalar> cbrt(const ExpressionPtr<Scalar>& x) {
|
|
|
232
231
|
/// Derived expression type for cos().
|
|
233
232
|
///
|
|
234
233
|
/// @tparam Scalar Scalar type.
|
|
235
|
-
/// @tparam
|
|
236
|
-
template <typename Scalar, ExpressionType
|
|
237
|
-
struct CosExpression final
|
|
238
|
-
: NonLeafExpression<CosExpression<Scalar, T>, Scalar, 1, T> {
|
|
234
|
+
/// @tparam Type Expression type.
|
|
235
|
+
template <typename Scalar, ExpressionType Type>
|
|
236
|
+
struct CosExpression final : NonLeafExpression<CosExpression, Scalar, Type, 1> {
|
|
239
237
|
using CosExpression::NonLeafExpression::NonLeafExpression;
|
|
240
238
|
|
|
241
239
|
/// The expression's name.
|
|
@@ -266,10 +264,10 @@ ExpressionPtr<Scalar> cos(const ExpressionPtr<Scalar>& x) {
|
|
|
266
264
|
/// Derived expression type for cosh().
|
|
267
265
|
///
|
|
268
266
|
/// @tparam Scalar Scalar type.
|
|
269
|
-
/// @tparam
|
|
270
|
-
template <typename Scalar, ExpressionType
|
|
267
|
+
/// @tparam Type Expression type.
|
|
268
|
+
template <typename Scalar, ExpressionType Type>
|
|
271
269
|
struct CoshExpression final
|
|
272
|
-
: NonLeafExpression<CoshExpression
|
|
270
|
+
: NonLeafExpression<CoshExpression, Scalar, Type, 1> {
|
|
273
271
|
using CoshExpression::NonLeafExpression::NonLeafExpression;
|
|
274
272
|
|
|
275
273
|
/// The expression's name.
|
|
@@ -300,10 +298,9 @@ ExpressionPtr<Scalar> cosh(const ExpressionPtr<Scalar>& x) {
|
|
|
300
298
|
/// Derived expression type for erf().
|
|
301
299
|
///
|
|
302
300
|
/// @tparam Scalar Scalar type.
|
|
303
|
-
/// @tparam
|
|
304
|
-
template <typename Scalar, ExpressionType
|
|
305
|
-
struct ErfExpression final
|
|
306
|
-
: NonLeafExpression<ErfExpression<Scalar, T>, Scalar, 1, T> {
|
|
301
|
+
/// @tparam Type Expression type.
|
|
302
|
+
template <typename Scalar, ExpressionType Type>
|
|
303
|
+
struct ErfExpression final : NonLeafExpression<ErfExpression, Scalar, Type, 1> {
|
|
307
304
|
using ErfExpression::NonLeafExpression::NonLeafExpression;
|
|
308
305
|
|
|
309
306
|
/// The expression's name.
|
|
@@ -334,10 +331,9 @@ ExpressionPtr<Scalar> erf(const ExpressionPtr<Scalar>& x) {
|
|
|
334
331
|
/// Derived expression type for exp().
|
|
335
332
|
///
|
|
336
333
|
/// @tparam Scalar Scalar type.
|
|
337
|
-
/// @tparam
|
|
338
|
-
template <typename Scalar, ExpressionType
|
|
339
|
-
struct ExpExpression final
|
|
340
|
-
: NonLeafExpression<ExpExpression<Scalar, T>, Scalar, 1, T> {
|
|
334
|
+
/// @tparam Type Expression type.
|
|
335
|
+
template <typename Scalar, ExpressionType Type>
|
|
336
|
+
struct ExpExpression final : NonLeafExpression<ExpExpression, Scalar, Type, 1> {
|
|
341
337
|
using ExpExpression::NonLeafExpression::NonLeafExpression;
|
|
342
338
|
|
|
343
339
|
/// The expression's name.
|
|
@@ -371,10 +367,10 @@ ExpressionPtr<Scalar> hypot(const ExpressionPtr<Scalar>& x,
|
|
|
371
367
|
/// Derived expression type for hypot() with two arguments.
|
|
372
368
|
///
|
|
373
369
|
/// @tparam Scalar Scalar type.
|
|
374
|
-
/// @tparam
|
|
375
|
-
template <typename Scalar, ExpressionType
|
|
370
|
+
/// @tparam Type Expression type.
|
|
371
|
+
template <typename Scalar, ExpressionType Type>
|
|
376
372
|
struct Hypot2Expression final
|
|
377
|
-
: NonLeafExpression<Hypot2Expression
|
|
373
|
+
: NonLeafExpression<Hypot2Expression, Scalar, Type, 2> {
|
|
378
374
|
using Hypot2Expression::NonLeafExpression::NonLeafExpression;
|
|
379
375
|
|
|
380
376
|
/// The expression's name.
|
|
@@ -419,10 +415,10 @@ ExpressionPtr<Scalar> hypot(const ExpressionPtr<Scalar>& x,
|
|
|
419
415
|
/// Derived expression type for hypot() with three arguments.
|
|
420
416
|
///
|
|
421
417
|
/// @tparam Scalar Scalar type.
|
|
422
|
-
/// @tparam
|
|
423
|
-
template <typename Scalar, ExpressionType
|
|
418
|
+
/// @tparam Type Expression type.
|
|
419
|
+
template <typename Scalar, ExpressionType Type>
|
|
424
420
|
struct Hypot3Expression final
|
|
425
|
-
: NonLeafExpression<Hypot3Expression
|
|
421
|
+
: NonLeafExpression<Hypot3Expression, Scalar, Type, 3> {
|
|
426
422
|
using Hypot3Expression::NonLeafExpression::NonLeafExpression;
|
|
427
423
|
|
|
428
424
|
/// The expression's name.
|
|
@@ -469,10 +465,10 @@ ExpressionPtr<Scalar> hypot(const ExpressionPtr<Scalar>& x,
|
|
|
469
465
|
/// Returns t if cond(a, b) is true, otherwise f.
|
|
470
466
|
///
|
|
471
467
|
/// @tparam Scalar Scalar type.
|
|
472
|
-
/// @tparam
|
|
473
|
-
template <typename Scalar, ExpressionType
|
|
468
|
+
/// @tparam Type Expression type.
|
|
469
|
+
template <typename Scalar, ExpressionType Type>
|
|
474
470
|
struct IfElseExpression final
|
|
475
|
-
: NonLeafExpression<IfElseExpression
|
|
471
|
+
: NonLeafExpression<IfElseExpression, Scalar, Type, 4> {
|
|
476
472
|
/// The expression's name.
|
|
477
473
|
static constexpr std::string_view NAME = "if-else";
|
|
478
474
|
|
|
@@ -559,10 +555,9 @@ ExpressionPtr<Scalar> if_else(
|
|
|
559
555
|
/// Derived expression type for log().
|
|
560
556
|
///
|
|
561
557
|
/// @tparam Scalar Scalar type.
|
|
562
|
-
/// @tparam
|
|
563
|
-
template <typename Scalar, ExpressionType
|
|
564
|
-
struct LogExpression final
|
|
565
|
-
: NonLeafExpression<LogExpression<Scalar, T>, Scalar, 1, T> {
|
|
558
|
+
/// @tparam Type Expression type.
|
|
559
|
+
template <typename Scalar, ExpressionType Type>
|
|
560
|
+
struct LogExpression final : NonLeafExpression<LogExpression, Scalar, Type, 1> {
|
|
566
561
|
using LogExpression::NonLeafExpression::NonLeafExpression;
|
|
567
562
|
|
|
568
563
|
/// The expression's name.
|
|
@@ -592,10 +587,10 @@ ExpressionPtr<Scalar> log(const ExpressionPtr<Scalar>& x) {
|
|
|
592
587
|
/// Derived expression type for log10().
|
|
593
588
|
///
|
|
594
589
|
/// @tparam Scalar Scalar type.
|
|
595
|
-
/// @tparam
|
|
596
|
-
template <typename Scalar, ExpressionType
|
|
590
|
+
/// @tparam Type Expression type.
|
|
591
|
+
template <typename Scalar, ExpressionType Type>
|
|
597
592
|
struct Log10Expression final
|
|
598
|
-
: NonLeafExpression<Log10Expression
|
|
593
|
+
: NonLeafExpression<Log10Expression, Scalar, Type, 1> {
|
|
599
594
|
using Log10Expression::NonLeafExpression::NonLeafExpression;
|
|
600
595
|
|
|
601
596
|
/// The expression's name.
|
|
@@ -627,10 +622,9 @@ ExpressionPtr<Scalar> log10(const ExpressionPtr<Scalar>& x) {
|
|
|
627
622
|
/// Returns the greater of a and b. If the values are equivalent, returns a.
|
|
628
623
|
///
|
|
629
624
|
/// @tparam Scalar Scalar type.
|
|
630
|
-
/// @tparam
|
|
631
|
-
template <typename Scalar, ExpressionType
|
|
632
|
-
struct MaxExpression final
|
|
633
|
-
: NonLeafExpression<MaxExpression<Scalar, T>, Scalar, 2, T> {
|
|
625
|
+
/// @tparam Type Expression type.
|
|
626
|
+
template <typename Scalar, ExpressionType Type>
|
|
627
|
+
struct MaxExpression final : NonLeafExpression<MaxExpression, Scalar, Type, 2> {
|
|
634
628
|
using MaxExpression::NonLeafExpression::NonLeafExpression;
|
|
635
629
|
|
|
636
630
|
/// The expression's name.
|
|
@@ -675,10 +669,9 @@ ExpressionPtr<Scalar> max(const ExpressionPtr<Scalar>& a,
|
|
|
675
669
|
/// Returns the lesser of a and b. If the values are equivalent, returns a.
|
|
676
670
|
///
|
|
677
671
|
/// @tparam Scalar Scalar type.
|
|
678
|
-
/// @tparam
|
|
679
|
-
template <typename Scalar, ExpressionType
|
|
680
|
-
struct MinExpression final
|
|
681
|
-
: NonLeafExpression<MinExpression<Scalar, T>, Scalar, 2, T> {
|
|
672
|
+
/// @tparam Type Expression type.
|
|
673
|
+
template <typename Scalar, ExpressionType Type>
|
|
674
|
+
struct MinExpression final : NonLeafExpression<MinExpression, Scalar, Type, 2> {
|
|
682
675
|
using MinExpression::NonLeafExpression::NonLeafExpression;
|
|
683
676
|
|
|
684
677
|
/// The expression's name.
|
|
@@ -728,10 +721,9 @@ ExpressionPtr<Scalar> sqrt(const ExpressionPtr<Scalar>& x);
|
|
|
728
721
|
/// Derived expression type for pow().
|
|
729
722
|
///
|
|
730
723
|
/// @tparam Scalar Scalar type.
|
|
731
|
-
/// @tparam
|
|
732
|
-
template <typename Scalar, ExpressionType
|
|
733
|
-
struct PowExpression final
|
|
734
|
-
: NonLeafExpression<PowExpression<Scalar, T>, Scalar, 2, T> {
|
|
724
|
+
/// @tparam Type Expression type.
|
|
725
|
+
template <typename Scalar, ExpressionType Type>
|
|
726
|
+
struct PowExpression final : NonLeafExpression<PowExpression, Scalar, Type, 2> {
|
|
735
727
|
using PowExpression::NonLeafExpression::NonLeafExpression;
|
|
736
728
|
|
|
737
729
|
/// The expression's name.
|
|
@@ -803,10 +795,10 @@ ExpressionPtr<Scalar> pow(const ExpressionPtr<Scalar>& base,
|
|
|
803
795
|
/// Derived expression type for sign().
|
|
804
796
|
///
|
|
805
797
|
/// @tparam Scalar Scalar type.
|
|
806
|
-
/// @tparam
|
|
807
|
-
template <typename Scalar, ExpressionType
|
|
798
|
+
/// @tparam Type Expression type.
|
|
799
|
+
template <typename Scalar, ExpressionType Type>
|
|
808
800
|
struct SignExpression final
|
|
809
|
-
: NonLeafExpression<SignExpression
|
|
801
|
+
: NonLeafExpression<SignExpression, Scalar, Type, 1> {
|
|
810
802
|
using SignExpression::NonLeafExpression::NonLeafExpression;
|
|
811
803
|
|
|
812
804
|
/// The expression's name.
|
|
@@ -835,10 +827,9 @@ ExpressionPtr<Scalar> sign(const ExpressionPtr<Scalar>& x) {
|
|
|
835
827
|
/// Derived expression type for sin().
|
|
836
828
|
///
|
|
837
829
|
/// @tparam Scalar Scalar type.
|
|
838
|
-
/// @tparam
|
|
839
|
-
template <typename Scalar, ExpressionType
|
|
840
|
-
struct SinExpression final
|
|
841
|
-
: NonLeafExpression<SinExpression<Scalar, T>, Scalar, 1, T> {
|
|
830
|
+
/// @tparam Type Expression type.
|
|
831
|
+
template <typename Scalar, ExpressionType Type>
|
|
832
|
+
struct SinExpression final : NonLeafExpression<SinExpression, Scalar, Type, 1> {
|
|
842
833
|
using SinExpression::NonLeafExpression::NonLeafExpression;
|
|
843
834
|
|
|
844
835
|
/// The expression's name.
|
|
@@ -869,10 +860,10 @@ ExpressionPtr<Scalar> sin(const ExpressionPtr<Scalar>& x) {
|
|
|
869
860
|
/// Derived expression type for sinh().
|
|
870
861
|
///
|
|
871
862
|
/// @tparam Scalar Scalar type.
|
|
872
|
-
/// @tparam
|
|
873
|
-
template <typename Scalar, ExpressionType
|
|
863
|
+
/// @tparam Type Expression type.
|
|
864
|
+
template <typename Scalar, ExpressionType Type>
|
|
874
865
|
struct SinhExpression final
|
|
875
|
-
: NonLeafExpression<SinhExpression
|
|
866
|
+
: NonLeafExpression<SinhExpression, Scalar, Type, 1> {
|
|
876
867
|
using SinhExpression::NonLeafExpression::NonLeafExpression;
|
|
877
868
|
|
|
878
869
|
/// The expression's name.
|
|
@@ -903,10 +894,10 @@ ExpressionPtr<Scalar> sinh(const ExpressionPtr<Scalar>& x) {
|
|
|
903
894
|
/// Derived expression type for sqrt().
|
|
904
895
|
///
|
|
905
896
|
/// @tparam Scalar Scalar type.
|
|
906
|
-
/// @tparam
|
|
907
|
-
template <typename Scalar, ExpressionType
|
|
897
|
+
/// @tparam Type Expression type.
|
|
898
|
+
template <typename Scalar, ExpressionType Type>
|
|
908
899
|
struct SqrtExpression final
|
|
909
|
-
: NonLeafExpression<SqrtExpression
|
|
900
|
+
: NonLeafExpression<SqrtExpression, Scalar, Type, 1> {
|
|
910
901
|
using SqrtExpression::NonLeafExpression::NonLeafExpression;
|
|
911
902
|
|
|
912
903
|
/// The expression's name.
|
|
@@ -936,10 +927,9 @@ ExpressionPtr<Scalar> sqrt(const ExpressionPtr<Scalar>& x) {
|
|
|
936
927
|
/// Derived expression type for tan().
|
|
937
928
|
///
|
|
938
929
|
/// @tparam Scalar Scalar type.
|
|
939
|
-
/// @tparam
|
|
940
|
-
template <typename Scalar, ExpressionType
|
|
941
|
-
struct TanExpression final
|
|
942
|
-
: NonLeafExpression<TanExpression<Scalar, T>, Scalar, 1, T> {
|
|
930
|
+
/// @tparam Type Expression type.
|
|
931
|
+
template <typename Scalar, ExpressionType Type>
|
|
932
|
+
struct TanExpression final : NonLeafExpression<TanExpression, Scalar, Type, 1> {
|
|
943
933
|
using TanExpression::NonLeafExpression::NonLeafExpression;
|
|
944
934
|
|
|
945
935
|
/// The expression's name.
|
|
@@ -972,10 +962,10 @@ ExpressionPtr<Scalar> tan(const ExpressionPtr<Scalar>& x) {
|
|
|
972
962
|
/// Derived expression type for tanh().
|
|
973
963
|
///
|
|
974
964
|
/// @tparam Scalar Scalar type.
|
|
975
|
-
/// @tparam
|
|
976
|
-
template <typename Scalar, ExpressionType
|
|
965
|
+
/// @tparam Type Expression type.
|
|
966
|
+
template <typename Scalar, ExpressionType Type>
|
|
977
967
|
struct TanhExpression final
|
|
978
|
-
: NonLeafExpression<TanhExpression
|
|
968
|
+
: NonLeafExpression<TanhExpression, Scalar, Type, 1> {
|
|
979
969
|
using TanhExpression::NonLeafExpression::NonLeafExpression;
|
|
980
970
|
|
|
981
971
|
/// The expression's name.
|
{sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/CMakeLists.txt
RENAMED
|
File without changes
|
{sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/LICENSE.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/pyproject.toml
RENAMED
|
File without changes
|
{sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/python/.clang-tidy
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sleipnirgroup_jormungandr-0.6.7.dev142 → sleipnirgroup_jormungandr-0.6.7.dev143}/src/util/pool.cpp
RENAMED
|
File without changes
|