Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add ndarray/base/binary-reduce-strided1d-dispatch #7908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gururaj1512 wants to merge 6 commits into stdlib-js:develop
base: develop
Choose a base branch
Loading
from gururaj1512:ndarray-base-binary-reduce-strided1d-dispatch

Conversation

Copy link
Member

@gururaj1512 gururaj1512 commented Aug 18, 2025

Resolves None

Description

What is the purpose of this pull request?

This pull request:

  • feat: add ndarray/base/binary-reduce-strided1d-dispatch

Related Issues

Does this pull request have any related issues?

This pull request:

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


@stdlib-js/reviewers

@gururaj1512 gururaj1512 added GSoC Google Summer of Code. gsoc: 2025 Google Summer of Code (2025). labels Aug 18, 2025
Copy link
Member

kgryte commented Aug 29, 2025

/stdlib merge

stdlib-bot reacted with eyes emoji

@stdlib-bot stdlib-bot added the bot: In Progress Pull request is currently awaiting automation. label Aug 29, 2025
@kgryte kgryte added Feature Issue or pull request for adding a new feature. and removed bot: In Progress Pull request is currently awaiting automation. labels Aug 29, 2025
Copy link
Member

kgryte commented Aug 29, 2025

This PR is dependent on #7904.

Copy link
Member

kgryte commented Sep 8, 2025

/stdlib merge

stdlib-bot reacted with eyes emoji

@stdlib-bot stdlib-bot added the bot: In Progress Pull request is currently awaiting automation. label Sep 8, 2025
@kgryte kgryte marked this pull request as ready for review September 8, 2025 05:47
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Sep 8, 2025
@stdlib-bot stdlib-bot removed the bot: In Progress Pull request is currently awaiting automation. label Sep 8, 2025
Copy link
Contributor

stdlib-bot commented Sep 8, 2025
edited
Loading

Coverage Report

Package Statements Branches Functions Lines
ndarray/base/binary-reduce-strided1d-dispatch $\color{red}465/874$
$\color{green}+53.20\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{red}0/7$
$\color{green}+0.00\%$
$\color{red}465/874$
$\color{green}+53.20\%$

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

Copy link
Member

kgryte commented Sep 8, 2025
edited
Loading

@gururaj1512 Now that #7904 is merged, is there anything else you want to do to this PR before review?

Note that I changed some of the logic in #7904. In particular, for each input ndarray, to determine the casting data type, one would do

var idt1 = getDType( x1 );
var idt2 = getDType( x2 );
var dt1 = binaryCastingDataType( idt1, idt2, odt, policy );
var dt2 = binaryCastingDataType( idt2, idt1, odt, policy );

Here, the first argument corresponds to the array dtype that you want to figure out the casting data type and the second argument corresponds to the "additional"/other input ndarray data type.

Copy link
Member

kgryte commented Sep 8, 2025

The lint failure seems to be due to a recently added lint rule which is buggy.

cc @Planeshifter

Copy link
Member

kgryte commented Sep 8, 2025

/stdlib merge

stdlib-bot reacted with eyes emoji

@stdlib-bot stdlib-bot added the bot: In Progress Pull request is currently awaiting automation. label Sep 8, 2025
@stdlib-bot stdlib-bot removed the bot: In Progress Pull request is currently awaiting automation. label Sep 8, 2025
@kgryte kgryte added Needs Review A pull request which needs code review. and removed Needs Review A pull request which needs code review. labels Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Feature Issue or pull request for adding a new feature. GSoC Google Summer of Code. gsoc: 2025 Google Summer of Code (2025). Needs Review A pull request which needs code review.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /