stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

feat: add `blas/ext/base/ndarray/gcusumkbn2`

Open MeKaustubh07 opened this issue 2 weeks ago • 1 comments

type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report:

task: lint_filenames status: passed task: lint_markdown status: passed task: lint_package_json status: passed task: lint_repl_help status: passed task: lint_javascript_cli status: na task: lint_javascript_examples status: passed task: lint_javascript_tests status: passed task: lint_javascript_benchmarks status: passed 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 Resolves None.


Description

What is the purpose of this pull request?

This pull request:

  • feat : add blas/ext/base/ndarray/gcusumkbn2

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

  • none

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?

  • [x] Yes
  • [ ] No

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

  • [x] Code generation (e.g., when writing an implementation or fixing a bug)
  • [x] Test/benchmark generation
  • [x] 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.".

This PR was created by duplicating the gcusum package and adapting it to compute the maximum absolute value instead of the maximum value. GitHub Copilot assisted with updating test cases, documentation, and verifying consistency across all files.


@stdlib-js/reviewers


MeKaustubh07 avatar Dec 10 '25 14:12 MeKaustubh07

Coverage Report

Package Statements Branches Functions Lines
blas/ext/base/ndarray/gcusumkbn2 $\color{green}129/129$
$\color{green}+0.00%$
$\color{green}3/3$
$\color{green}+0.00%$
$\color{green}1/1$
$\color{green}+0.00%$
$\color{green}129/129$
$\color{green}+0.00%$

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

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