docs: improve doctests for complex number instances in array/base/at#8654
Merged
kgryte merged 8 commits intostdlib-js:developfrom Dec 1, 2025
Merged
Conversation
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
Contributor
|
I noticed your PR description contains closing keywords ("Resolves", "Closes", or "Fixes") referencing a "Tracking Issue". Why this matters: Required action: Thank you for your contribution to the project! |
array/base/at
kgryte
reviewed
Dec 1, 2025
Signed-off-by: Athan <kgryte@gmail.com>
kgryte
reviewed
Dec 1, 2025
Signed-off-by: Athan <kgryte@gmail.com>
kgryte
reviewed
Dec 1, 2025
kgryte
reviewed
Dec 1, 2025
Signed-off-by: Athan <kgryte@gmail.com>
kgryte
reviewed
Dec 1, 2025
Signed-off-by: Athan <kgryte@gmail.com>
kgryte
approved these changes
Dec 1, 2025
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves a part of #8641
Description
This pull request:
array/base/atpackage to use the new compact complex instance doctest notation.real,imag,realf, andimagfwhich were previously used to decompose complex numbers into real and imaginary components.// returns <Complex128>[ 1.0, 2.0 ]// returns <Complex128>[ 3.0, 4.0 ]// returns <Complex128>[ 5.0, 6.0 ]// returns <Complex64>[ 1.0, 2.0 ]// returns <Complex64>[ 3.0, 4.0 ]// returns <Complex64>[ 5.0, 6.0 ]Related Issues
This pull request has the following related issues:
(Replace the placeholder above with the actual issue number.)
Questions
No.
Other
No.
Checklist
array/base/atpackage.AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
Only for research purpose , else everything i done it myself
@stdlib-js/reviewers