feat: add C implementation for stats/base/ndarray/smean#10090
feat: add C implementation for stats/base/ndarray/smean#10090AtharvaPatange wants to merge 7 commits intostdlib-js:developfrom
stats/base/ndarray/smean#10090Conversation
- Add main.c with stdlib_stats_smean function - Add addon.c for Node.js native binding - Add smean.h header file - Add benchmark C implementation - Add binding.gyp and build configuration - Add manifest.json with dependencies Fixes #<issue-number>
|
👋 Hi there! 👋 And thank you for opening your first pull request! We will review it shortly. 🏃 💨 Getting Started
Next Steps
Running Tests LocallyYou can use # Run tests for all packages in the math namespace:
make test TESTS_FILTER=".*/@stdlib/math/.*"
# Run benchmarks for a specific package:
make benchmark BENCHMARKS_FILTER=".*/@stdlib/math/base/special/sin/.*"If you haven't heard back from us within two weeks, please ping us by tagging the "reviewers" team in a comment on this PR. If you have any further questions while waiting for a response, please join our Zulip community to chat with project maintainers and other community members. We appreciate your contribution! Documentation Links |
There was a problem hiding this comment.
@AtharvaPatange There seems to be missing implementation for examples/c/example.c.
Also noticed changes in README.md, package.json, lib/main.js as well as lib/native.js. Refer https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/ndarray/smax
---
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: na
- task: lint_javascript_src
status: passed
- task: lint_javascript_cli
status: na
- task: lint_javascript_examples
status: na
- task: lint_javascript_tests
status: na
- 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
---
Signed-off-by: Sachin Pangal <151670745+Sachinn-64@users.noreply.github.com>
Coverage ReportNo coverage information available. |
| * @license Apache-2.0 | ||
| * | ||
| * Copyright (c) 2025 The Stdlib Authors. | ||
| * Copyright (c) 2026 The Stdlib Authors. |
There was a problem hiding this comment.
This file existed before your PR with a 2025 copyright year - let's keep that as-is. We only set the current year on newly created files.
| * Copyright (c) 2026 The Stdlib Authors. | |
| * Copyright (c) 2025 The Stdlib Authors. |
| * @license Apache-2.0 | ||
| * | ||
| * Copyright (c) 2025 The Stdlib Authors. | ||
| * Copyright (c) 2026 The Stdlib Authors. |
There was a problem hiding this comment.
Same here - this is an existing file, so let's revert the copyright year back to 2025.
| * Copyright (c) 2026 The Stdlib Authors. | |
| * Copyright (c) 2025 The Stdlib Authors. |
| * @license Apache-2.0 | ||
| * | ||
| * Copyright (c) 2025 The Stdlib Authors. | ||
| * Copyright (c) 2026 The Stdlib Authors. |
There was a problem hiding this comment.
And same for this file - let's keep the original 2025 copyright year.
| * Copyright (c) 2026 The Stdlib Authors. | |
| * Copyright (c) 2025 The Stdlib Authors. |
d7019d1 to
c69f42b
Compare
Resolves None.
Description
This pull request:
stats/base/ndarray/smeanRelated Issues
This pull request has the following related issues:
Questions
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