Skip to content

Update docstrings for elementwise functions #2406

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

Merged
merged 35 commits into from
Apr 11, 2025

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Apr 2, 2025

The PR updates docstrings for elementwise functions to have a blank line prior Default value, also to add expected dtype of input arrays where missing, to align the dtypes with implementation and to fix some typos which were identified.
Also a description of include_initial keyword is aligned for cumulative functions.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

Copy link
Contributor

github-actions bot commented Apr 2, 2025

View rendered docs @ https://intelpython.github.io/dpnp/index.html

Copy link
Contributor

github-actions bot commented Apr 2, 2025

Array API standard conformance tests for dpnp=0.18.0dev0=py312he4f9c94_112 ran successfully.
Passed: 1219
Failed: 0
Skipped: 10

@antonwolfy antonwolfy force-pushed the update-trigonometric-docstrings branch from 9881031 to 963e22a Compare April 2, 2025 16:21
@coveralls
Copy link
Collaborator

coveralls commented Apr 2, 2025

Coverage Status

coverage: 72.271%. remained the same
when pulling 8c2afc9 on update-trigonometric-docstrings
into 4c66b58 on master.

@antonwolfy antonwolfy force-pushed the update-trigonometric-docstrings branch 8 times, most recently from 31a3db7 to dd8a897 Compare April 7, 2025 09:49
Also `arccos` is now alias on `acos` function.
Limitation block is aligned along all trigonometric functions.
Also `arccosh` is now alias on `acosh` function.
…licable.

Also `arcsin` is now alias on `asin` function.
And `arcsinh` is now alias on `asinh` function.
…h where applicable.

Also `arctan` is now alias on `atan` function.
And `arctan2` is now alias on `atan2` function.
And `arctanh` is now alias on `atanh` function.
@antonwolfy antonwolfy force-pushed the update-trigonometric-docstrings branch from 0c111d6 to ae17868 Compare April 9, 2025 13:18
@antonwolfy antonwolfy marked this pull request as ready for review April 9, 2025 13:18
@antonwolfy antonwolfy changed the title Update docstrings for trigonometric functions Update docstrings for elementwise functions Apr 9, 2025
Copy link
Collaborator

@vtavana vtavana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @antonwolfy!

@antonwolfy antonwolfy merged commit bbe197a into master Apr 11, 2025
68 checks passed
@antonwolfy antonwolfy deleted the update-trigonometric-docstrings branch April 11, 2025 18:15
github-actions bot added a commit that referenced this pull request Apr 11, 2025
The PR updates docstrings for elementwise functions to have a blank line
prior `Default` value, also to add expected dtype of input arrays where
missing, to align the dtypes with implementation and to fix some typos
which were identified.
Also a description of `include_initial` keyword is aligned for
cumulative functions. bbe197a
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.

3 participants