Skip to content

Commit fe3dd78

Browse files
committed
Auto-generated commit
1 parent f3eda3b commit fe3dd78

28 files changed

+216
-447
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- ----------^ Click "Preview"! -->
22

3-
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/strided/nancount) of the main repository where we’ll review and provide feedback.
3+
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/blas/ext/base/gnancount) of the main repository where we’ll review and provide feedback.
44

55
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

.github/workflows/close_pull_requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
4747
We greatly appreciate your willingness to submit a contribution. However, we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib).
4848
49-
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/strided/nancount) of the main repository where we’ll review and provide feedback. 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.
49+
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/blas/ext/base/gnancount) of the main repository where we’ll review and provide feedback. 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.
5050
5151
Thank you again, and we look forward to receiving your contribution! :smiley:
5252

.github/workflows/npm_downloads.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
# Run this workflow weekly:
2525
schedule:
2626
# cron: '<minutes> <hours> <day_of_month> <month> <day_of_week>'
27-
- cron: '23 11 * * 0'
27+
- cron: '28 4 * * 0'
2828

2929
# Allow the workflow to be manually run:
3030
workflow_dispatch:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
# Run workflow on a weekly schedule:
2525
schedule:
2626
# * is a special character in YAML so you have to quote this string
27-
- cron: '23 11 * * 0'
27+
- cron: '28 4 * * 0'
2828

2929
# Allow the workflow to be manually run:
3030
workflow_dispatch:

.github/workflows/test_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
# Run workflow on a weekly schedule:
2525
schedule:
2626
# * is a special character in YAML so you have to quote this string
27-
- cron: '23 11 * * 0'
27+
- cron: '28 4 * * 0'
2828

2929
# Run workflow upon completion of `publish` workflow run:
3030
workflow_run:

.github/workflows/test_published_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
# Run workflow on a weekly schedule:
2525
schedule:
2626
# * is a special character in YAML so you have to quote this string
27-
- cron: '23 11 * * 0'
27+
- cron: '28 4 * * 0'
2828

2929
# Run workflow upon completion of `publish` workflow run:
3030
workflow_run:

CHANGELOG.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2026-04-13)
7+
## Unreleased (2026-04-17)
88

99
<section class="features">
1010

1111
### Features
1212

13-
- [`887cfd3`](https://github.com/stdlib-js/stdlib/commit/887cfd3b5f509a8e2cd39373d4d2310e4daae841) - add `stats/strided/nancount` [(#11057)](https://github.com/stdlib-js/stdlib/pull/11057)
13+
- [`c84f0ca`](https://github.com/stdlib-js/stdlib/commit/c84f0caa56429dc035cfb22a105d62a3178b5c87) - add `blas/ext/base/gnancount`
1414

1515
</section>
1616

@@ -22,7 +22,7 @@
2222

2323
<details>
2424

25-
- [`887cfd3`](https://github.com/stdlib-js/stdlib/commit/887cfd3b5f509a8e2cd39373d4d2310e4daae841) - **feat:** add `stats/strided/nancount` [(#11057)](https://github.com/stdlib-js/stdlib/pull/11057) _(by Om-A-osc, Athan Reines)_
25+
- [`c84f0ca`](https://github.com/stdlib-js/stdlib/commit/c84f0caa56429dc035cfb22a105d62a3178b5c87) - **feat:** add `blas/ext/base/gnancount` _(by Athan Reines)_
2626

2727
</details>
2828

@@ -34,10 +34,9 @@
3434

3535
### Contributors
3636

37-
A total of 2 people contributed to this release. Thank you to the following contributors:
37+
A total of 1 person contributed to this release. Thank you to this contributor:
3838

3939
- Athan Reines
40-
- Om-A-osc
4140

4241
</section>
4342

README.md

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ limitations under the License.
2929
<p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
3030
</details>
3131

32-
# nancount
32+
# gnancount
3333

3434
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
3535

@@ -46,7 +46,7 @@ limitations under the License.
4646
## Installation
4747

4848
```bash
49-
npm install @stdlib/stats-strided-nancount
49+
npm install @stdlib/blas-ext-base-gnancount
5050
```
5151

5252
Alternatively,
@@ -66,17 +66,17 @@ To view installation and usage instructions specific to each branch build, be su
6666
## Usage
6767

6868
```javascript
69-
var nancount = require( '@stdlib/stats-strided-nancount' );
69+
var gnancount = require( '@stdlib/blas-ext-base-gnancount' );
7070
```
7171

72-
#### nancount( N, x, strideX )
72+
#### gnancount( N, x, strideX )
7373

7474
Calculates the number of non-`NaN` elements in a strided array.
7575

7676
```javascript
7777
var x = [ 1.0, -2.0, NaN, 2.0 ];
7878

79-
var v = nancount( x.length, x, 1 );
79+
var v = gnancount( x.length, x, 1 );
8080
// returns 3
8181
```
8282

@@ -91,7 +91,7 @@ The `N` and stride parameters determine which elements in the strided array are
9191
```javascript
9292
var x = [ 1.0, 2.0, 2.0, -7.0, -2.0, 3.0, 4.0, 2.0, NaN, NaN ];
9393

94-
var v = nancount( 5, x, 2 );
94+
var v = gnancount( 5, x, 2 );
9595
// returns 4
9696
```
9797

@@ -105,18 +105,18 @@ var Float64Array = require( '@stdlib/array-float64' );
105105
var x0 = new Float64Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, NaN, NaN, 4.0 ] );
106106
var x1 = new Float64Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
107107

108-
var v = nancount( 4, x1, 2 );
108+
var v = gnancount( 4, x1, 2 );
109109
// returns 3
110110
```
111111

112-
#### nancount.ndarray( N, x, strideX, offsetX )
112+
#### gnancount.ndarray( N, x, strideX, offsetX )
113113

114114
Calculates the number of non-`NaN` elements in a strided array using alternative indexing semantics.
115115

116116
```javascript
117117
var x = [ 1.0, -2.0, NaN, 2.0 ];
118118

119-
var v = nancount.ndarray( x.length, x, 1, 0 );
119+
var v = gnancount.ndarray( x.length, x, 1, 0 );
120120
// returns 3
121121
```
122122

@@ -129,7 +129,7 @@ While [`typed array`][mdn-typed-array] views mandate a view offset based on the
129129
```javascript
130130
var x = [ 2.0, 1.0, 2.0, -2.0, -2.0, NaN, NaN, 2.0, 3.0, 4.0 ];
131131

132-
var v = nancount.ndarray( 5, x, 2, 1 );
132+
var v = gnancount.ndarray( 5, x, 2, 1 );
133133
// returns 4
134134
```
135135

@@ -158,7 +158,7 @@ var v = nancount.ndarray( 5, x, 2, 1 );
158158
var uniform = require( '@stdlib/random-base-uniform' );
159159
var filledarrayBy = require( '@stdlib/array-filled-by' );
160160
var bernoulli = require( '@stdlib/random-base-bernoulli' );
161-
var nancount = require( '@stdlib/stats-strided-nancount' );
161+
var gnancount = require( '@stdlib/blas-ext-base-gnancount' );
162162

163163
function rand() {
164164
if ( bernoulli( 0.8 ) < 1 ) {
@@ -170,7 +170,7 @@ function rand() {
170170
var x = filledarrayBy( 10, 'float64', rand );
171171
console.log( x );
172172

173-
var v = nancount( x.length, x, 1 );
173+
var v = gnancount( x.length, x, 1 );
174174
console.log( v );
175175
```
176176

@@ -205,6 +205,11 @@ For more information on the project, filing bug reports and feature requests, an
205205

206206
---
207207

208+
## License
209+
210+
See [LICENSE][stdlib-license].
211+
212+
208213
## Copyright
209214

210215
Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
@@ -217,19 +222,19 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
217222

218223
<section class="links">
219224

220-
[npm-image]: http://img.shields.io/npm/v/@stdlib/stats-strided-nancount.svg
221-
[npm-url]: https://npmjs.org/package/@stdlib/stats-strided-nancount
225+
[npm-image]: http://img.shields.io/npm/v/@stdlib/blas-ext-base-gnancount.svg
226+
[npm-url]: https://npmjs.org/package/@stdlib/blas-ext-base-gnancount
222227

223-
[test-image]: https://github.com/stdlib-js/stats-strided-nancount/actions/workflows/test.yml/badge.svg?branch=main
224-
[test-url]: https://github.com/stdlib-js/stats-strided-nancount/actions/workflows/test.yml?query=branch:main
228+
[test-image]: https://github.com/stdlib-js/blas-ext-base-gnancount/actions/workflows/test.yml/badge.svg?branch=main
229+
[test-url]: https://github.com/stdlib-js/blas-ext-base-gnancount/actions/workflows/test.yml?query=branch:main
225230

226-
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-strided-nancount/main.svg
227-
[coverage-url]: https://codecov.io/github/stdlib-js/stats-strided-nancount?branch=main
231+
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/blas-ext-base-gnancount/main.svg
232+
[coverage-url]: https://codecov.io/github/stdlib-js/blas-ext-base-gnancount?branch=main
228233

229234
<!--
230235
231-
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-strided-nancount.svg
232-
[dependencies-url]: https://david-dm.org/stdlib-js/stats-strided-nancount/main
236+
[dependencies-image]: https://img.shields.io/david/stdlib-js/blas-ext-base-gnancount.svg
237+
[dependencies-url]: https://david-dm.org/stdlib-js/blas-ext-base-gnancount/main
233238
234239
-->
235240

@@ -243,13 +248,15 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
243248
[umd]: https://github.com/umdjs/umd
244249
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
245250

246-
[deno-url]: https://github.com/stdlib-js/stats-strided-nancount/tree/deno
247-
[deno-readme]: https://github.com/stdlib-js/stats-strided-nancount/blob/deno/README.md
248-
[umd-url]: https://github.com/stdlib-js/stats-strided-nancount/tree/umd
249-
[umd-readme]: https://github.com/stdlib-js/stats-strided-nancount/blob/umd/README.md
250-
[esm-url]: https://github.com/stdlib-js/stats-strided-nancount/tree/esm
251-
[esm-readme]: https://github.com/stdlib-js/stats-strided-nancount/blob/esm/README.md
252-
[branches-url]: https://github.com/stdlib-js/stats-strided-nancount/blob/main/branches.md
251+
[deno-url]: https://github.com/stdlib-js/blas-ext-base-gnancount/tree/deno
252+
[deno-readme]: https://github.com/stdlib-js/blas-ext-base-gnancount/blob/deno/README.md
253+
[umd-url]: https://github.com/stdlib-js/blas-ext-base-gnancount/tree/umd
254+
[umd-readme]: https://github.com/stdlib-js/blas-ext-base-gnancount/blob/umd/README.md
255+
[esm-url]: https://github.com/stdlib-js/blas-ext-base-gnancount/tree/esm
256+
[esm-readme]: https://github.com/stdlib-js/blas-ext-base-gnancount/blob/esm/README.md
257+
[branches-url]: https://github.com/stdlib-js/blas-ext-base-gnancount/blob/main/branches.md
258+
259+
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/blas-ext-base-gnancount/main/LICENSE
253260

254261
[mdn-array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
255262

benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var bernoulli = require( '@stdlib/random-base-bernoulli' );
2828
var filledarrayBy = require( '@stdlib/array-filled-by' );
2929
var pow = require( '@stdlib/math-base-special-pow' );
3030
var pkg = require( './../package.json' ).name;
31-
var nancount = require( './../lib/main.js' );
31+
var gnancount = require( './../lib/main.js' );
3232

3333

3434
// FUNCTIONS //
@@ -69,7 +69,7 @@ function createBenchmark( len ) {
6969

7070
b.tic();
7171
for ( i = 0; i < b.iterations; i++ ) {
72-
v = nancount( x.length, x, 1 );
72+
v = gnancount( x.length, x, 1 );
7373
if ( isnan( v ) ) {
7474
b.fail( 'should not return NaN' );
7575
}

benchmark/benchmark.ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var bernoulli = require( '@stdlib/random-base-bernoulli' );
2828
var filledarrayBy = require( '@stdlib/array-filled-by' );
2929
var pow = require( '@stdlib/math-base-special-pow' );
3030
var pkg = require( './../package.json' ).name;
31-
var nancount = require( './../lib/ndarray.js' );
31+
var gnancount = require( './../lib/ndarray.js' );
3232

3333

3434
// FUNCTIONS //
@@ -69,7 +69,7 @@ function createBenchmark( len ) {
6969

7070
b.tic();
7171
for ( i = 0; i < b.iterations; i++ ) {
72-
v = nancount( x.length, x, 1, 0 );
72+
v = gnancount( x.length, x, 1, 0 );
7373
if ( isnan( v ) ) {
7474
b.fail( 'should not return NaN' );
7575
}

0 commit comments

Comments
 (0)