feat: add blas/ext/base/gwaxpb#13122
Conversation
---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
- task: lint_filenames
status: passed
- task: lint_editorconfig
status: passed
- task: lint_markdown_pkg_readmes
status: passed
- task: lint_markdown_docs
status: na
- task: lint_markdown
status: na
- task: lint_package_json
status: passed
- task: lint_repl_help
status: passed
- task: lint_javascript_src
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
---
---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
- task: lint_filenames
status: passed
- task: lint_editorconfig
status: passed
- task: lint_markdown_pkg_readmes
status: na
- task: lint_markdown_docs
status: na
- task: lint_markdown
status: na
- task: lint_package_json
status: na
- task: lint_repl_help
status: na
- task: lint_javascript_src
status: na
- task: lint_javascript_cli
status: na
- task: lint_javascript_examples
status: na
- task: lint_javascript_tests
status: passed
- task: lint_javascript_benchmarks
status: na
- 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: na
- task: lint_license_headers
status: passed
---
| var gwapx = require( '@stdlib/blas/ext/base/gwapx' ).ndarray; | ||
| var gwax = require( '@stdlib/blas/ext/base/gwax' ).ndarray; |
There was a problem hiding this comment.
I can remove these imports if needed. Added those because the issue description here mentioned to use these packages.
There was a problem hiding this comment.
Yeah, that's fine. I know we discussed this during office hours where I was of the mind of only delegating to hardware optimized routines. Apparently, I have flip flopped on this. I'm okay leaving this as is.
| // MAIN // | ||
|
|
||
| /** | ||
| * Multiplies each element in a strided array `x` by a scalar constant and adds a scalar constant before assigning the results to a strided array `w` using alternative indexing semantics. |
There was a problem hiding this comment.
Description check if this looks good?
There was a problem hiding this comment.
Yes, this is fine. At some point, we may just need to transition to using the equation in the descriptions, rather than explain out everything in words. This is similar to Level 2 and Level 3 BLAS. We're not there, yet, but something to keep in mind that there is a limit to how verbose we need to be. At some point, better to just show rather than describe.
There was a problem hiding this comment.
If I may ask, what's preventing us to do that at the moment?
There was a problem hiding this comment.
Nothing, to be honest, but you've had your pattern going and we are consistent across the various packages you've added, so didn't seem like it was necessary to buck the trend.
Coverage Report
The above coverage report was generated for the changes in this PR. |
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
Resolves stdlib-js/metr-issue-tracker#619
Description
This pull request:
blas/ext/base/gwaxpbRelated Issues
This pull request has the following related issues:
blas/ext/base/gwaxpbmetr-issue-tracker#619Questions
No.
Other
No.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
Used Cursor+VS Code code-generation tools to help assist with the feature.
@stdlib-js/reviewers