Skip to content

Commit 8239a13

Browse files
committed
Auto-generated commit
1 parent 7c56963 commit 8239a13

3 files changed

Lines changed: 49 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
### Features
1212

13+
- [`b117c97`](https://github.com/stdlib-js/stdlib/commit/b117c97db1b322d6d347c1bb0c7f18edf6963dfa) - update `blas/ext/base/ndarray` TypeScript declarations [(#11321)](https://github.com/stdlib-js/stdlib/pull/11321)
1314
- [`5b0f76d`](https://github.com/stdlib-js/stdlib/commit/5b0f76d17b0ad323617cb7afbd89a3e81f7a2985) - add `goneTo` to namespace
1415
- [`cf9c1fd`](https://github.com/stdlib-js/stdlib/commit/cf9c1fd10bbb26b8ffe798bef302240f93389953) - add `blas/ext/base/ndarray/gone-to` [(#11308)](https://github.com/stdlib-js/stdlib/pull/11308)
1516
- [`31214ce`](https://github.com/stdlib-js/stdlib/commit/31214cef89dc16436602f8290be8717d30381fd5) - add `soneTo` to namespace
@@ -75,6 +76,8 @@
7576

7677
<details>
7778

79+
- [`b117c97`](https://github.com/stdlib-js/stdlib/commit/b117c97db1b322d6d347c1bb0c7f18edf6963dfa) - **feat:** update `blas/ext/base/ndarray` TypeScript declarations [(#11321)](https://github.com/stdlib-js/stdlib/pull/11321) _(by stdlib-bot)_
80+
- [`bb0baff`](https://github.com/stdlib-js/stdlib/commit/bb0baff5acc1fbfa5f34b31045dde2ebd123c140) - **docs:** update namespace table of contents [(#11322)](https://github.com/stdlib-js/stdlib/pull/11322) _(by stdlib-bot)_
7881
- [`5b0f76d`](https://github.com/stdlib-js/stdlib/commit/5b0f76d17b0ad323617cb7afbd89a3e81f7a2985) - **feat:** add `goneTo` to namespace _(by Athan Reines)_
7982
- [`cf9c1fd`](https://github.com/stdlib-js/stdlib/commit/cf9c1fd10bbb26b8ffe798bef302240f93389953) - **feat:** add `blas/ext/base/ndarray/gone-to` [(#11308)](https://github.com/stdlib-js/stdlib/pull/11308) _(by Muhammad Haris)_
8083
- [`31214ce`](https://github.com/stdlib-js/stdlib/commit/31214cef89dc16436602f8290be8717d30381fd5) - **feat:** add `soneTo` to namespace _(by Athan Reines)_

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ The namespace exposes the following APIs:
9595
- <span class="signature">[`dnansumkbn2( arrays )`][@stdlib/blas/ext/base/ndarray/dnansumkbn2]</span><span class="delimiter">: </span><span class="description">compute the sum of a one-dimensional double-precision floating-point ndarray, ignoring `NaN` values and using a second-order iterative Kahan–Babuška algorithm.</span>
9696
- <span class="signature">[`dnansumors( arrays )`][@stdlib/blas/ext/base/ndarray/dnansumors]</span><span class="delimiter">: </span><span class="description">compute the sum of a one-dimensional double-precision floating-point ndarray, ignoring `NaN` values and using ordinary recursive summation.</span>
9797
- <span class="signature">[`dnansumpw( arrays )`][@stdlib/blas/ext/base/ndarray/dnansumpw]</span><span class="delimiter">: </span><span class="description">compute the sum of a one-dimensional double-precision floating-point ndarray, ignoring `NaN` values and using pairwise summation.</span>
98+
- <span class="signature">[`doneTo( arrays )`][@stdlib/blas/ext/base/ndarray/done-to]</span><span class="delimiter">: </span><span class="description">fill a one-dimensional double-precision floating-point ndarray with linearly spaced numeric elements which increment by `1` starting from one.</span>
9899
- <span class="signature">[`dsorthp( arrays )`][@stdlib/blas/ext/base/ndarray/dsorthp]</span><span class="delimiter">: </span><span class="description">sort a one-dimensional double-precision floating-point ndarray using heapsort.</span>
99100
- <span class="signature">[`dsortins( arrays )`][@stdlib/blas/ext/base/ndarray/dsortins]</span><span class="delimiter">: </span><span class="description">sort a one-dimensional double-precision floating-point ndarray using insertion sort.</span>
100101
- <span class="signature">[`dsortsh( arrays )`][@stdlib/blas/ext/base/ndarray/dsortsh]</span><span class="delimiter">: </span><span class="description">sort a one-dimensional double-precision floating-point ndarray using Shellsort.</span>
@@ -143,6 +144,7 @@ The namespace exposes the following APIs:
143144
- <span class="signature">[`snansumkbn2( arrays )`][@stdlib/blas/ext/base/ndarray/snansumkbn2]</span><span class="delimiter">: </span><span class="description">compute the sum of a one-dimensional single-precision floating-point ndarray, ignoring `NaN` values and using a second-order iterative Kahan–Babuška algorithm.</span>
144145
- <span class="signature">[`snansumors( arrays )`][@stdlib/blas/ext/base/ndarray/snansumors]</span><span class="delimiter">: </span><span class="description">compute the sum of a one-dimensional single-precision floating-point ndarray, ignoring `NaN` values and using ordinary recursive summation.</span>
145146
- <span class="signature">[`snansumpw( arrays )`][@stdlib/blas/ext/base/ndarray/snansumpw]</span><span class="delimiter">: </span><span class="description">compute the sum of a one-dimensional single-precision floating-point ndarray, ignoring `NaN` values and using pairwise summation.</span>
147+
- <span class="signature">[`soneTo( arrays )`][@stdlib/blas/ext/base/ndarray/sone-to]</span><span class="delimiter">: </span><span class="description">fill a one-dimensional single-precision floating-point ndarray with linearly spaced numeric elements which increment by `1` starting from one.</span>
146148
- <span class="signature">[`ssorthp( arrays )`][@stdlib/blas/ext/base/ndarray/ssorthp]</span><span class="delimiter">: </span><span class="description">sort a one-dimensional single-precision floating-point ndarray using heapsort.</span>
147149
- <span class="signature">[`ssum( arrays )`][@stdlib/blas/ext/base/ndarray/ssum]</span><span class="delimiter">: </span><span class="description">compute the sum of all elements in a one-dimensional single-precision floating-point ndarray.</span>
148150
- <span class="signature">[`ssumkbn( arrays )`][@stdlib/blas/ext/base/ndarray/ssumkbn]</span><span class="delimiter">: </span><span class="description">compute the sum of all elements in a one-dimensional single-precision floating-point ndarray using an improved Kahan–Babuška algorithm.</span>
@@ -297,6 +299,8 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
297299

298300
[@stdlib/blas/ext/base/ndarray/dnansumpw]: https://github.com/stdlib-js/blas-ext-base-ndarray-dnansumpw
299301

302+
[@stdlib/blas/ext/base/ndarray/done-to]: https://github.com/stdlib-js/blas-ext-base-ndarray-done-to
303+
300304
[@stdlib/blas/ext/base/ndarray/dsorthp]: https://github.com/stdlib-js/blas-ext-base-ndarray-dsorthp
301305

302306
[@stdlib/blas/ext/base/ndarray/dsortins]: https://github.com/stdlib-js/blas-ext-base-ndarray-dsortins
@@ -393,6 +397,8 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
393397

394398
[@stdlib/blas/ext/base/ndarray/snansumpw]: https://github.com/stdlib-js/blas-ext-base-ndarray-snansumpw
395399

400+
[@stdlib/blas/ext/base/ndarray/sone-to]: https://github.com/stdlib-js/blas-ext-base-ndarray-sone-to
401+
396402
[@stdlib/blas/ext/base/ndarray/ssorthp]: https://github.com/stdlib-js/blas-ext-base-ndarray-ssorthp
397403

398404
[@stdlib/blas/ext/base/ndarray/ssum]: https://github.com/stdlib-js/blas-ext-base-ndarray-ssum

docs/types/index.d.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import dnansumkbn = require( '@stdlib/blas-ext-base-ndarray-dnansumkbn' );
3737
import dnansumkbn2 = require( '@stdlib/blas-ext-base-ndarray-dnansumkbn2' );
3838
import dnansumors = require( '@stdlib/blas-ext-base-ndarray-dnansumors' );
3939
import dnansumpw = require( '@stdlib/blas-ext-base-ndarray-dnansumpw' );
40+
import doneTo = require( '@stdlib/blas-ext-base-ndarray-done-to' );
4041
import dsorthp = require( '@stdlib/blas-ext-base-ndarray-dsorthp' );
4142
import dsortins = require( '@stdlib/blas-ext-base-ndarray-dsortins' );
4243
import dsortsh = require( '@stdlib/blas-ext-base-ndarray-dsortsh' );
@@ -85,6 +86,7 @@ import snansumkbn = require( '@stdlib/blas-ext-base-ndarray-snansumkbn' );
8586
import snansumkbn2 = require( '@stdlib/blas-ext-base-ndarray-snansumkbn2' );
8687
import snansumors = require( '@stdlib/blas-ext-base-ndarray-snansumors' );
8788
import snansumpw = require( '@stdlib/blas-ext-base-ndarray-snansumpw' );
89+
import soneTo = require( '@stdlib/blas-ext-base-ndarray-sone-to' );
8890
import ssorthp = require( '@stdlib/blas-ext-base-ndarray-ssorthp' );
8991
import ssum = require( '@stdlib/blas-ext-base-ndarray-ssum' );
9092
import ssumkbn = require( '@stdlib/blas-ext-base-ndarray-ssumkbn' );
@@ -500,6 +502,25 @@ interface Namespace {
500502
*/
501503
dnansumpw: typeof dnansumpw;
502504

505+
/**
506+
* Fills a one-dimensional double-precision floating-point ndarray with linearly spaced numeric elements which increment by `1` starting from one.
507+
*
508+
* @param arrays - array-like object containing a one-dimensional input ndarray
509+
* @returns input ndarray
510+
*
511+
* @example
512+
* var Float64Array = require( '@stdlib/array-float64' );
513+
* var ndarray = require( '@stdlib/ndarray-base-ctor' );
514+
*
515+
* var xbuf = new Float64Array( [ 0.0, 0.0, 0.0, 0.0 ] );
516+
* var x = new ndarray( 'float64', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
517+
* // returns <ndarray>[ 0.0, 0.0, 0.0, 0.0 ]
518+
*
519+
* var out = ns.doneTo( [ x ] );
520+
* // returns <ndarray>[ 1.0, 2.0, 3.0, 4.0 ]
521+
*/
522+
doneTo: typeof doneTo;
523+
503524
/**
504525
* Sorts a one-dimensional double-precision floating-point ndarray using heapsort.
505526
*
@@ -1648,6 +1669,25 @@ interface Namespace {
16481669
*/
16491670
snansumpw: typeof snansumpw;
16501671

1672+
/**
1673+
* Fills a one-dimensional single-precision floating-point ndarray with linearly spaced numeric elements which increment by `1` starting from one.
1674+
*
1675+
* @param arrays - array-like object containing a one-dimensional input ndarray
1676+
* @returns input ndarray
1677+
*
1678+
* @example
1679+
* var Float32Array = require( '@stdlib/array-float32' );
1680+
* var ndarray = require( '@stdlib/ndarray-base-ctor' );
1681+
*
1682+
* var xbuf = new Float32Array( [ 0.0, 0.0, 0.0, 0.0 ] );
1683+
* var x = new ndarray( 'float32', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
1684+
* // returns <ndarray>[ 0.0, 0.0, 0.0, 0.0 ]
1685+
*
1686+
* var out = ns.soneTo( [ x ] );
1687+
* // returns <ndarray>[ 1.0, 2.0, 3.0, 4.0 ]
1688+
*/
1689+
soneTo: typeof soneTo;
1690+
16511691
/**
16521692
* Sorts a one-dimensional single-precision floating-point ndarray using heapsort.
16531693
*

0 commit comments

Comments
 (0)