Skip to content

Commit b2931b4

Browse files
committed
Auto-generated commit
1 parent 62e90a9 commit b2931b4

File tree

10 files changed

+124
-31
lines changed

10 files changed

+124
-31
lines changed

.editorconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ indent_style = tab
8686
[*.{f,f.txt}]
8787
indent_style = space
8888
indent_size = 2
89-
insert_final_newline = false
9089

9190
# Set properties for shell files:
9291
[*.{sh,sh.txt}]
@@ -121,7 +120,7 @@ indent_style = tab
121120
[*.{md,md.txt}]
122121
indent_style = space
123122
indent_size = 4
124-
trim_trailing_whitespace = false
123+
trim_trailing_whitespace = true # Note: this disables using two spaces to force a hard line break, which is permitted in Markdown. As we don't typically follow that practice (TMK), we should be safe to automatically trim.
125124
126125
# Set properties for `usage.txt` files:
127126
[usage.txt]

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/stdevtk) of the main repository where we’ll review and provide feedback.
44

5-
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib.
5+
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
66

77
We look forward to receiving your contribution! :smiley:

.github/workflows/test_install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
env:
5151
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
5252

53-
# Run workflow job if `publish` workflow run is successful or when the workflow is manually run:
54-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
53+
# Run workflow job if `publish` workflow run is successful or when the workflow is manually triggered or on a schedule:
54+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
5555

5656
# Define the sequence of job steps...
5757
steps:

.github/workflows/test_published_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
env:
4848
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
4949

50-
# Run workflow job if `publish` workflow run is successful or when the workflow is manually run:
51-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
50+
# Run workflow job if `publish` workflow run is successful or when the workflow is manually triggered or on a schedule:
51+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
5252

5353
# Define the job's steps:
5454
steps:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,7 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191+
192+
# Cursor #
193+
##########
194+
.cursorignore

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2025-03-29)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`2515c03`](https://github.com/stdlib-js/stdlib/commit/2515c03c11d75901db325c3d2d417fba4073110a) - **refactor:** update paths _(by Aayush Khanna)_
16+
17+
</details>
18+
19+
</section>
20+
21+
<!-- /.commits -->
22+
23+
<section class="contributors">
24+
25+
### Contributors
26+
27+
A total of 1 person contributed to this release. Thank you to this contributor:
28+
29+
- Aayush Khanna
30+
31+
</section>
32+
33+
<!-- /.contributors -->
34+
35+
</section>
36+
37+
<!-- /.release -->
38+
539
<section class="release" id="v0.2.2">
640

741
## 0.2.2 (2024-07-27)

CONTRIBUTORS

Lines changed: 75 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,32 @@
22
#
33
# Contributors listed in alphabetical order.
44

5+
Aadish Jain <[email protected]>
6+
Aarya Balwadkar <[email protected]>
57
Aayush Khanna <[email protected]>
8+
Abdelrahman Samir <[email protected]>
9+
Abdul Kaium <[email protected]>
10+
Abhay Punia <[email protected]>
611
Abhijit Raut <[email protected]>
12+
Abhishek Jain <[email protected]>
713
Adarsh Palaskar <[email protected]>
814
Aditya Sapra <[email protected]>
9-
AgPriyanshu18 <[email protected]>
15+
Ahmed Atwa <[email protected]>
16+
Ahmed Kashkoush <[email protected]>
17+
Ahmed Khaled <[email protected]>
18+
Aksshay Balasubramanian <[email protected]>
1019
Aleksandr <[email protected]>
1120
Ali Salesi <[email protected]>
21+
AlyAbdelmoneim <[email protected]>
1222
Aman Bhansali <[email protected]>
23+
AmanBhadkariya <[email protected]>
1324
Amit Jimiwal <[email protected]>
25+
Anshu Kumar <[email protected]>
26+
Anshu Kumar <[email protected]>
1427
Anudeep Sanapala <[email protected]>
1528
Athan Reines <[email protected]>
1629
30+
Bhavishy Agrawal <[email protected]>
1731
Brendan Graetz <[email protected]>
1832
Bruno Fenzl <[email protected]>
1933
Bryan Elee <[email protected]>
@@ -23,19 +37,35 @@ Dan Rose <[email protected]>
2337
Daniel Killenberger <[email protected]>
2438
Daniel Yu <[email protected]>
2539
Debashis Maharana <[email protected]>
40+
Deep Trivedi <[email protected]>
41+
Desh Deepak Kant <[email protected]>
42+
43+
Dhanyabad behera <[email protected]>
44+
Dhruv Arvind Singh <[email protected]>
45+
Dhruvil Mehta <[email protected]>
46+
Divyansh Seth <[email protected]>
2647
Dominic Lim <[email protected]>
2748
Dominik Moritz <[email protected]>
2849
Dorrin Sotoudeh <[email protected]>
2950
EuniceSim142 <[email protected]>
3051
Frank Kovacs <[email protected]>
52+
GK Bishnoi <[email protected]>
53+
54+
Gautam sharma <[email protected]>
3155
Golden Kumar <[email protected]>
3256
Gunj Joshi <[email protected]>
33-
Gururaj Gurram <[email protected]>
57+
Gururaj Gurram <[email protected]>
58+
Haroon Rasheed <[email protected]>
59+
3460
3561
Harshita Kalani <[email protected]>
62+
Hemant M Mehta <[email protected]>
3663
Hridyanshu <[email protected]>
3764
Jaimin Godhani <[email protected]>
65+
Jaison D Souza <[email protected]>
66+
Jalaj Kumar <[email protected]>
3867
James Gelok <[email protected]>
68+
3969
Jaysukh Makvana <[email protected]>
4070
Jenish Thapa <[email protected]>
4171
Jithin KS <[email protected]>
@@ -44,52 +74,72 @@ Joey Reed <[email protected]>
4474
Jordan Gallivan <[email protected]>
4575
Joris Labie <[email protected]>
4676
Justin Dennison <[email protected]>
77+
Justyn Shelby <[email protected]>
78+
Karan Anand <[email protected]>
4779
Karthik Prakash <[email protected]>
48-
80+
Kaushikgtm <[email protected]>
81+
Kavyansh-Bagdi <[email protected]>
4982
Kohantika Nath <[email protected]>
83+
Krishnam Agarwal <[email protected]>
5084
Krishnendu Das <[email protected]>
5185
Kshitij-Dale <[email protected]>
52-
86+
Lovelin Dhoni J B <[email protected]>
87+
5388
Manik Sharma <[email protected]>
89+
Manvith M <[email protected]>
5490
Marcus Fantham <[email protected]>
5591
Matt Cochrane <[email protected]>
5692
Mihir Pandit <[email protected]>
5793
Milan Raj <[email protected]>
94+
Mohammad Bin Aftab <[email protected]>
5895
Mohammad Kaif <[email protected]>
5996
Momtchil Momtchev <[email protected]>
6097
Muhammad Haris <[email protected]>
6198
Naresh Jagadeesan <[email protected]>
99+
Naveen Kumar <[email protected]>
62100
Neeraj Pathak <[email protected]>
63-
NightKnight <[email protected]>
101+
Nishant Shinde <[email protected]>
102+
Nishchay Rajput <[email protected]>
64103
Nithin Katta <[email protected]>
65104
Nourhan Hasan <[email protected]>
66105
Ognjen Jevremović <[email protected]>
67106
Oneday12323 <[email protected]>
107+
Ori Miles <[email protected]>
68108
Philipp Burckhardt <[email protected]>
109+
Prajjwal Bajpai <[email protected]>
69110
Prajwal Kulkarni <[email protected]>
70-
Pranav Goswami <[email protected]>
71-
72-
111+
Pranav Goswami <[email protected]>
112+
Pranjal Jha <[email protected]>
113+
Prashant Kumar Yadav <[email protected]>
114+
Pratik Singh <[email protected]>
73115
Pratyush Kumar Chouhan <[email protected]>
74-
116+
Priyansh Prajapati <[email protected]>
117+
Priyanshu Agarwal <[email protected]>
118+
Pulkit Gupta <[email protected]>
75119
Pushpendra Chandravanshi <[email protected]>
76-
RISHAV <115060907+rishav2404@users.noreply.github.com>
120+
Rahul Kumar <132570066+rahulptl165@users.noreply.github.com>
77121
Raunak Kumar Gupta <[email protected]>
78122
Rejoan Sardar <[email protected]>
79123
Ricky Reusser <[email protected]>
80124
Ridam Garg <[email protected]>
125+
126+
Rishav Tarway <[email protected]>
81127
Robert Gislason <[email protected]>
82128
Roman Stetsyk <[email protected]>
83-
129+
Rutam Kathale <[email protected]>
84130
Ruthwik Chikoti <[email protected]>
85131
Ryan Seal <[email protected]>
86132
Rylan Yang <[email protected]>
133+
SAHIL KUMAR <[email protected]>
134+
SHIVAM YADAV <[email protected]>
87135
Sai Srikar Dumpeti <[email protected]>
88-
SarthakPaandey <[email protected]>
136+
Sanchay Ketan Sinha <[email protected]>
137+
Sarthak Paandey <[email protected]>
89138
Saurabh Singh <[email protected]>
90139
Seyyed Parsa Neshaei <[email protected]>
140+
Shabareesh Shetty <[email protected]>
91141
Shashank Shekhar Singh <[email protected]>
92-
142+
Shivam Ahir <[email protected]>
93143
Shraddheya Shendre <[email protected]>
94144
Shubh Mehta <[email protected]>
95145
Shubham Mishra <[email protected]>
@@ -98,7 +148,9 @@ Snehil Shah <[email protected]>
98148
Soumajit Chatterjee <[email protected]>
99149
Spandan Barve <[email protected]>
100150
Stephannie Jiménez Gacha <[email protected]>
101-
Suraj kumar <[email protected]>
151+
Suhaib Ilahi <[email protected]>
152+
Suraj Kumar <[email protected]>
153+
Tanishq Ahuja <[email protected]>
102154
Tirtadwipa Manunggal <[email protected]>
103155
Tudor Pagu <[email protected]>
104156
Tufailahmed Bargir <[email protected]>
@@ -108,12 +160,17 @@ UtkershBasnet <[email protected]>
108160
Vaibhav Patel <[email protected]>
109161
Varad Gupta <[email protected]>
110162
Vinit Pandit <[email protected]>
163+
Vivek Maurya <[email protected]>
111164
Xiaochuan Ye <[email protected]>
165+
Yaswanth Kosuru <[email protected]>
112166
Yernar Yergaziyev <[email protected]>
113-
114-
nishant-s7 <[email protected]>
167+
Yugal Kaushik <[email protected]>
168+
Yuvi Mittal <[email protected]>
169+
170+
ekambains <[email protected]>
171+
fadiothman22 <[email protected]>
115172
olenkabilonizhka <[email protected]>
116-
orimiles5 <[email protected]>
173+
pranav-1720 <[email protected]>
174+
rahulrangers <[email protected]>
117175
118176
119-

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Copyright (c) 2016-2024 The Stdlib Authors.
1+
Copyright (c) 2016-2025 The Stdlib Authors.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ var v = stdevtk.ndarray( N, 1, x, 2, 1 );
216216
- If `N <= 0`, both functions return `NaN`.
217217
- If `N - c` is less than or equal to `0` (where `c` corresponds to the provided degrees of freedom adjustment), both functions return `NaN`.
218218
- Some caution should be exercised when using the one-pass textbook algorithm. Literature overwhelmingly discourages the algorithm's use for two reasons: 1) the lack of safeguards against underflow and overflow and 2) the risk of catastrophic cancellation when subtracting the two sums if the sums are large and the variance small. These concerns have merit; however, the one-pass textbook algorithm should not be dismissed outright. For data distributions with a moderately large standard deviation to mean ratio (i.e., **coefficient of variation**), the one-pass textbook algorithm may be acceptable, especially when performance is paramount and some precision loss is acceptable (including a risk of computing a negative variance due to floating-point rounding errors!). In short, no single "best" algorithm for computing the standard deviation exists. The "best" algorithm depends on the underlying data distribution, your performance requirements, and your minimum precision requirements. When evaluating which algorithm to use, consider the relative pros and cons, and choose the algorithm which best serves your needs.
219-
- Depending on the environment, the typed versions ([`dstdevtk`][@stdlib/stats/base/dstdevtk], [`sstdevtk`][@stdlib/stats/base/sstdevtk], etc.) are likely to be significantly more performant.
219+
- Depending on the environment, the typed versions ([`dstdevtk`][@stdlib/stats/strided/dstdevtk], [`sstdevtk`][@stdlib/stats/base/sstdevtk], etc.) are likely to be significantly more performant.
220220

221221
</section>
222222

@@ -271,7 +271,7 @@ console.log( v );
271271

272272
## See Also
273273

274-
- <span class="package-name">[`@stdlib/stats-base/dstdevtk`][@stdlib/stats/base/dstdevtk]</span><span class="delimiter">: </span><span class="description">calculate the standard deviation of a double-precision floating-point strided array using a one-pass textbook algorithm.</span>
274+
- <span class="package-name">[`@stdlib/stats-strided/dstdevtk`][@stdlib/stats/strided/dstdevtk]</span><span class="delimiter">: </span><span class="description">calculate the standard deviation of a double-precision floating-point strided array using a one-pass textbook algorithm.</span>
275275
- <span class="package-name">[`@stdlib/stats-base/nanstdevtk`][@stdlib/stats/base/nanstdevtk]</span><span class="delimiter">: </span><span class="description">calculate the standard deviation of a strided array ignoring NaN values and using a one-pass textbook algorithm.</span>
276276
- <span class="package-name">[`@stdlib/stats-base/sstdevtk`][@stdlib/stats/base/sstdevtk]</span><span class="delimiter">: </span><span class="description">calculate the standard deviation of a single-precision floating-point strided array using a one-pass textbook algorithm.</span>
277277
- <span class="package-name">[`@stdlib/stats-base/stdev`][@stdlib/stats/base/stdev]</span><span class="delimiter">: </span><span class="description">calculate the standard deviation of a strided array.</span>
@@ -307,7 +307,7 @@ See [LICENSE][stdlib-license].
307307

308308
## Copyright
309309

310-
Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
310+
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
311311

312312
</section>
313313

@@ -363,7 +363,7 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
363363

364364
<!-- <related-links> -->
365365

366-
[@stdlib/stats/base/dstdevtk]: https://github.com/stdlib-js/stats-base-dstdevtk
366+
[@stdlib/stats/strided/dstdevtk]: https://github.com/stdlib-js/stats-strided-dstdevtk
367367

368368
[@stdlib/stats/base/nanstdevtk]: https://github.com/stdlib-js/stats-base-nanstdevtk
369369

0 commit comments

Comments
 (0)