You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ The namespace contains the following:
58
58
- <spanclass="signature">[`sort( x[, sortOrder][, options] )`][@stdlib/blas/ext/sort]</span><spanclass="delimiter">: </span><spanclass="description">sort an input ndarray along one or more ndarray dimensions.</span>
59
59
- <spanclass="signature">[`sorthp( x[, sortOrder][, options] )`][@stdlib/blas/ext/sorthp]</span><spanclass="delimiter">: </span><spanclass="description">sort an input ndarray along one or more ndarray dimensions using heapsort.</span>
60
60
- <spanclass="signature">[`sum( x[, options] )`][@stdlib/blas/ext/sum]</span><spanclass="delimiter">: </span><spanclass="description">compute the sum along one or more ndarray dimensions.</span>
61
+
- <spanclass="signature">[`toSorted( x[, sortOrder][, options] )`][@stdlib/blas/ext/to-sorted]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray containing the elements of an input ndarray sorted along one or more ndarray dimensions.</span>
61
62
- <spanclass="signature">[`toSortedhp( x[, sortOrder][, options] )`][@stdlib/blas/ext/to-sortedhp]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray containing the elements of an input ndarray sorted along one or more ndarray dimensions using heapsort.</span>
62
63
- <spanclass="signature">[`zeroTo( shape[, options] )`][@stdlib/blas/ext/zero-to]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray filled with linearly spaced numeric elements which increment by `1` starting from zero along one or more ndarray dimensions.</span>
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/base/ndarray/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,7 @@ The namespace exposes the following APIs:
100
100
- <spanclass="signature">[`gsumkbn2( arrays )`][@stdlib/blas/ext/base/ndarray/gsumkbn2]</span><spanclass="delimiter">: </span><spanclass="description">compute the sum of all elements in a one-dimensional ndarray using a second-order iterative Kahan–Babuška algorithm.</span>
101
101
- <spanclass="signature">[`gsumors( arrays )`][@stdlib/blas/ext/base/ndarray/gsumors]</span><spanclass="delimiter">: </span><spanclass="description">compute the sum of all elements in a one-dimensional ndarray using ordinary recursive summation.</span>
102
102
- <spanclass="signature">[`gsumpw( arrays )`][@stdlib/blas/ext/base/ndarray/gsumpw]</span><spanclass="delimiter">: </span><spanclass="description">compute the sum of all elements in a one-dimensional ndarray using pairwise summation.</span>
103
+
- <spanclass="signature">[`gunitspace( arrays )`][@stdlib/blas/ext/base/ndarray/gunitspace]</span><spanclass="delimiter">: </span><spanclass="description">fill a one-dimensional ndarray with linearly spaced numeric elements which increment by `1` starting from a specified value.</span>
103
104
- <spanclass="signature">[`gzeroTo( arrays )`][@stdlib/blas/ext/base/ndarray/gzero-to]</span><spanclass="delimiter">: </span><spanclass="description">fill a one-dimensional ndarray with linearly spaced numeric elements which increment by `1` starting from zero.</span>
104
105
- <spanclass="signature">[`scircshift( arrays )`][@stdlib/blas/ext/base/ndarray/scircshift]</span><spanclass="delimiter">: </span><spanclass="description">circularly shift the elements of a one-dimensional single-precision floating-point ndarray by a specified number of positions.</span>
105
106
- <spanclass="signature">[`scusum( arrays )`][@stdlib/blas/ext/base/ndarray/scusum]</span><spanclass="delimiter">: </span><spanclass="description">compute the cumulative sum of a one-dimensional single-precision floating-point ndarray.</span>
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/ndarray/README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,7 @@ The namespace exports the following functions to manipulate multidimensional arr
99
99
- <spanclass="signature">[`removeSingletonDimensions( x )`][@stdlib/ndarray/remove-singleton-dimensions]</span><spanclass="delimiter">: </span><spanclass="description">return a read-only view of an input ndarray with singleton dimensions removed.</span>
100
100
- <spanclass="signature">[`reverseDimension( x, dim )`][@stdlib/ndarray/reverse-dimension]</span><spanclass="delimiter">: </span><spanclass="description">return a **read-only** view of an input `ndarray` in which the order of elements along a specified dimension is reversed.</span>
101
101
- <spanclass="signature">[`reverse( x )`][@stdlib/ndarray/reverse]</span><spanclass="delimiter">: </span><spanclass="description">return a **read-only** view of an input `ndarray` in which the order of elements along each dimension is reversed.</span>
102
+
- <spanclass="signature">[`rot90( x[, options] )`][@stdlib/ndarray/rot90]</span><spanclass="delimiter">: </span><spanclass="description">return a **read-only** view of an input ndarray rotated `90` degrees in a specified plane.</span>
102
103
- <spanclass="signature">[`rotr90( x, k )`][@stdlib/ndarray/rotr90]</span><spanclass="delimiter">: </span><spanclass="description">return a **read-only** view of a matrix (or a stack of matrices) rotated `90` degrees clockwise.</span>
103
104
- <spanclass="signature">[`rowcat( arrays )`][@stdlib/ndarray/rowcat]</span><spanclass="delimiter">: </span><spanclass="description">concatenate a list of one-dimensional or two-dimensional ndarrays as rows.</span>
104
105
- <spanclass="signature">[`shift( x[, options] )`][@stdlib/ndarray/shift]</span><spanclass="delimiter">: </span><spanclass="description">return an array containing a read-only truncated view of an input `ndarray` and a read-only view of the first element(s) along a specified dimension.</span>
@@ -262,6 +263,9 @@ The namespace contains the following multidimensional array utility functions:
262
263
- <spanclass="signature">[`dispatch( fcns, types, data, nargs, nin, nout )`][@stdlib/ndarray/dispatch]</span><spanclass="delimiter">: </span><spanclass="description">create an ndarray function interface which performs multiple dispatch.</span>
263
264
- <spanclass="signature">[`forEach( x, fcn[, thisArg] )`][@stdlib/ndarray/for-each]</span><spanclass="delimiter">: </span><spanclass="description">invoke a callback function once for each ndarray element.</span>
264
265
- <spanclass="signature">[`orders()`][@stdlib/ndarray/orders]</span><spanclass="delimiter">: </span><spanclass="description">list of ndarray orders.</span>
266
+
- <spanclass="signature">[`rot180( x[, options] )`][@stdlib/ndarray/rot180]</span><spanclass="delimiter">: </span><spanclass="description">return a **read-only** view of an input ndarray rotated `180` degrees in a specified plane.</span>
267
+
- <spanclass="signature">[`rotl90( x, k )`][@stdlib/ndarray/rotl90]</span><spanclass="delimiter">: </span><spanclass="description">return a **read-only** view of a matrix (or a stack of matrices) rotated `90` degrees counterclockwise.</span>
268
+
- <spanclass="signature">[`toRotr90( x, k )`][@stdlib/ndarray/to-rotr90]</span><spanclass="delimiter">: </span><spanclass="description">return a new `ndarray` where a matrix (or a stack of matrices) is rotated 90 degrees clockwise.</span>
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/ndarray/base/README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ var o = ns;
45
45
46
46
- <spanclass="signature">[`anyBy( arrays, predicate[, thisArg] )`][@stdlib/ndarray/base/any-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether at least one element in an ndarray passes a test implemented by a predicate function.</span>
47
47
- <spanclass="signature">[`any( arrays )`][@stdlib/ndarray/base/any]</span><spanclass="delimiter">: </span><spanclass="description">test whether at least one element in an ndarray is truthy.</span>
48
+
- <spanclass="signature">[`appendSingletonDimensions( x, n, writable )`][@stdlib/ndarray/base/append-singleton-dimensions]</span><spanclass="delimiter">: </span><spanclass="description">append singleton dimensions.</span>
48
49
- <spanclass="signature">[`assignScalar( arrays )`][@stdlib/ndarray/base/assign-scalar]</span><spanclass="delimiter">: </span><spanclass="description">assign a scalar value to every element of an output ndarray.</span>
49
50
- <spanclass="signature">[`assign( arrays )`][@stdlib/ndarray/base/assign]</span><spanclass="delimiter">: </span><spanclass="description">assign elements in an input ndarray to elements in an output ndarray.</span>
50
51
- <spanclass="signature">[`atleast1d( arrays )`][@stdlib/ndarray/base/atleast1d]</span><spanclass="delimiter">: </span><spanclass="description">convert a list of values (scalars and/or ndarrays) to ndarrays having at least one dimension.</span>
@@ -208,6 +209,9 @@ var o = ns;
208
209
- <spanclass="signature">[`toNormalizedIndices( indices, max )`][@stdlib/ndarray/base/to-normalized-indices]</span><spanclass="delimiter">: </span><spanclass="description">normalize a list of indices to the interval `[0,max]`.</span>
209
210
- <spanclass="signature">[`toReversedDimension( x, dim )`][@stdlib/ndarray/base/to-reversed-dimension]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray where the order of elements of an input ndarray along a specified dimension is reversed.</span>
210
211
- <spanclass="signature">[`toReversed( x )`][@stdlib/ndarray/base/to-reversed]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray where the order of elements of an input ndarray is reversed along each dimension.</span>
212
+
- <spanclass="signature">[`toRot90( x, dims, k )`][@stdlib/ndarray/base/to-rot90]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray where an ndarray is rotated 90 degrees in a specified plane.</span>
213
+
- <spanclass="signature">[`toRotl90( x, k )`][@stdlib/ndarray/base/to-rotl90]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray where a matrix (or a stack of matrices) is rotated 90 degrees counterclockwise.</span>
214
+
- <spanclass="signature">[`toRotr90( x, k )`][@stdlib/ndarray/base/to-rotr90]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray where a matrix (or a stack of matrices) is rotated 90 degrees clockwise.</span>
211
215
- <spanclass="signature">[`toTransposed( x )`][@stdlib/ndarray/base/to-transposed]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray containing the elements of an input ndarray but whose last two dimensions are transposed.</span>
212
216
- <spanclass="signature">[`toUnflattened( x, dim, sizes )`][@stdlib/ndarray/base/to-unflattened]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray in which a specified dimension of an input ndarray is expanded over multiple dimensions.</span>
213
217
- <spanclass="signature">[`toUniqueNormalizedIndices( indices, max )`][@stdlib/ndarray/base/to-unique-normalized-indices]</span><spanclass="delimiter">: </span><spanclass="description">return a list of unique indices after normalizing to the interval `[0,max]`.</span>
0 commit comments