feat: add blas/ext/base/dnancusumpw#10402
Open
MeKaustubh07 wants to merge 5 commits intostdlib-js:developfrom
Open
feat: add blas/ext/base/dnancusumpw#10402MeKaustubh07 wants to merge 5 commits intostdlib-js:developfrom
blas/ext/base/dnancusumpw#10402MeKaustubh07 wants to merge 5 commits intostdlib-js:developfrom
Conversation
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
gururaj1512
reviewed
Mar 5, 2026
Comment on lines
+45
to
+47
| * var N = x.length; | ||
| * | ||
| * var v = dnancusumpw( N, 0.0, x, 1, y, 1 ); |
Member
There was a problem hiding this comment.
Suggested change
| * var N = x.length; | |
| * | |
| * var v = dnancusumpw( N, 0.0, x, 1, y, 1 ); | |
| * | |
| * var v = dnancusumpw( x.length, 0.0, x, 1, y, 1 ); |
gururaj1512
reviewed
Mar 7, 2026
Comment on lines
+186
to
+187
| ]); | ||
| N = 3; |
Member
There was a problem hiding this comment.
Suggested change
| ]); | |
| N = 3; | |
| ]); |
gururaj1512
reviewed
Mar 7, 2026
| var expected; | ||
| var x; | ||
| var y; | ||
| var N; |
gururaj1512
reviewed
Mar 7, 2026
| ]); | ||
| N = 3; | ||
|
|
||
| dnancusumpw( N, 0.0, x, 2, y, 1 ); |
Member
There was a problem hiding this comment.
Suggested change
| dnancusumpw( N, 0.0, x, 2, y, 1 ); | |
| dnancusumpw( 3, 0.0, x, 2, y, 1 ); |
gururaj1512
reviewed
Mar 7, 2026
| var expected; | ||
| var x; | ||
| var y; | ||
| var N; |
gururaj1512
reviewed
Mar 7, 2026
| 0.0, | ||
| 0.0 // 2 | ||
| ]); | ||
| N = 3; |
gururaj1512
reviewed
Mar 7, 2026
| ]); | ||
| N = 3; | ||
|
|
||
| dnancusumpw( N, 0.0, x, 1, y, 2 ); |
Member
There was a problem hiding this comment.
Suggested change
| dnancusumpw( N, 0.0, x, 1, y, 2 ); | |
| dnancusumpw( 3, 0.0, x, 1, y, 2 ); |
gururaj1512
reviewed
Mar 7, 2026
| var expected; | ||
| var x; | ||
| var y; | ||
| var N; |
gururaj1512
reviewed
Mar 7, 2026
| 0.0, | ||
| 0.0 | ||
| ]); | ||
| N = 3; |
gururaj1512
reviewed
Mar 7, 2026
| ]); | ||
| N = 3; | ||
|
|
||
| dnancusumpw( N, 0.0, x, -2, y, -1 ); |
Member
There was a problem hiding this comment.
Suggested change
| dnancusumpw( N, 0.0, x, -2, y, -1 ); | |
| dnancusumpw( 3, 0.0, x, -2, y, -1 ); |
gururaj1512
reviewed
Mar 7, 2026
| var expected; | ||
| var x; | ||
| var y; | ||
| var N; |
gururaj1512
reviewed
Mar 7, 2026
| 0.0, | ||
| 0.0 | ||
| ]); | ||
| N = 3; |
gururaj1512
reviewed
Mar 7, 2026
| ]); | ||
| N = 3; | ||
|
|
||
| dnancusumpw( N, 0.0, x, 2, y, -1 ); |
Member
There was a problem hiding this comment.
Suggested change
| dnancusumpw( N, 0.0, x, 2, y, -1 ); | |
| dnancusumpw( 3, 0.0, x, 2, y, -1 ); |
gururaj1512
reviewed
Mar 7, 2026
| var y0; | ||
| var x1; | ||
| var y1; | ||
| var N; |
gururaj1512
reviewed
Mar 7, 2026
| x1 = new Float64Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // begin at 2nd element | ||
| y1 = new Float64Array( y0.buffer, y0.BYTES_PER_ELEMENT*3 ); // begin at the 4th element | ||
|
|
||
| N = 3; |
gururaj1512
reviewed
Mar 7, 2026
|
|
||
| N = 3; | ||
|
|
||
| dnancusumpw( N, 0.0, x1, -2, y1, 1 ); |
Member
There was a problem hiding this comment.
Suggested change
| dnancusumpw( N, 0.0, x1, -2, y1, 1 ); | |
| dnancusumpw( 3, 0.0, x1, -2, y1, 1 ); |
gururaj1512
reviewed
Mar 7, 2026
Member
There was a problem hiding this comment.
Changes similar to these needs to be reflected in all tests files
gururaj1512
reviewed
Mar 7, 2026
|
|
||
| <!-- /.c --> | ||
|
|
||
|
|
gururaj1512
requested changes
Mar 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #314 .
Description
This pull request:
blas/ext/base/dnancusumpwRelated Issues
This pull request has the following related issues:
blas/ext/base/dnancusumpw#314Questions
No.
Other
No.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
{{TODO: add disclosure if applicable}}
@stdlib-js/reviewers