-
-
Notifications
You must be signed in to change notification settings - Fork 1k
docs: improve doctests for complex number instances in strided/base/zmap
#9044
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
base: develop
Are you sure you want to change the base?
docs: improve doctests for complex number instances in strided/base/zmap
#9044
Conversation
…zmap`
---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
- task: lint_filenames
status: passed
- task: lint_editorconfig
status: passed
- task: lint_markdown
status: passed
- task: lint_package_json
status: na
- task: lint_repl_help
status: passed
- task: lint_javascript_src
status: passed
- task: lint_javascript_cli
status: na
- task: lint_javascript_examples
status: na
- task: lint_javascript_tests
status: na
- task: lint_javascript_benchmarks
status: na
- task: lint_python
status: na
- task: lint_r
status: na
- task: lint_c_src
status: na
- task: lint_c_examples
status: na
- task: lint_c_benchmarks
status: na
- task: lint_c_tests_fixtures
status: na
- task: lint_shell
status: na
- task: lint_typescript_declarations
status: passed
- task: lint_typescript_tests
status: passed
- task: lint_license_headers
status: passed
---
Coverage Report
The above coverage report was generated for the changes in this PR. |
|
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! |
| zmap( x.length, x, 1, y, 1, cceil ); | ||
|
|
||
| var v = y.get( 0 ); | ||
| // returns <Complex128> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prajjwalbajpai You also need to remove any applicable import statements above and below in this file.
| * | ||
| * var im = imag( v ); | ||
| * // returns 10.0 | ||
| * // returns <Complex128>[ 10.0, 10.0 ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prajjwalbajpai You need to remove any applicable import statements in this and other examples in this file.
| * | ||
| * var im = imag( v ); | ||
| * // returns 10.0 | ||
| * // returns <Complex128>[ 10.0, 10.0 ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prajjwalbajpai You need to remove any applicable import statements in this and other examples in this file.
| * | ||
| * var im = imag( v ); | ||
| * // returns 10.0 | ||
| * // returns <Complex128>[ 10.0, 10.0 ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prajjwalbajpai You need to remove any applicable import statements in this and other examples in this file.
| * | ||
| * var im = imag( v ); | ||
| * // returns 10.0 | ||
| * // returns <Complex128>[ 10.0, 10.0 ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prajjwalbajpai You need to remove any applicable import statements in this and other examples in this file.
kgryte
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left initial comments.
Resolves a part of #8641.
Description
This pull request:
strided/base/zmapto use the compact complex instance doctest notation.Related Issues
This pull request has the following related issues:
Questions
No.
Other
No.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
N.A.
@stdlib-js/reviewers