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/ndarray/base/README.md
+12
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@ var o = ns;
71
71
- <spanclass="signature">[`dtypes2signatures( dtypes, nin, nout )`][@stdlib/ndarray/base/dtypes2signatures]</span><spanclass="delimiter">: </span><spanclass="description">transform a list of array argument data types into a list of signatures.</span>
72
72
- <spanclass="signature">[`emptyLike( x )`][@stdlib/ndarray/base/empty-like]</span><spanclass="delimiter">: </span><spanclass="description">create an uninitialized ndarray having the same shape and data type as a provided ndarray.</span>
73
73
- <spanclass="signature">[`empty( dtype, shape, order )`][@stdlib/ndarray/base/empty]</span><spanclass="delimiter">: </span><spanclass="description">create an uninitialized ndarray having a specified shape and data type.</span>
74
+
- <spanclass="signature">[`every( arrays )`][@stdlib/ndarray/base/every]</span><spanclass="delimiter">: </span><spanclass="description">test whether every element in an ndarray is truthy.</span>
74
75
- <spanclass="signature">[`expandDimensions( x, axis )`][@stdlib/ndarray/base/expand-dimensions]</span><spanclass="delimiter">: </span><spanclass="description">expand the shape of an array by inserting a new dimension of size one at a specified axis.</span>
75
76
- <spanclass="signature">[`fillBy( x, fcn[, thisArg] )`][@stdlib/ndarray/base/fill-by]</span><spanclass="delimiter">: </span><spanclass="description">fill an input ndarray according to a callback function.</span>
76
77
- <spanclass="signature">[`fill( x, value )`][@stdlib/ndarray/base/fill]</span><spanclass="delimiter">: </span><spanclass="description">fill an input ndarray with a specified value.</span>
@@ -81,6 +82,7 @@ var o = ns;
81
82
- <spanclass="signature">[`forEach( arrays, fcn[, thisArg] )`][@stdlib/ndarray/base/for-each]</span><spanclass="delimiter">: </span><spanclass="description">invoke a callback function once for each ndarray element.</span>
82
83
- <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>
83
84
- <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>
85
+
- <spanclass="signature">[`includes( arrays )`][@stdlib/ndarray/base/includes]</span><spanclass="delimiter">: </span><spanclass="description">test whether an ndarray contains a specified value.</span>
84
86
- <spanclass="signature">[`ind( idx, max, mode )`][@stdlib/ndarray/base/ind]</span><spanclass="delimiter">: </span><spanclass="description">return an index given an index mode.</span>
85
87
- <spanclass="signature">[`ind2sub( shape, strides, offset, order, idx, mode )`][@stdlib/ndarray/base/ind2sub]</span><spanclass="delimiter">: </span><spanclass="description">convert a linear index to an array of subscripts.</span>
- <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>
138
140
- <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>
139
141
- <spanclass="signature">[`transpose( x )`][@stdlib/ndarray/base/transpose]</span><spanclass="delimiter">: </span><spanclass="description">transpose a matrix (or a stack of matrices).</span>
142
+
- <spanclass="signature">[`unaryAccumulate( arrays, initial, clbk )`][@stdlib/ndarray/base/unary-accumulate]</span><spanclass="delimiter">: </span><spanclass="description">perform a reduction over elements in an input ndarray.</span>
140
143
- <spanclass="signature">[`unaryBy( arrays, fcn, clbk[, thisArg] )`][@stdlib/ndarray/base/unary-by]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary function to each element in an input ndarray according to a callback function and assign results to elements in an output ndarray.</span>
141
144
- <spanclass="signature">[`unaryLoopOrder( shape, stridesX, stridesY )`][@stdlib/ndarray/base/unary-loop-interchange-order]</span><spanclass="delimiter">: </span><spanclass="description">reorder ndarray dimensions and associated strides for loop interchange.</span>
142
145
- <spanclass="signature">[`unaryOutputDataType( dtype, policy )`][@stdlib/ndarray/base/unary-output-dtype]</span><spanclass="delimiter">: </span><spanclass="description">resolve the output ndarray data type for a unary function.</span>
146
+
- <spanclass="signature">[`unaryReduceSubarray( fcn, arrays, dims[, options] )`][@stdlib/ndarray/base/unary-reduce-subarray]</span><spanclass="delimiter">: </span><spanclass="description">perform a reduction over a list of specified dimensions in an input ndarray and assign results to a provided output ndarray.</span>
143
147
- <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>
144
148
- <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>
145
149
- <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>
0 commit comments