Skip to content

Commit 6d74936

Browse files
committed
Auto-generated commit
1 parent 64ff195 commit 6d74936

18 files changed

+61
-57
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
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}]

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-12-23)
7+
## Unreleased (2025-02-15)
88

99
<section class="features">
1010

@@ -34,6 +34,7 @@ This release closes the following issue:
3434

3535
<details>
3636

37+
- [`d81ba51`](https://github.com/stdlib-js/stdlib/commit/d81ba51451a7b35e5b9fd259fe57cee796f3e81b) - **docs:** update `blas/ext/base/dnannsumkbn2` to follow current project conventions [(#5188)](https://github.com/stdlib-js/stdlib/pull/5188) _(by Muhammad Haris)_
3738
- [`62364f6`](https://github.com/stdlib-js/stdlib/commit/62364f62ea823a3b52c2ad25660ecd80c71f8f36) - **style:** fix C comment alignment _(by Philipp Burckhardt)_
3839
- [`297cdff`](https://github.com/stdlib-js/stdlib/commit/297cdffbf14b0f7cd87b0455b00d4a4fbf3b6cc3) - **test:** add tests to blas/ext/base/dnannsumbn2 [(#3205)](https://github.com/stdlib-js/stdlib/pull/3205) _(by Saurabh Singh, Philipp Burckhardt)_
3940
- [`15d040c`](https://github.com/stdlib-js/stdlib/commit/15d040c67472ca6ffb9b3ff9414e39f907ca8294) - **refactor:** remove unnecessary variable declaration [(#3185)](https://github.com/stdlib-js/stdlib/pull/3185) _(by Muhammad Haris)_

CONTRIBUTORS

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,20 @@ Daniel Killenberger <daniel.killenberger@gmail.com>
2727
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2828
Debashis Maharana <debashismaharana7854@gmail.com>
2929
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
30+
Dev Goel <135586571+corsairier@users.noreply.github.com>
31+
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
3032
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
3133
Dominic Lim <46486515+domlimm@users.noreply.github.com>
3234
Dominik Moritz <domoritz@gmail.com>
3335
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
3436
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
3537
Frank Kovacs <fran70kk@gmail.com>
38+
GK Bishnoi <gkishan1kyt@gmail.com>
39+
Gaurav <gaurav70380@gmail.com>
3640
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
3741
Gunj Joshi <gunjjoshi8372@gmail.com>
38-
Gururaj Gurram <143020143+gururaj1512@users.noreply.github.com>
42+
Gururaj Gurram <gururajgurram1512@gmail.com>
43+
Harsh <149176984+hrshya@users.noreply.github.com>
3944
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
4045
Harshita Kalani <harshitakalani02@gmail.com>
4146
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
@@ -49,6 +54,7 @@ Joey Reed <joeyrreed@gmail.com>
4954
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
5055
Joris Labie <joris.labie1@gmail.com>
5156
Justin Dennison <justin1dennison@gmail.com>
57+
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
5258
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
5359
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
5460
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
@@ -60,6 +66,7 @@ Marcus Fantham <mfantham@users.noreply.github.com>
6066
Matt Cochrane <matthew.cochrane.eng@gmail.com>
6167
Mihir Pandit <129577900+MSP20086@users.noreply.github.com>
6268
Milan Raj <rajsite@users.noreply.github.com>
69+
Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
6370
Mohammad Kaif <mdkaifprofession@gmail.com>
6471
Momtchil Momtchev <momtchil@momtchev.com>
6572
Muhammad Haris <harriskhan047@outlook.com>
@@ -117,10 +124,12 @@ UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
117124
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
118125
Varad Gupta <varadgupta21@gmail.com>
119126
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
120-
Vivek maurya <155618190+vivekmaurya001@users.noreply.github.com>
127+
Vivek Maurya <vm8118134@gmail.com>
121128
Xiaochuan Ye <tap91624@gmail.com>
122129
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
123130
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
131+
ekambains <bainsinbusiness@gmail.com>
124132
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
133+
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
125134
rainn <88160429+AmCodesLame@users.noreply.github.com>
126135
rei2hu <reimu@reimu.ws>

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: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The function has the following parameters:
9191
- **out**: output [`Float64Array`][@stdlib/array/float64] whose first element is the sum and whose second element is the number of non-NaN elements.
9292
- **strideOut**: stride length for `out`.
9393

94-
The `N` and stride parameters determine which elements are accessed at runtime. For example, to compute the sum of every other element in `x`,
94+
The `N` and stride parameters determine which elements are accessed at runtime. For example, to compute the sum of every other element:
9595

9696
```javascript
9797
var Float64Array = require( '@stdlib/array-float64' );
@@ -139,7 +139,7 @@ The function has the following additional parameters:
139139
- **offsetX**: starting index for `x`.
140140
- **offsetOut**: starting index for `out`.
141141

142-
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, offset parameters support indexing semantics based on starting indices. For example, to calculate the sum of every other element starting from the second element:
142+
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example, to calculate the sum of every other element starting from the second element:
143143

144144
```javascript
145145
var Float64Array = require( '@stdlib/array-float64' );
@@ -179,7 +179,7 @@ var Float64Array = require( '@stdlib/array-float64' );
179179
var dnannsumkbn2 = require( '@stdlib/blas-ext-base-dnannsumkbn2' );
180180

181181
function rand() {
182-
if ( bernoulli( 0.8 ) > 0 ) {
182+
if ( bernoulli( 0.5 ) < 1 ) {
183183
return discreteUniform( 0, 100 );
184184
}
185185
return NaN;
@@ -239,7 +239,7 @@ The function accepts the following arguments:
239239
240240
- **N**: `[in] CBLAS_INT` number of indexed elements.
241241
- **X**: `[in] double*` input array.
242-
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
242+
- **strideX**: `[in] CBLAS_INT` stride length.
243243
- **n**: `[out] CBLAS_INT*` pointer for storing the number of non-NaN elements.
244244
245245
```c
@@ -252,7 +252,7 @@ Computes the sum of double-precision floating-point strided array elements, igno
252252

253253
```c
254254
const double x[] = { 1.0, 2.0, 0.0/0.0, 4.0 };
255-
CBLAS_INT n = 0;
255+
CBLAS_INT n = 0;
256256

257257
double v = stdlib_strided_dnannsumkbn2_ndarray( 4, x, 1, 0, &n );
258258
// returns 7.0
@@ -262,8 +262,8 @@ The function accepts the following arguments:
262262
263263
- **N**: `[in] CBLAS_INT` number of indexed elements.
264264
- **X**: `[in] double*` input array.
265-
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
266-
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
265+
- **strideX**: `[in] CBLAS_INT` stride length.
266+
- **offsetX**: `[in] CBLAS_INT` starting index.
267267
- **n**: `[out] CBLAS_INT*` pointer for storing the number of non-NaN elements.
268268
269269
```c
@@ -377,7 +377,7 @@ See [LICENSE][stdlib-license].
377377
378378
## Copyright
379379
380-
Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
380+
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
381381
382382
</section>
383383

benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var dnannsumkbn2 = require( './../lib/dnannsumkbn2.js' );
4040
* @returns {number} random number
4141
*/
4242
function rand() {
43-
if ( bernoulli( 0.7 ) > 0 ) {
43+
if ( bernoulli( 0.5 ) < 1 ) {
4444
return discreteUniform( -10.0, 10.0 );
4545
}
4646
return NaN;

benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var opts = {
4949
* @returns {number} random number
5050
*/
5151
function rand() {
52-
if ( bernoulli( 0.8 ) > 0 ) {
52+
if ( bernoulli( 0.5 ) < 1 ) {
5353
return discreteUniform( -10.0, 10.0 );
5454
}
5555
return NaN;

benchmark/benchmark.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var dnannsumkbn2 = require( './../lib/ndarray.js' );
4040
* @returns {number} random number
4141
*/
4242
function rand() {
43-
if ( bernoulli( 0.8 ) > 0 ) {
43+
if ( bernoulli( 0.5 ) < 1 ) {
4444
return discreteUniform( -10.0, 10.0 );
4545
}
4646
return NaN;

benchmark/benchmark.ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var opts = {
4949
* @returns {number} random number
5050
*/
5151
function rand() {
52-
if ( bernoulli( 0.8 ) > 0 ) {
52+
if ( bernoulli( 0.5 ) < 1 ) {
5353
return discreteUniform( -10.0, 10.0 );
5454
}
5555
return NaN;

dist/index.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)