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
- [`4f9ef0a`](https://github.com/stdlib-js/stdlib/commit/4f9ef0a54ec0f9e065ea8ab3b514128d3c3adef1) - **bench:** refactor to use string interpolation in `@stdlib/ndarray/base` [(#11429)](https://github.com/stdlib-js/stdlib/pull/11429) _(by Karan Anand)_
Copy file name to clipboardExpand all lines: 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
@@ -171,6 +171,7 @@ In addition, the namespace contains the following multidimensional array utility
171
171
- <spanclass="signature">[`promotionRules( [dtype1, dtype2] )`][@stdlib/ndarray/promotion-rules]</span><spanclass="delimiter">: </span><spanclass="description">return the ndarray data type with the smallest size and closest "kind" to which ndarray data types can be **safely** cast.</span>
172
172
- <spanclass="signature">[`push( x, ...values )`][@stdlib/ndarray/push]</span><spanclass="delimiter">: </span><spanclass="description">return a one-dimensional ndarray formed by appending provided scalar values to a one-dimensional input ndarray.</span>
173
173
- <spanclass="signature">[`reject( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/reject]</span><spanclass="delimiter">: </span><spanclass="description">return a shallow copy of an ndarray containing only those elements which fail a test implemented by a predicate function.</span>
174
+
- <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>
174
175
- <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>
175
176
- <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>
176
177
- <spanclass="signature">[`safeCasts( [dtype] )`][@stdlib/ndarray/safe-casts]</span><spanclass="delimiter">: </span><spanclass="description">return a list of ndarray data types to which a provided ndarray data type can be safely cast.</span>
Copy file name to clipboardExpand all lines: base/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,7 @@ var o = ns;
111
111
- <spanclass="signature">[`array2ndarray( buf, order )`][@stdlib/ndarray/base/from-array]</span><spanclass="delimiter">: </span><spanclass="description">convert an array to a one-dimensional ndarray.</span>
112
112
- <spanclass="signature">[`scalar2ndarrayLike( x, value )`][@stdlib/ndarray/base/from-scalar-like]</span><spanclass="delimiter">: </span><spanclass="description">convert a scalar value to a zero-dimensional ndarray having the same data type as a provided ndarray.</span>
113
113
- <spanclass="signature">[`scalar2ndarray( value, dtype, order )`][@stdlib/ndarray/base/from-scalar]</span><spanclass="delimiter">: </span><spanclass="description">convert a scalar value to a zero-dimensional ndarray.</span>
114
+
- <spanclass="signature">[`fullBy( dtype, shape, order, clbk[, thisArg] )`][@stdlib/ndarray/base/full-by]</span><spanclass="delimiter">: </span><spanclass="description">create an ndarray filled according to a callback function and having a specified shape and data type.</span>
114
115
- <spanclass="signature">[`full( value, dtype, shape, order )`][@stdlib/ndarray/base/full]</span><spanclass="delimiter">: </span><spanclass="description">create an ndarray filled with a specified value and having a specified shape and data type.</span>
115
116
- <spanclass="signature">[`includes( arrays )`][@stdlib/ndarray/base/includes]</span><spanclass="delimiter">: </span><spanclass="description">test whether an ndarray contains a specified value.</span>
116
117
- <spanclass="signature">[`ind( idx, max, mode )`][@stdlib/ndarray/base/ind]</span><spanclass="delimiter">: </span><spanclass="description">return an index given an index mode.</span>
@@ -220,6 +221,7 @@ var o = ns;
220
221
- <spanclass="signature">[`unaryBlockSize( dtypeX, dtypeY )`][@stdlib/ndarray/base/unary-tiling-block-size]</span><spanclass="delimiter">: </span><spanclass="description">resolve a loop block size for multi-dimensional array tiled loops.</span>
221
222
- <spanclass="signature">[`unary( arrays, fcn )`][@stdlib/ndarray/base/unary]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary callback to elements in an input ndarray and assign results to elements in an output ndarray.</span>
222
223
- <spanclass="signature">[`unflattenShape( shape, dim, sizes )`][@stdlib/ndarray/base/unflatten-shape]</span><spanclass="delimiter">: </span><spanclass="description">expand a dimension over multiple dimensions.</span>
224
+
- <spanclass="signature">[`unflatten( x, dim, sizes, writable )`][@stdlib/ndarray/base/unflatten]</span><spanclass="delimiter">: </span><spanclass="description">return a view of an input ndarray in which a specified dimension is expanded over multiple dimensions.</span>
223
225
- <spanclass="signature">[`vind2bind( shape, strides, offset, order, idx, mode )`][@stdlib/ndarray/base/vind2bind]</span><spanclass="delimiter">: </span><spanclass="description">convert a linear index in an array view to a linear index in an underlying data buffer.</span>
224
226
- <spanclass="signature">[`wrapIndex( idx, max )`][@stdlib/ndarray/base/wrap-index]</span><spanclass="delimiter">: </span><spanclass="description">wrap an index on the interval `[0,max]`.</span>
225
227
- <spanclass="signature">[`zerosLike( x )`][@stdlib/ndarray/base/zeros-like]</span><spanclass="delimiter">: </span><spanclass="description">create a zero-filled ndarray having the same shape and data type as a provided ndarray.</span>
0 commit comments