generic `numpy.polynomial` classes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 79
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
It currently isn't narrow enough to be able to be passed to e.g. scipy.optimize.minimize_scalar, which requires a (float64) -> float64 or (float) -> float callable. See https://github.com/scipy/scipy-stubs/issues/465#issuecomment-2696142441 for more details.
This requires knowing the dtype of the coefficients, so the polynomial classes should be made generic.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the numpy.polynomial classes and the linked scipy-stubs discussion to understand the required callable signatures and coefficient dtypes. Done means the polynomial classes are generic over coefficient dtype and can satisfy the stated float and float64 callable requirements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100