feat: add blas/ext/base/ndarray/srev#9045
feat: add blas/ext/base/ndarray/srev#9045Amansingh0807 wants to merge 10 commits intostdlib-js:developfrom
blas/ext/base/ndarray/srev#9045Conversation
Coverage Report
The above coverage report was generated for the changes in this PR. |
|
/stdlib merge |
|
/stdlib update-copyright-years |
|
@Planeshifter Hi! I noticed you were reviewing similar PR today. I've just updated the copyright years in this one to keep it current. Since you are already in this context, could you please take a quick look here as well whenever you have a moment? Thanks! |
| "scripts": { | ||
| "test": "make test", | ||
| "test-cov": "make test-cov", | ||
| "examples": "make examples", | ||
| "benchmark": "make benchmark" | ||
| }, | ||
| "homepage": "https://github.com/stdlib-js/stdlib", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git://github.com/stdlib-js/stdlib.git" | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/stdlib-js/stdlib/issues" | ||
| }, | ||
| "dependencies": { | ||
| "@stdlib/math/base/special/floor": "^0.2.2", | ||
| "@stdlib/ndarray/base/data-buffer": "^0.2.1", | ||
| "@stdlib/ndarray/base/numel-dimension": "^0.2.1", | ||
| "@stdlib/ndarray/base/offset": "^0.2.1", | ||
| "@stdlib/ndarray/base/stride": "^0.2.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@stdlib/array/float32": "^0.2.2", | ||
| "@stdlib/ndarray/base/ctor": "^0.2.2", | ||
| "@stdlib/random/base/randu": "^0.2.1", | ||
| "tape": "git+https://github.com/kgryte/tape.git#fix/globby", | ||
| "istanbul": "^0.4.1", | ||
| "tap-min": "git+https://github.com/Planeshifter/tap-min.git", | ||
| "bench": "git+https://github.com/kgryte/bench.git" | ||
| }, |
There was a problem hiding this comment.
scripts, dependencies, and devDependencies objects should be empty objects since these are auto-generated during package creation.
| "float", | ||
| "single" | ||
| ] | ||
| } |
There was a problem hiding this comment.
Please add:
"__stdlib__": {}before the closing brace.
|
|
||
| // MODULES // | ||
|
|
||
| var tape = require( 'tape' ); // eslint-disable-line node/no-unpublished-require |
There was a problem hiding this comment.
| var tape = require( 'tape' ); // eslint-disable-line node/no-unpublished-require | |
| var tape = require( 'tape' ); |
7ab6a12 to
4758f53
Compare
|
/stdlib merge |
|
/stdlib update-copyright-years |
|
Hi @Planeshifter All requested changes have been applied. Ready for re-review. Thanks! |
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
Resolves None.
Description
This pull request:
blas/ext/base/ndarray/srevRelated Issues
This pull request has the following related issues:
Questions
No.
Other
Implementation Notes:
Stride Handling: The implementation correctly handles negative strides. The target index
iyis calculated relative to the offset(iy = ix + (N-1)*stride), ensuring the logical view is reversed regardless of the underlying memory traversal direction.Type Safety: Following the pattern of existing BLAS ndarray implementations, explicit runtime type validation is omitted to prioritize performance in the inner loop. The implementation relies on TypeScript definitions and upstream
ndarray constraints.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
@stdlib-js/reviewers