feat: add `ndarray/base/fill`
Progresses #2656.
Description
What is the purpose of this pull request?
This pull request:
- Adds implementation of
ndarray/base/fill
Related Issues
Does this pull request have any related issues?
This pull request:
- Progresses #2656
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.
- [x] Read, understood, and followed the contributing guidelines.
@stdlib-js/reviewers
@kgryte I think the benchmarks and tests will essentially be similar to ndarray/base/assign?
the benchmarks and tests will essentially be similar to
ndarray/base/assign
Yes, I think so.
@kgryte Done. Please review, thanks!
@kgryte I realized after adding all the benchmarks that you meant to add benchmarks for 2d only. So its up to you if you want to remove the other benchmarks.