Skip to content

Add parameter support to Python bindings#10

Open
Transurgeon wants to merge 1 commit intomainfrom
parameter-bindings
Open

Add parameter support to Python bindings#10
Transurgeon wants to merge 1 commit intomainfrom
parameter-bindings

Conversation

@Transurgeon
Copy link
Copy Markdown
Collaborator

Expose the SparseDiffEngine parameter API to Python, enabling updatable problem parameters that can be changed between solves without reconstructing the expression tree.

New bindings: make_parameter, make_param_scalar_mult, make_param_vector_mult, problem_register_params, problem_update_params.

Existing constant/matmul bindings updated to use the unified parameter API internally (backward compatible). Also fixes stale elementwise_univariate.h includes renamed in the engine.

Expose the SparseDiffEngine parameter API to Python, enabling updatable
problem parameters that can be changed between solves without
reconstructing the expression tree.

New bindings: make_parameter, make_param_scalar_mult,
make_param_vector_mult, problem_register_params, problem_update_params.

Existing constant/matmul bindings updated to use the unified
parameter API internally (backward compatible). Also fixes stale
elementwise_univariate.h includes renamed in the engine.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant