Skip to content

Improve dpnp.trapezoid docstring wording and line wrapping - #3052

Merged
antonwolfy merged 2 commits into
masterfrom
update-trapezoid-docstring
Sep 1, 2026
Merged

Improve dpnp.trapezoid docstring wording and line wrapping#3052
antonwolfy merged 2 commits into
masterfrom
update-trapezoid-docstring

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This PR refines the docstring of dpnp.trapezoid and corrects the description of the parametric-curve case. The previous wording described the computation with a change-of-variable formula that was misleading; it now identifies the parametric curve explicitly and characterizes the result as a line integral.

The change is documentation-only: no behavior, signature, or keyword change.

  • 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?

@antonwolfy antonwolfy self-assigned this Sep 1, 2026
@antonwolfy antonwolfy added this to the 0.21.0 release milestone Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev7=py314ha0e2e8e_12 ran successfully.
Passed: 1375
Failed: 0
Skipped: 7

@coveralls

coveralls commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

No base build to compare — update-trapezoid-docstring into master

@antonwolfy
antonwolfy merged commit 5da183e into master Sep 1, 2026
106 of 111 checks passed
@antonwolfy
antonwolfy deleted the update-trapezoid-docstring branch September 1, 2026 13:03
github-actions Bot added a commit that referenced this pull request Sep 1, 2026
This PR refines the docstring of `dpnp.trapezoid` and corrects the
description of the parametric-curve case. The previous wording described
the computation with a change-of-variable formula that was misleading;
it now identifies the parametric curve explicitly and characterizes the
result as a line integral.

The change is documentation-only: no behavior, signature, or keyword
change. 5da183e
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