Skip to content

feat: add blas/ext/base/glast-index-of-row#11929

Open
headlessNode wants to merge 4 commits intostdlib-js:developfrom
headlessNode:blas/glastidxofrow
Open

feat: add blas/ext/base/glast-index-of-row#11929
headlessNode wants to merge 4 commits intostdlib-js:developfrom
headlessNode:blas/glastidxofrow

Conversation

@headlessNode
Copy link
Copy Markdown
Member

Resolves stdlib-js/metr-issue-tracker#221.

Description

What is the purpose of this pull request?

This pull request:

  • add blas/ext/base/glast-index-of-row

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.".

Primarily written by Claude Code.


@stdlib-js/reviewers

@headlessNode headlessNode requested a review from a team May 4, 2026 15:42
@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 4, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

stdlib-bot commented May 4, 2026

Coverage Report

Package Statements Branches Functions Lines
blas/ext/base/glast-index-of-row $\color{red}391/475$
$\color{green}+0.00%$
$\color{red}34/35$
$\color{green}+0.00%$
$\color{red}2/3$
$\color{green}+0.00%$
$\color{red}391/475$
$\color{green}+0.00%$

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

@headlessNode headlessNode added Feature Issue or pull request for adding a new feature. METR Pull request associated with the METR project. labels May 4, 2026
@headlessNode headlessNode marked this pull request as draft May 4, 2026 17:56
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label May 4, 2026
@headlessNode
Copy link
Copy Markdown
Member Author

No need for 'base.js`

@headlessNode headlessNode marked this pull request as ready for review May 4, 2026 19:37
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label May 4, 2026
@kgryte kgryte removed the Needs Review A pull request which needs code review. label May 5, 2026
Comment thread lib/node_modules/@stdlib/blas/ext/base/glast-index-of-row/lib/main.js Outdated
Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
}
});

tape( 'the function returns an invalid index when M is less than or equal to zero', function test( t ) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You need to include tests for accessor arrays.

t.end();
});

tape( 'the function returns an invalid index when M is less than or equal to zero (row-major)', function test( t ) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You need to include tests for accessor arrays.

Copy link
Copy Markdown
Member

@kgryte kgryte left a comment

Choose a reason for hiding this comment

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

Other than missing tests, this is looking good.

Given that changes already need to be made, it would be good to go ahead and update the description of LDA throughout this PR.

@kgryte kgryte added Needs Changes Pull request which needs changes before being merged. review: 3 labels May 5, 2026
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). Feature Issue or pull request for adding a new feature. METR Pull request associated with the METR project. Needs Changes Pull request which needs changes before being merged. review: 3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC]: add blas/ext/base/glast-index-of-row

3 participants