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
-[`14427c7`](https://github.com/stdlib-js/stdlib/commit/14427c79bc62f82b16cbadc9d34749901e48d105) - add `fill`, `map`, and `toReversed` to namespace
24
25
-[`a0d6619`](https://github.com/stdlib-js/stdlib/commit/a0d66193409576538d0f16aa89cbaeedec7898be) - add `minSignedIntegerDataType` and `minUnsignedIntegerDataType` to namespace
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,7 @@ var o = ns;
105
105
- <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>
106
106
- <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>
107
107
- <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>
108
+
- <spanclass="signature">[`fill( x, value )`][@stdlib/ndarray/base/fill]</span><spanclass="delimiter">: </span><spanclass="description">fill an input ndarray with a specified value.</span>
108
109
- <spanclass="signature">[`flag( x, name )`][@stdlib/ndarray/base/flag]</span><spanclass="delimiter">: </span><spanclass="description">return a specified flag for a provided ndarray.</span>
109
110
- <spanclass="signature">[`flags( x, copy )`][@stdlib/ndarray/base/flags]</span><spanclass="delimiter">: </span><spanclass="description">return the flags of a provided ndarray.</span>
110
111
- <spanclass="signature">[`fliplr( x, writable )`][@stdlib/ndarray/base/fliplr]</span><spanclass="delimiter">: </span><spanclass="description">return a view of an input ndarray in which the order of elements along the last dimension is reversed.</span>
@@ -114,10 +115,13 @@ var o = ns;
114
115
- <spanclass="signature">[`ind( idx, max, mode )`][@stdlib/ndarray/base/ind]</span><spanclass="delimiter">: </span><spanclass="description">return an index given an index mode.</span>
115
116
- <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">[`map( arrays, fcn[, thisArg] )`][@stdlib/ndarray/base/map]</span><spanclass="delimiter">: </span><spanclass="description">apply a callback function to elements in an input ndarray and assign results to elements in an output ndarray.</span>
117
119
- <spanclass="signature">[`maxViewBufferIndex( shape, strides, offset )`][@stdlib/ndarray/base/max-view-buffer-index]</span><spanclass="delimiter">: </span><spanclass="description">compute the maximum linear index in an underlying data buffer accessible to an array view.</span>
118
120
- <spanclass="signature">[`maybeBroadcastArray( arr, shape )`][@stdlib/ndarray/base/maybe-broadcast-array]</span><spanclass="delimiter">: </span><spanclass="description">broadcast an ndarray to a specified shape if and only if the specified shape differs from the provided ndarray's shape.</span>
119
121
- <spanclass="signature">[`maybeBroadcastArrays( arrays )`][@stdlib/ndarray/base/maybe-broadcast-arrays]</span><spanclass="delimiter">: </span><spanclass="description">broadcast ndarrays to a common shape.</span>
120
122
- <spanclass="signature">[`metaDataProps( meta, dtypes, obj )`][@stdlib/ndarray/base/meta-data-props]</span><spanclass="delimiter">: </span><spanclass="description">define non-enumerable read-only properties which expose ndarray function meta data.</span>
123
+
- <spanclass="signature">[`minSignedIntegerDataType( value )`][@stdlib/ndarray/base/min-signed-integer-dtype]</span><spanclass="delimiter">: </span><spanclass="description">determine the minimum ndarray data type for storing a provided signed integer value.</span>
124
+
- <spanclass="signature">[`minUnsignedIntegerDataType( value )`][@stdlib/ndarray/base/min-unsigned-integer-dtype]</span><spanclass="delimiter">: </span><spanclass="description">determine the minimum ndarray data type for storing a provided unsigned integer value.</span>
121
125
- <spanclass="signature">[`minViewBufferIndex( shape, strides, offset )`][@stdlib/ndarray/base/min-view-buffer-index]</span><spanclass="delimiter">: </span><spanclass="description">compute the minimum linear index in an underlying data buffer accessible to an array view.</span>
122
126
- <spanclass="signature">[`minmaxViewBufferIndex( shape, strides, offset )`][@stdlib/ndarray/base/minmax-view-buffer-index]</span><spanclass="delimiter">: </span><spanclass="description">compute the minimum and maximum linear indices in an underlying data buffer which are accessible to an array view.</span>
123
127
- <spanclass="signature">[`ndarraylike2ndarray( x )`][@stdlib/ndarray/base/ndarraylike2ndarray]</span><spanclass="delimiter">: </span><spanclass="description">convert an ndarray-like object to an `ndarray`.</span>
@@ -158,6 +162,7 @@ var o = ns;
158
162
- <spanclass="signature">[`strides2order( strides )`][@stdlib/ndarray/base/strides2order]</span><spanclass="delimiter">: </span><spanclass="description">determine the order of a multidimensional array based on a provided stride array.</span>
159
163
- <spanclass="signature">[`sub2ind( shape, strides, offset, ...subscripts, mode )`][@stdlib/ndarray/base/sub2ind]</span><spanclass="delimiter">: </span><spanclass="description">convert subscripts to a linear index.</span>
160
164
- <spanclass="signature">[`ndarray2array( buffer, shape, strides, offset, order )`][@stdlib/ndarray/base/to-array]</span><spanclass="delimiter">: </span><spanclass="description">convert an ndarray buffer to a generic array.</span>
165
+
- <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>
161
166
- <spanclass="signature">[`transpose( x )`][@stdlib/ndarray/base/transpose]</span><spanclass="delimiter">: </span><spanclass="description">transpose a matrix (or a stack of matrices).</span>
162
167
- <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>
163
168
- <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>
0 commit comments