Skip to content

Commit 56c14b7

Browse files
committed
Auto-generated commit
1 parent c2a9474 commit 56c14b7

36 files changed

+36
-25
lines changed

CHANGELOG.md

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

7-
## Unreleased (2025-06-25)
7+
## Unreleased (2025-06-26)
88

99
<section class="features">
1010

1111
### Features
1212

13+
- [`4115e86`](https://github.com/stdlib-js/stdlib/commit/4115e8662062db0f878fe9cf33293fbf308d352f) - rename alias from `unaryReduceStrided1dToStruct` to `unaryReduceStrided1dAssignStruct`
14+
- [`03299d1`](https://github.com/stdlib-js/stdlib/commit/03299d15a76284c8e22e357794686a837faefb7e) - add `ndarray/base/unary-reduce-strided1d-assign-struct`
1315
- [`636e9ba`](https://github.com/stdlib-js/stdlib/commit/636e9ba626fb59ebd2abe0fb5562fd34bca253d3) - add `unaryReduceStrided1dToStruct` to namespace
1416
- [`0f1545f`](https://github.com/stdlib-js/stdlib/commit/0f1545fc6d22ad051bdae2f081f26d1d56cc9538) - add package entry point
1517
- [`142e477`](https://github.com/stdlib-js/stdlib/commit/142e4774ab7acbd79e76ff5f9f6e0ae47f70dae4) - add `factory` function
@@ -425,6 +427,12 @@
425427

426428
### BREAKING CHANGES
427429

430+
- [`97834dd`](https://github.com/stdlib-js/stdlib/commit/97834ddd6f863bd8e9b30ce10966f5db8a1f48b2): remove package
431+
432+
- To migrate, users should use `ndarray/base/unary-reduce-strided1d-assign-struct`
433+
which provides the exact same API and behavior.
434+
435+
- [`4115e86`](https://github.com/stdlib-js/stdlib/commit/4115e8662062db0f878fe9cf33293fbf308d352f): rename alias from `unaryReduceStrided1dToStruct` to `unaryReduceStrided1dAssignStruct`
428436
- [`7507be0`](https://github.com/stdlib-js/stdlib/commit/7507be008cc27aa0c74770a29cd4b4507eca6745): replace policy string argument with a policy object
429437
- [`f0602e3`](https://github.com/stdlib-js/stdlib/commit/f0602e31fcfab3c05954ac9b3d37ae01d3f51b6b): replace policy string argument with a policy object
430438
- [`9f35a29`](https://github.com/stdlib-js/stdlib/commit/9f35a299838dee39db10a82b498884bc045383bb): replace policy string argument with a policy object
@@ -463,6 +471,9 @@ A total of 20 issues were closed in this release:
463471

464472
<details>
465473

474+
- [`97834dd`](https://github.com/stdlib-js/stdlib/commit/97834ddd6f863bd8e9b30ce10966f5db8a1f48b2) - **remove:** remove `ndarray/base/unary-reduce-strided1d-struct` _(by Athan Reines)_
475+
- [`4115e86`](https://github.com/stdlib-js/stdlib/commit/4115e8662062db0f878fe9cf33293fbf308d352f) - **feat:** rename alias from `unaryReduceStrided1dToStruct` to `unaryReduceStrided1dAssignStruct` _(by Athan Reines)_
476+
- [`03299d1`](https://github.com/stdlib-js/stdlib/commit/03299d15a76284c8e22e357794686a837faefb7e) - **feat:** add `ndarray/base/unary-reduce-strided1d-assign-struct` _(by Athan Reines)_
466477
- [`708d82f`](https://github.com/stdlib-js/stdlib/commit/708d82f3743eb9e6433f517e54188a597068904e) - **docs:** update namespace table of contents [(#7479)](https://github.com/stdlib-js/stdlib/pull/7479) _(by stdlib-bot)_
467478
- [`636e9ba`](https://github.com/stdlib-js/stdlib/commit/636e9ba626fb59ebd2abe0fb5562fd34bca253d3) - **feat:** add `unaryReduceStrided1dToStruct` to namespace _(by Athan Reines)_
468479
- [`b8cacc1`](https://github.com/stdlib-js/stdlib/commit/b8cacc136fceed774024cbbe0c24fc07f2675636) - **docs:** add README and fix docs _(by Athan Reines)_

base/lib/index.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,15 @@ setReadOnly( ns, 'unaryOutputDataType', require( './../../base/unary-output-dtyp
10751075
*/
10761076
setReadOnly( ns, 'unaryReduceStrided1d', require( './../../base/unary-reduce-strided1d' ) );
10771077

1078+
/**
1079+
* @name unaryReduceStrided1dAssignStruct
1080+
* @memberof ns
1081+
* @readonly
1082+
* @type {Function}
1083+
* @see {@link module:@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct}
1084+
*/
1085+
setReadOnly( ns, 'unaryReduceStrided1dAssignStruct', require( './../../base/unary-reduce-strided1d-assign-struct' ) );
1086+
10781087
/**
10791088
* @name unaryReduceStrided1dBy
10801089
* @memberof ns
@@ -1120,15 +1129,6 @@ setReadOnly( ns, 'unaryReduceStrided1dDispatchByFactory', require( './../../base
11201129
*/
11211130
setReadOnly( ns, 'unaryReduceStrided1dDispatchFactory', require( './../../base/unary-reduce-strided1d-dispatch-factory' ) );
11221131

1123-
/**
1124-
* @name unaryReduceStrided1dToStruct
1125-
* @memberof ns
1126-
* @readonly
1127-
* @type {Function}
1128-
* @see {@link module:@stdlib/ndarray/base/unary-reduce-strided1d-to-struct}
1129-
*/
1130-
setReadOnly( ns, 'unaryReduceStrided1dToStruct', require( './../../base/unary-reduce-strided1d-to-struct' ) );
1131-
11321132
/**
11331133
* @name unaryReduceSubarray
11341134
* @memberof ns

base/unary-reduce-strided1d-to-struct/README.md renamed to base/unary-reduce-strided1d-assign-struct/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# unaryReduceStrided1d
2222

23-
> Perform a reduction over a list of specified dimensions in an input ndarray via a one-dimensional strided array reduction function and assign results to a provided output ndarray.
23+
> Perform a reduction over a list of specified dimensions in an input ndarray via a one-dimensional strided array reduction function which accepts an output [`struct`][@stdlib/dstructs/struct] object and assign results to a provided output ndarray.
2424
2525
<section class="intro">
2626

@@ -33,12 +33,12 @@ limitations under the License.
3333
## Usage
3434

3535
```javascript
36-
var unaryReduceStrided1d = require( '@stdlib/ndarray/base/unary-reduce-strided1d-to-struct' );
36+
var unaryReduceStrided1d = require( '@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct' );
3737
```
3838

3939
#### unaryReduceStrided1d( fcn, arrays, dims\[, options] )
4040

41-
Performs a reduction over a list of specified dimensions in an input ndarray via a one-dimensional strided array reduction function and assigns results to a provided output ndarray.
41+
Performs a reduction over a list of specified dimensions in an input ndarray via a one-dimensional strided array reduction function which accepts an output [`struct`][@stdlib/dstructs/struct] object and assigns results to a provided output ndarray.
4242

4343
<!-- eslint-disable max-len -->
4444

@@ -185,7 +185,7 @@ var ndarray2array = require( '@stdlib/ndarray/base/to-array' );
185185
var Float64Results = require( '@stdlib/stats/base/ztest/one-sample/results/float64' );
186186
var structFactory = require( '@stdlib/array/struct-factory' );
187187
var ztest = require( '@stdlib/stats/base/ndarray/ztest' );
188-
var unaryReduceStrided1d = require( '@stdlib/ndarray/base/unary-reduce-strided1d-to-struct' );
188+
var unaryReduceStrided1d = require( '@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct' );
189189
190190
var ResultsArray = structFactory( Float64Results );
191191

base/unary-reduce-strided1d-to-struct/docs/repl.txt renamed to base/unary-reduce-strided1d-assign-struct/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
{{alias}}( fcn, arrays, dims[, options] )
33
Performs a reduction over a list of specified dimensions in an input ndarray
4-
via a one-dimensional strided array reduction function and assigns results
5-
to a provided output ndarray.
4+
via a one-dimensional strided array reduction function which accepts an
5+
output struct object and assigns results to a provided output ndarray.
66

77
Each provided "ndarray" should be an object with the following properties:
88

0 commit comments

Comments
 (0)