Skip to content

Commit 11c31f7

Browse files
committed
Auto-generated commit
1 parent ffe8e17 commit 11c31f7

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

CHANGELOG.md

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

7-
## Unreleased (2025-02-23)
7+
## Unreleased (2025-03-01)
88

99
<section class="features">
1010

@@ -16,12 +16,25 @@
1616

1717
<!-- /.features -->
1818

19+
<section class="issues">
20+
21+
### Closed Issues
22+
23+
This release closes the following issue:
24+
25+
[#5430](https://github.com/stdlib-js/stdlib/issues/5430)
26+
27+
</section>
28+
29+
<!-- /.issues -->
30+
1931
<section class="commits">
2032

2133
### Commits
2234

2335
<details>
2436

37+
- [`a1c366a`](https://github.com/stdlib-js/stdlib/commit/a1c366a395fd46fde193bad73bac162daf90389b) - **chore:** address commit comments [(#5492)](https://github.com/stdlib-js/stdlib/pull/5492) _(by Harsh, Neeraj Pathak)_
2538
- [`00b23b3`](https://github.com/stdlib-js/stdlib/commit/00b23b3cb5b4e72bf977a9ac170062f8e8614ef1) - **feat:** add C ndarray interface and refactor implementation for `stats/base/dnanvariancech` [(#4803)](https://github.com/stdlib-js/stdlib/pull/4803) _(by Prashant Kumar Yadav)_
2639
- [`ca5cd8e`](https://github.com/stdlib-js/stdlib/commit/ca5cd8eda51ba2c274b9aeb0161f6c1cdf6a3e09) - **refactor:** update `stats/base/dnanvariancech` native addon from C++ to C [(#4719)](https://github.com/stdlib-js/stdlib/pull/4719) _(by Prashant Kumar Yadav)_
2740
- [`62364f6`](https://github.com/stdlib-js/stdlib/commit/62364f62ea823a3b52c2ad25660ecd80c71f8f36) - **style:** fix C comment alignment _(by Philipp Burckhardt)_
@@ -39,9 +52,11 @@
3952

4053
### Contributors
4154

42-
A total of 3 people contributed to this release. Thank you to the following contributors:
55+
A total of 5 people contributed to this release. Thank you to the following contributors:
4356

4457
- Athan Reines
58+
- Harsh
59+
- Neeraj Pathak
4560
- Philipp Burckhardt
4661
- Prashant Kumar Yadav
4762

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ Yaswanth Kosuru <[email protected]>
135135
Yernar Yergaziyev <[email protected]>
136136
Yuvi Mittal <[email protected]>
137137
ekambains <[email protected]>
138+
fadiothman22 <[email protected]>
138139
olenkabilonizhka <[email protected]>
139140
pranav-1720 <[email protected]>
140141

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,22 +153,23 @@ The function has the following parameters:
153153

154154
The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to compute the [variance][variance] of every other element in `x`,
155155

156+
<!-- eslint-disable max-len -->
157+
156158
```javascript
157159
var Float64Array = require( '@stdlib/array-float64' );
158160

159-
var x = new Float64Array([1.0, 2.0, 2.0, -7.0, -2.0, 3.0, 4.0, 2.0, NaN, NaN]);
161+
var x = new Float64Array( [ 1.0, 2.0, 2.0, -7.0, -2.0, 3.0, 4.0, 2.0, NaN, NaN ] );
160162

161163
var v = dnanvariancech( 5, 1, x, 2 );
162164
// returns 6.25
163165
```
164166

165167
Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views.
166168

167-
<!-- eslint-disable stdlib/capitalized-comments -->
169+
<!-- eslint-disable stdlib/capitalized-comments, max-len -->
168170

169171
```javascript
170172
var Float64Array = require( '@stdlib/array-float64' );
171-
172173
var x0 = new Float64Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0, NaN, NaN ] ); // eslint-disable-line max-len
173174
var x1 = new Float64Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
174175

@@ -183,7 +184,7 @@ Computes the [variance][variance] of a double-precision floating-point strided a
183184
```javascript
184185
var Float64Array = require( '@stdlib/array-float64' );
185186

186-
var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
187+
var x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
187188

188189
var v = dnanvariancech.ndarray( x.length, 1, x, 1, 0 );
189190
// returns ~4.33333

examples/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function rand() {
3131
}
3232

3333
var x = filledarrayBy( 10, 'float64', rand );
34+
console.log( x );
3435

3536
var v = dnanvariancech( x.length, 1, x, 1 );
3637
console.log( v );

0 commit comments

Comments
 (0)