stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

docs: improve doctests for complex number instances in `strided/base/cmap`

Open prajjwalbajpai opened this issue 2 weeks ago • 1 comments

Resolves a part of #8641.

Description

This pull request:

  • Updates REPL and documentation examples in the strided/base/cmap package to use the compact complex instance doctest notation.
  • Replaces example decomposition using realf/imagf with concise doctest annotations.

Related Issues

This pull request has the following related issues:

  • #8641

Questions

No.

Other

No.

Checklist

AI Assistance

  • [ ] Yes
  • [x] 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

NA


@stdlib-js/reviewers

prajjwalbajpai avatar Dec 10 '25 17:12 prajjwalbajpai

Coverage Report

Package Statements Branches Functions Lines
strided/base/cmap $\color{green}226/226$
$\color{green}+100.00%$
$\color{green}9/9$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}226/226$
$\color{green}+100.00%$

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

stdlib-bot avatar Dec 10 '25 17:12 stdlib-bot