feat: add accessor protocol and refactor `stats/base/nanvariancepn`
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 status: passed
- task: lint_package_json status: na
- 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 ---
Resolves #5675 .
Description
This pull request:
- Adds new file
lib/accessors.js. - Modified
lib/nansumpw.js. - Modified
lib/nanvariancepn.js. - Modified
lib/ndarray.js. - Modified examples, benchmarks, docs, tests and readme files accordingly.
Related Issues
Does this pull request have any related issues?
This pull request:
- resolves #5675
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
Coverage Report
| Package | Statements | Branches | Functions | Lines |
|---|---|---|---|---|
| stats/base/nanvariancepn | $\color{green}549/549$ $\color{green}+100.00\%$ |
$\color{green}51/51$ $\color{green}+100.00\%$ |
$\color{green}4/4$ $\color{green}+100.00\%$ |
$\color{green}549/549$ $\color{green}+100.00\%$ |
The above coverage report was generated for the changes in this PR.
/stdlib merge
/stdlib merge