Skip to content

Commit b20898d

Browse files
committed
Auto-generated commit
1 parent 0af12b1 commit b20898d

File tree

3 files changed

+101
-16
lines changed

3 files changed

+101
-16
lines changed

CHANGELOG.md

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

1111
### Features
1212

13+
- [`4e5c850`](https://github.com/stdlib-js/stdlib/commit/4e5c85028b82e98217bfe1e1ae6f946991057a5d) - update `blas/ext` TypeScript declarations [(#11464)](https://github.com/stdlib-js/stdlib/pull/11464)
1314
- [`3c7f8d2`](https://github.com/stdlib-js/stdlib/commit/3c7f8d29fb78997b36d33204f92d2e176a834c13) - add `blas/ext/base/ssort` [(#9697)](https://github.com/stdlib-js/stdlib/pull/9697)
1415
- [`93c9868`](https://github.com/stdlib-js/stdlib/commit/93c9868ae12a7268932c3a07ad4cd96cba34a419) - update `blas/base/ndarray` TypeScript declarations [(#11447)](https://github.com/stdlib-js/stdlib/pull/11447)
1516
- [`ebaed5c`](https://github.com/stdlib-js/stdlib/commit/ebaed5c878d5abeaaadcb83a8a6e4544ab12f881) - add `gaxpy` to namespace
@@ -844,9 +845,9 @@
844845

845846
### Closed Issues
846847

847-
A total of 53 issues were closed in this release:
848+
A total of 54 issues were closed in this release:
848849

849-
[#318](https://github.com/stdlib-js/stdlib/issues/318), [#3046](https://github.com/stdlib-js/stdlib/issues/3046), [#3073](https://github.com/stdlib-js/stdlib/issues/3073), [#3074](https://github.com/stdlib-js/stdlib/issues/3074), [#3075](https://github.com/stdlib-js/stdlib/issues/3075), [#3186](https://github.com/stdlib-js/stdlib/issues/3186), [#3201](https://github.com/stdlib-js/stdlib/issues/3201), [#3253](https://github.com/stdlib-js/stdlib/issues/3253), [#5072](https://github.com/stdlib-js/stdlib/issues/5072), [#5073](https://github.com/stdlib-js/stdlib/issues/5073), [#5237](https://github.com/stdlib-js/stdlib/issues/5237), [#5440](https://github.com/stdlib-js/stdlib/issues/5440), [#5501](https://github.com/stdlib-js/stdlib/issues/5501), [#5504](https://github.com/stdlib-js/stdlib/issues/5504), [#5505](https://github.com/stdlib-js/stdlib/issues/5505), [#5507](https://github.com/stdlib-js/stdlib/issues/5507), [#5508](https://github.com/stdlib-js/stdlib/issues/5508), [#5509](https://github.com/stdlib-js/stdlib/issues/5509), [#5732](https://github.com/stdlib-js/stdlib/issues/5732), [#5905](https://github.com/stdlib-js/stdlib/issues/5905), [#6992](https://github.com/stdlib-js/stdlib/issues/6992), [#7018](https://github.com/stdlib-js/stdlib/issues/7018), [#7032](https://github.com/stdlib-js/stdlib/issues/7032), [#7241](https://github.com/stdlib-js/stdlib/issues/7241), [#7645](https://github.com/stdlib-js/stdlib/issues/7645), [#7877](https://github.com/stdlib-js/stdlib/issues/7877), [#8195](https://github.com/stdlib-js/stdlib/issues/8195), [#8265](https://github.com/stdlib-js/stdlib/issues/8265), [#8357](https://github.com/stdlib-js/stdlib/issues/8357), [#8443](https://github.com/stdlib-js/stdlib/issues/8443), [#8700](https://github.com/stdlib-js/stdlib/issues/8700), [#9108](https://github.com/stdlib-js/stdlib/issues/9108), [#9125](https://github.com/stdlib-js/stdlib/issues/9125), [#9130](https://github.com/stdlib-js/stdlib/issues/9130), [#9131](https://github.com/stdlib-js/stdlib/issues/9131), [#9132](https://github.com/stdlib-js/stdlib/issues/9132), [#9133](https://github.com/stdlib-js/stdlib/issues/9133), [#9134](https://github.com/stdlib-js/stdlib/issues/9134), [#9135](https://github.com/stdlib-js/stdlib/issues/9135), [#9136](https://github.com/stdlib-js/stdlib/issues/9136), [#9137](https://github.com/stdlib-js/stdlib/issues/9137), [#9138](https://github.com/stdlib-js/stdlib/issues/9138), [#9139](https://github.com/stdlib-js/stdlib/issues/9139), [#9140](https://github.com/stdlib-js/stdlib/issues/9140), [#9235](https://github.com/stdlib-js/stdlib/issues/9235), [#9236](https://github.com/stdlib-js/stdlib/issues/9236), [#9897](https://github.com/stdlib-js/stdlib/issues/9897), [#10285](https://github.com/stdlib-js/stdlib/issues/10285), [#10475](https://github.com/stdlib-js/stdlib/issues/10475), [#10621](https://github.com/stdlib-js/stdlib/issues/10621), [#10722](https://github.com/stdlib-js/stdlib/issues/10722), [#10980](https://github.com/stdlib-js/stdlib/issues/10980), [#11311](https://github.com/stdlib-js/stdlib/issues/11311)
850+
[#318](https://github.com/stdlib-js/stdlib/issues/318), [#3046](https://github.com/stdlib-js/stdlib/issues/3046), [#3073](https://github.com/stdlib-js/stdlib/issues/3073), [#3074](https://github.com/stdlib-js/stdlib/issues/3074), [#3075](https://github.com/stdlib-js/stdlib/issues/3075), [#3186](https://github.com/stdlib-js/stdlib/issues/3186), [#3201](https://github.com/stdlib-js/stdlib/issues/3201), [#3253](https://github.com/stdlib-js/stdlib/issues/3253), [#5072](https://github.com/stdlib-js/stdlib/issues/5072), [#5073](https://github.com/stdlib-js/stdlib/issues/5073), [#5237](https://github.com/stdlib-js/stdlib/issues/5237), [#5440](https://github.com/stdlib-js/stdlib/issues/5440), [#5501](https://github.com/stdlib-js/stdlib/issues/5501), [#5504](https://github.com/stdlib-js/stdlib/issues/5504), [#5505](https://github.com/stdlib-js/stdlib/issues/5505), [#5507](https://github.com/stdlib-js/stdlib/issues/5507), [#5508](https://github.com/stdlib-js/stdlib/issues/5508), [#5509](https://github.com/stdlib-js/stdlib/issues/5509), [#5732](https://github.com/stdlib-js/stdlib/issues/5732), [#5905](https://github.com/stdlib-js/stdlib/issues/5905), [#6992](https://github.com/stdlib-js/stdlib/issues/6992), [#7018](https://github.com/stdlib-js/stdlib/issues/7018), [#7032](https://github.com/stdlib-js/stdlib/issues/7032), [#7241](https://github.com/stdlib-js/stdlib/issues/7241), [#7645](https://github.com/stdlib-js/stdlib/issues/7645), [#7877](https://github.com/stdlib-js/stdlib/issues/7877), [#8195](https://github.com/stdlib-js/stdlib/issues/8195), [#8265](https://github.com/stdlib-js/stdlib/issues/8265), [#8357](https://github.com/stdlib-js/stdlib/issues/8357), [#8443](https://github.com/stdlib-js/stdlib/issues/8443), [#8700](https://github.com/stdlib-js/stdlib/issues/8700), [#9108](https://github.com/stdlib-js/stdlib/issues/9108), [#9125](https://github.com/stdlib-js/stdlib/issues/9125), [#9130](https://github.com/stdlib-js/stdlib/issues/9130), [#9131](https://github.com/stdlib-js/stdlib/issues/9131), [#9132](https://github.com/stdlib-js/stdlib/issues/9132), [#9133](https://github.com/stdlib-js/stdlib/issues/9133), [#9134](https://github.com/stdlib-js/stdlib/issues/9134), [#9135](https://github.com/stdlib-js/stdlib/issues/9135), [#9136](https://github.com/stdlib-js/stdlib/issues/9136), [#9137](https://github.com/stdlib-js/stdlib/issues/9137), [#9138](https://github.com/stdlib-js/stdlib/issues/9138), [#9139](https://github.com/stdlib-js/stdlib/issues/9139), [#9140](https://github.com/stdlib-js/stdlib/issues/9140), [#9235](https://github.com/stdlib-js/stdlib/issues/9235), [#9236](https://github.com/stdlib-js/stdlib/issues/9236), [#9897](https://github.com/stdlib-js/stdlib/issues/9897), [#10285](https://github.com/stdlib-js/stdlib/issues/10285), [#10475](https://github.com/stdlib-js/stdlib/issues/10475), [#10621](https://github.com/stdlib-js/stdlib/issues/10621), [#10722](https://github.com/stdlib-js/stdlib/issues/10722), [#10980](https://github.com/stdlib-js/stdlib/issues/10980), [#11311](https://github.com/stdlib-js/stdlib/issues/11311), [#11452](https://github.com/stdlib-js/stdlib/issues/11452)
850851

851852
</section>
852853

@@ -858,6 +859,8 @@ A total of 53 issues were closed in this release:
858859

859860
<details>
860861

862+
- [`f36ea49`](https://github.com/stdlib-js/stdlib/commit/f36ea4994d75e6cc36a9447388918bf0a0d984e8) - **test:** incorrect fixture import path in `dtrsv` [(#11453)](https://github.com/stdlib-js/stdlib/pull/11453) _(by Divit Jain)_
863+
- [`4e5c850`](https://github.com/stdlib-js/stdlib/commit/4e5c85028b82e98217bfe1e1ae6f946991057a5d) - **feat:** update `blas/ext` TypeScript declarations [(#11464)](https://github.com/stdlib-js/stdlib/pull/11464) _(by stdlib-bot)_
861864
- [`3c7f8d2`](https://github.com/stdlib-js/stdlib/commit/3c7f8d29fb78997b36d33204f92d2e176a834c13) - **feat:** add `blas/ext/base/ssort` [(#9697)](https://github.com/stdlib-js/stdlib/pull/9697) _(by Muhammad Haris, Athan Reines, stdlib-bot)_
862865
- [`93c9868`](https://github.com/stdlib-js/stdlib/commit/93c9868ae12a7268932c3a07ad4cd96cba34a419) - **feat:** update `blas/base/ndarray` TypeScript declarations [(#11447)](https://github.com/stdlib-js/stdlib/pull/11447) _(by stdlib-bot)_
863866
- [`36e8e4b`](https://github.com/stdlib-js/stdlib/commit/36e8e4be9c05de181d5e69f7a0f4b689d27c3f35) - **docs:** update namespace table of contents [(#11448)](https://github.com/stdlib-js/stdlib/pull/11448) _(by stdlib-bot)_
@@ -2542,7 +2545,7 @@ A total of 53 issues were closed in this release:
25422545

25432546
### Contributors
25442547

2545-
A total of 69 people contributed to this release. Thank you to the following contributors:
2548+
A total of 70 people contributed to this release. Thank you to the following contributors:
25462549

25472550
- Aayush Khanna
25482551
- Abhay Singh
@@ -2555,6 +2558,7 @@ A total of 69 people contributed to this release. Thank you to the following con
25552558
- AyushiJain18270
25562559
- Bhargav Dabhade
25572560
- Dhruvan Gnanadhandayuthapani
2561+
- Divit Jain
25582562
- DivitJain26
25592563
- Divyanshu
25602564
- Diyan

base/dtrsv/test/test.ndarray.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var rsa1nsa2 = require( './fixtures/row_major_sa1n_sa2.json' );
4646
var rsa1sa2n = require( './fixtures/row_major_sa1_sa2n.json' );
4747
var rsa1nsa2n = require( './fixtures/row_major_sa1n_sa2n.json' );
4848
var rcap = require( './fixtures/row_major_complex_access_pattern.json' );
49-
5049
var clntnu = require( './fixtures/column_major_l_nt_nu.json' );
5150
var cltnu = require( './fixtures/column_major_l_t_nu.json' );
5251
var clntu = require( './fixtures/column_major_l_nt_u.json' );
@@ -62,7 +61,7 @@ var cox = require( './fixtures/column_major_ox.json' );
6261
var csa1sa2 = require( './fixtures/column_major_sa1_sa2.json' );
6362
var csa1nsa2 = require( './fixtures/column_major_sa1n_sa2.json' );
6463
var csa1sa2n = require( './fixtures/column_major_sa1_sa2n.json' );
65-
var csa1nsa2n = require( './fixtures/column_major_sa1_sa2n.json' );
64+
var csa1nsa2n = require( './fixtures/column_major_sa1n_sa2n.json' );
6665
var ccap = require( './fixtures/column_major_complex_access_pattern.json' );
6766

6867

ext/docs/types/index.d.ts

Lines changed: 93 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@
2121
/* eslint-disable max-lines */
2222

2323
import base = require( './../../../ext/base' );
24+
import circshift = require( './../../../ext/circshift' );
2425
import cusum = require( './../../../ext/cusum' );
2526
import findIndex = require( './../../../ext/find-index' );
2627
import findLastIndex = require( './../../../ext/find-last-index' );
2728
import indexOf = require( './../../../ext/index-of' );
29+
import join = require( './../../../ext/join' );
2830
import lastIndexOf = require( './../../../ext/last-index-of' );
2931
import linspace = require( './../../../ext/linspace' );
3032
import sorthp = require( './../../../ext/sorthp' );
3133
import sum = require( './../../../ext/sum' );
3234
import toSortedhp = require( './../../../ext/to-sortedhp' );
35+
import zeroTo = require( './../../../ext/zero-to' );
3336

3437
/**
3538
* Interface describing the `ext` namespace.
@@ -40,6 +43,35 @@ interface Namespace {
4043
*/
4144
base: typeof base;
4245

46+
/**
47+
* Circularly shifts the elements of an input ndarray by a specified number of positions along one or more ndarray dimensions.
48+
*
49+
* ## Notes
50+
*
51+
* - The input ndarray is shifted **in-place** (i.e., the input ndarray is **mutated**).
52+
* - When shifting elements along a single dimension, a positive `k` shifts elements to the right (toward higher indices), and a negative `k` shifts elements to the left (toward lower indices). If `k` is zero, the input ndarray is left unchanged.
53+
*
54+
* @param x - input ndarray
55+
* @param k - number of positions to shift
56+
* @param options - function options
57+
* @returns input ndarray
58+
*
59+
* @example
60+
* var array = require( '@stdlib/ndarray/array' );
61+
*
62+
* var x = array( [ 1.0, 2.0, 3.0, 4.0 ], {
63+
* 'shape': [ 2, 2 ],
64+
* 'order': 'row-major'
65+
* });
66+
* // returns <ndarray>[ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ]
67+
*
68+
* var y = ns.circshift( x, 1, {
69+
* 'dims': [ 0 ]
70+
* });
71+
* // returns <ndarray>[ [ 3.0, 4.0 ], [ 1.0, 2.0 ] ]
72+
*/
73+
circshift: typeof circshift;
74+
4375
/**
4476
* Computes the cumulative sum along one or more ndarray dimensions.
4577
*
@@ -215,6 +247,40 @@ interface Namespace {
215247
*/
216248
indexOf: typeof indexOf;
217249

250+
/**
251+
* Returns an ndarray created by joining elements using a separator along one or more ndarray dimensions.
252+
*
253+
* @param x - input ndarray
254+
* @param options - function options
255+
* @returns output ndarray
256+
*
257+
* @example
258+
* var array = require( '@stdlib/ndarray/array' );
259+
*
260+
* var x = array( [ 1.0, 2.0, 3.0 ] );
261+
*
262+
* var y = ns.join( x );
263+
* // returns <ndarray>[ '1,2,3' ]
264+
*
265+
* @example
266+
* var empty = require( '@stdlib/ndarray/empty' );
267+
* var array = require( '@stdlib/ndarray/array' );
268+
*
269+
* var x = array( [ 1.0, 2.0, 3.0 ], {
270+
* 'dtype': 'generic'
271+
* });
272+
* var y = empty( [], {
273+
* 'dtype': 'generic'
274+
* });
275+
*
276+
* var out = ns.join.assign( x, y );
277+
* // returns <ndarray>[ '1,2,3' ]
278+
*
279+
* var bool = ( out === y );
280+
* // returns true
281+
*/
282+
join: typeof join;
283+
218284
/**
219285
* Returns the last index of a specified search element along an ndarray dimension.
220286
*
@@ -270,29 +336,20 @@ interface Namespace {
270336
* @param options - function options
271337
*
272338
* @example
273-
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
274-
*
275339
* var out = ns.linspace( [ 2, 4 ], 0.0, 3.0 );
276-
* // returns <ndarray>
277-
*
278-
* var arr = ndarray2array( out );
279-
* // returns [ [ 0.0, 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0, 3.0 ] ]
340+
* // returns <ndarray>[ [ 0.0, 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0, 3.0 ] ]
280341
*
281342
* @example
282343
* var zeros = require( '@stdlib/ndarray/zeros' );
283-
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
284344
*
285345
* var x = zeros( [ 2, 4 ] );
286346
* // returns <ndarray>
287347
*
288348
* var out = ns.linspace.assign( x, 0.0, 3.0 );
289-
* // returns <ndarray>
349+
* // returns <ndarray>[ [ 0.0, 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0, 3.0 ] ]
290350
*
291351
* var bool = ( out === x );
292352
* // returns true
293-
*
294-
* var arr = ndarray2array( out );
295-
* // returns [ [ 0.0, 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0, 3.0 ] ]
296353
*/
297354
linspace: typeof linspace;
298355

@@ -422,6 +479,31 @@ interface Namespace {
422479
* // returns true
423480
*/
424481
toSortedhp: typeof toSortedhp;
482+
483+
/**
484+
* Returns a new ndarray filled with linearly spaced numeric elements which increment by 1 starting from zero along one or more ndarray dimensions.
485+
*
486+
* @param shape - array shape
487+
* @param options - function options
488+
* @returns output ndarray
489+
*
490+
* @example
491+
* var out = ns.zeroTo( [ 2, 3 ] );
492+
* // returns <ndarray>[ [ 0.0, 1.0, 2.0 ], [ 0.0, 1.0, 2.0 ] ]
493+
*
494+
* @example
495+
* var zeros = require( '@stdlib/ndarray/zeros' );
496+
*
497+
* var x = zeros( [ 2, 3 ] );
498+
* // returns <ndarray>[ [ 0.0, 0.0, 0.0 ], [ 0.0, 0.0, 0.0 ] ]
499+
*
500+
* var out = ns.zeroTo.assign( x );
501+
* // returns <ndarray>[ [ 0.0, 1.0, 2.0 ], [ 0.0, 1.0, 2.0 ] ]
502+
*
503+
* var bool = ( out === x );
504+
* // returns true
505+
*/
506+
zeroTo: typeof zeroTo;
425507
}
426508

427509
/**

0 commit comments

Comments
 (0)