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

Review numpy API coverage #224

Open
wshanks opened this issue May 16, 2024 · 0 comments
Open

Review numpy API coverage #224

wshanks opened this issue May 16, 2024 · 0 comments

Comments

@wshanks
Copy link
Collaborator

wshanks commented May 16, 2024

Since Uncertainties has not been updated much recently, there has been time for the functions in the unumpy module to drift relative to upstream numpy. Following on from the need to look at the numpy support because of numpy 2 (#222), it would be good to review the current unumpy interface to make sure the current functions still match numpy's versions (no change in function signature) and no functions added to numpy that a user would expect are missing. Besides that there are a couple known action items:

  • numpy 2 introduced aliases for inverse trigonometric functions like acos for arccos. It would be good for unumpy to include similar aliases.
  • Review if unumpy.matrix could be updated/deprecated. The corresponding numpy.matrix has been documented as not recommended and possibly to be removed for a long time now. However, the numpy developers did not take the opportunity to remove it with numpy 2.0 and likely numpy 3.0 will not happen for a long time. Still, unumpy.matrix could perhaps migrate to deriving from a standard array instead of numpy.matrix.
@wshanks wshanks mentioned this issue May 16, 2024
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

No branches or pull requests

1 participant