-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: add stats/base/dists/halfnormal/mode
#9705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
status: passed
- 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: na
- task: lint_javascript_benchmarks
status: passed
- task: lint_python
status: na
- task: lint_r
status: na
- task: lint_c_src
status: passed
- task: lint_c_examples
status: passed
- task: lint_c_benchmarks
status: passed
- 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
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
---
---
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: 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: 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
---
|
The test file name is incorrect right now. I’ll rename it correctly in the next commit. |
Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
---
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: 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: passed
- 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
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: 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
---
4a87916 to
0e8635e
Compare
---
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: 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: na
- task: lint_javascript_benchmarks
status: na
- task: lint_python
status: na
- task: lint_r
status: na
- task: lint_c_src
status: passed
- 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
---
---
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: 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
---
Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
f2c614c to
8d9916b
Compare
Coverage Report
The above coverage report was generated for the changes in this PR. |
Updated the README to clarify the mode for a half-normal distribution. Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
Planeshifter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left initial comments.
...s/@stdlib/stats/base/dists/halfnormal/mode/include/stdlib/stats/base/dists/halfnormal/mode.h
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/test/test.native.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/docs/types/test.ts
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/README.md
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/README.md
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/README.md
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/README.md
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/src/main.c
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/src/main.c
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/examples/c/example.c
Outdated
Show resolved
Hide resolved
…ude/stdlib/stats/base/dists/halfnormal/mode.h Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…/test.native.js Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…ples/c/example.c Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…main.c Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…ME.md Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…ME.md Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…main.c Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…ME.md Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…/types/test.ts Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
Planeshifter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more small comments.
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/README.md
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/test/test.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/halfnormal/mode/src/main.c
Outdated
Show resolved
Hide resolved
…ME.md Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…main.c Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
…/test.js Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
- Refactor benchmarks to use `random/array/uniform` and pre-generate data outside timing loop - Fix `printf` format specifiers and spacing in C example code
Planeshifter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Lokeshranjan8! Let's land this PR.
PR Commit MessagePlease review the above commit message and make any necessary adjustments. |
PR-URL: stdlib-js#9705 Ref: stdlib-js#9416 Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
PR-URL: stdlib-js#9705 Ref: stdlib-js#9416 Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
PR-URL: stdlib-js#9705 Ref: stdlib-js#9416 Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
Progresses #9416 .
Description
This pull request:
halfnormal/modeRelated 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