Skip to content

Comments

docs: replace manual for loop in examples#9444

Merged
Planeshifter merged 5 commits intostdlib-js:developfrom
hrshya:docs/rayleigh
Jan 1, 2026
Merged

docs: replace manual for loop in examples#9444
Planeshifter merged 5 commits intostdlib-js:developfrom
hrshya:docs/rayleigh

Conversation

@hrshya
Copy link
Contributor

@hrshya hrshya commented Dec 30, 2025

Resolves none .

Description

What is the purpose of this pull request?

This pull request:

  • replaces manual for loop in examples for stats/base/dists/rayleigh/* packages.

Related Issues

Does this pull request have any related issues?

This pull request:

  • resolves no 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.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Needs Review A pull request which needs code review. labels Dec 30, 2025
@hrshya hrshya added the Documentation Improvements, additions, or changes to documentation. label Dec 30, 2025
Signed-off-by: Harsh <149176984+hrshya@users.noreply.github.com>
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Dec 30, 2025

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/rayleigh/cdf $\color{green}288/288$
$\color{green}+0.00%$
$\color{green}27/27$
$\color{green}+0.00%$
$\color{green}4/4$
$\color{green}+0.00%$
$\color{green}288/288$
$\color{green}+0.00%$
stats/base/dists/rayleigh/entropy $\color{green}164/164$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}164/164$
$\color{green}+0.00%$
stats/base/dists/rayleigh/kurtosis $\color{green}175/175$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}175/175$
$\color{green}+0.00%$
stats/base/dists/rayleigh/logcdf $\color{green}302/302$
$\color{green}+0.00%$
$\color{green}31/31$
$\color{green}+0.00%$
$\color{green}4/4$
$\color{green}+0.00%$
$\color{green}302/302$
$\color{green}+0.00%$
stats/base/dists/rayleigh/logpdf $\color{green}297/297$
$\color{green}+0.00%$
$\color{green}29/29$
$\color{green}+0.00%$
$\color{green}4/4$
$\color{green}+0.00%$
$\color{green}297/297$
$\color{green}+0.00%$
stats/base/dists/rayleigh/mean $\color{green}162/162$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}162/162$
$\color{green}+0.00%$
stats/base/dists/rayleigh/median $\color{green}166/166$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}166/166$
$\color{green}+0.00%$
stats/base/dists/rayleigh/mgf $\color{green}291/291$
$\color{green}+0.00%$
$\color{green}16/16$
$\color{green}+0.00%$
$\color{green}4/4$
$\color{green}+0.00%$
$\color{green}291/291$
$\color{green}+0.00%$
stats/base/dists/rayleigh/mode $\color{green}161/161$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}161/161$
$\color{green}+0.00%$
stats/base/dists/rayleigh/pdf $\color{green}295/295$
$\color{green}+0.00%$
$\color{green}29/29$
$\color{green}+0.00%$
$\color{green}4/4$
$\color{green}+0.00%$
$\color{green}295/295$
$\color{green}+0.00%$
stats/base/dists/rayleigh/quantile $\color{green}290/290$
$\color{green}+0.00%$
$\color{green}26/26$
$\color{green}+0.00%$
$\color{green}4/4$
$\color{green}+0.00%$
$\color{green}290/290$
$\color{green}+0.00%$
stats/base/dists/rayleigh/skewness $\color{green}169/169$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}169/169$
$\color{green}+0.00%$
stats/base/dists/rayleigh/stdev $\color{green}169/169$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}169/169$
$\color{green}+0.00%$
stats/base/dists/rayleigh/variance $\color{green}162/162$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}162/162$
$\color{green}+0.00%$

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

Signed-off-by: Harsh <149176984+hrshya@users.noreply.github.com>
@hrshya hrshya marked this pull request as draft December 30, 2025 18:43
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Dec 30, 2025
@hrshya hrshya marked this pull request as ready for review December 30, 2025 18:52
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Dec 30, 2025
@Planeshifter Planeshifter self-requested a review December 31, 2025 02:35
hrshya added 2 commits January 1, 2026 10:07
Signed-off-by: Harsh <149176984+hrshya@users.noreply.github.com>
Signed-off-by: Harsh <149176984+hrshya@users.noreply.github.com>
Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; thanks also for fixing the unrelated lint errors in some of the files!

@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label Jan 1, 2026
@stdlib-bot
Copy link
Contributor

PR Commit Message

docs: replace manual `for` loop in examples

PR-URL: https://github.com/stdlib-js/stdlib/pull/9444

Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
Signed-off-by: Harsh <149176984+hrshya@users.noreply.github.com>

Please review the above commit message and make any necessary adjustments.

@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Jan 1, 2026
@Planeshifter Planeshifter merged commit 88af63a into stdlib-js:develop Jan 1, 2026
30 checks passed
@stdlib-bot stdlib-bot removed the Ready To Merge A pull request which is ready to be merged. label Jan 1, 2026
@hrshya hrshya deleted the docs/rayleigh branch January 5, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements, additions, or changes to documentation. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants