Skip to content

docs: improve doctests for complex number typed arrays in blas/base/wasm#11975

Open
anandkaranubc wants to merge 1 commit intostdlib-js:developfrom
anandkaranubc:update-blas-base-wasm-complex-doctests
Open

docs: improve doctests for complex number typed arrays in blas/base/wasm#11975
anandkaranubc wants to merge 1 commit intostdlib-js:developfrom
anandkaranubc:update-blas-base-wasm-complex-doctests

Conversation

@anandkaranubc
Copy link
Copy Markdown
Contributor

@anandkaranubc anandkaranubc commented May 6, 2026

Progresses #4833
Resolves stdlib-js/metr-issue-tracker#517

Description

What is the purpose of this pull request?

This pull request:

  • improve doctests for complex number instances in blas/base/wasm

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

Used a Cursor driven Skill+Workflow to achieve this migration with manual and automated sanity checks.


@stdlib-js/reviewers

@anandkaranubc anandkaranubc requested a review from a team May 6, 2026 18:30
@anandkaranubc anandkaranubc added Documentation Improvements, additions, or changes to documentation. difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. METR Pull request associated with the METR project. labels May 6, 2026
@stdlib-bot stdlib-bot added BLAS Issue or pull request related to Basic Linear Algebra Subprograms (BLAS). Needs Review A pull request which needs code review. labels May 6, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
blas/base/wasm/ccopy $\color{green}672/672$
$\color{green}+100.00%$
$\color{green}17/17$
$\color{green}+100.00%$
$\color{green}6/6$
$\color{green}+100.00%$
$\color{green}672/672$
$\color{green}+100.00%$
blas/base/wasm/cscal $\color{green}694/694$
$\color{green}+100.00%$
$\color{green}17/17$
$\color{green}+100.00%$
$\color{green}6/6$
$\color{green}+100.00%$
$\color{green}694/694$
$\color{green}+100.00%$
blas/base/wasm/csrot $\color{green}706/706$
$\color{green}+100.00%$
$\color{green}17/17$
$\color{green}+100.00%$
$\color{green}6/6$
$\color{green}+100.00%$
$\color{green}706/706$
$\color{green}+100.00%$
blas/base/wasm/cswap $\color{green}695/695$
$\color{green}+100.00%$
$\color{green}17/17$
$\color{green}+100.00%$
$\color{green}6/6$
$\color{green}+100.00%$
$\color{green}695/695$
$\color{green}+100.00%$
blas/base/wasm/zcopy $\color{green}673/673$
$\color{green}+100.00%$
$\color{green}17/17$
$\color{green}+100.00%$
$\color{green}6/6$
$\color{green}+100.00%$
$\color{green}673/673$
$\color{green}+100.00%$
blas/base/wasm/zdrot $\color{green}706/706$
$\color{green}+100.00%$
$\color{green}17/17$
$\color{green}+100.00%$
$\color{green}6/6$
$\color{green}+100.00%$
$\color{green}706/706$
$\color{green}+100.00%$
blas/base/wasm/zscal $\color{green}694/694$
$\color{green}+100.00%$
$\color{green}17/17$
$\color{green}+100.00%$
$\color{green}6/6$
$\color{green}+100.00%$
$\color{green}694/694$
$\color{green}+100.00%$
blas/base/wasm/zswap $\color{green}695/695$
$\color{green}+100.00%$
$\color{green}17/17$
$\color{green}+100.00%$
$\color{green}6/6$
$\color{green}+100.00%$
$\color{green}695/695$
$\color{green}+100.00%$

The above coverage report was generated for the changes in this PR.

@anandkaranubc
Copy link
Copy Markdown
Contributor Author

The lint error is due to the exceeded character count in repl.txt, which was already there before as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLAS Issue or pull request related to Basic Linear Algebra Subprograms (BLAS). difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. Documentation Improvements, additions, or changes to documentation. METR Pull request associated with the METR project. Needs Review A pull request which needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC]: improve doctests for complex number typed arrays in @stdlib/blas/base/wasm

2 participants