Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize: complete _differentiable_functions (private) #214

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

jorenham
Copy link
Owner

This affects the following classes of the private scipy.optimize._differentiable_functions module:

  • ScalarFunction
  • VectorFunction
  • LinearVectorFunction
  • IdentityVectorFunction

These have all been made optionally generic on the scalar-type x (the floating input vector).

It's not (yet) possible annotate the array-api support, as discussed in #140.


towards #102 (-73)

@jorenham jorenham added scipy.optimize stubs: improvement Improve or refactor existing annotations labels Nov 28, 2024
@jorenham jorenham added this to the 1.14.1.5 milestone Nov 28, 2024
@jorenham jorenham changed the title optimize: complete _differentiable_functions optimize: complete _differentiable_functions (private) Nov 28, 2024
@jorenham jorenham merged commit 79f6918 into master Nov 28, 2024
4 checks passed
@jorenham jorenham deleted the optimize._differentiable_functions branch November 28, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scipy.optimize stubs: improvement Improve or refactor existing annotations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant