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
62
63
-[`a0d6619`](https://github.com/stdlib-js/stdlib/commit/a0d66193409576538d0f16aa89cbaeedec7898be) - add `minSignedIntegerDataType` and `minUnsignedIntegerDataType` to namespace
Copy file name to clipboardExpand all lines: base/README.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,7 @@ var o = ns;
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
74
- <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
+
- <spanclass="signature">[`fill( x, value )`][@stdlib/ndarray/base/fill]</span><spanclass="delimiter">: </span><spanclass="description">fill an input ndarray with a specified value.</span>
75
76
- <spanclass="signature">[`flag( x, name )`][@stdlib/ndarray/base/flag]</span><spanclass="delimiter">: </span><spanclass="description">return a specified flag for a provided ndarray.</span>
76
77
- <spanclass="signature">[`flags( x, copy )`][@stdlib/ndarray/base/flags]</span><spanclass="delimiter">: </span><spanclass="description">return the flags of a provided ndarray.</span>
77
78
- <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>
@@ -81,10 +82,13 @@ var o = ns;
81
82
- <spanclass="signature">[`ind( idx, max, mode )`][@stdlib/ndarray/base/ind]</span><spanclass="delimiter">: </span><spanclass="description">return an index given an index mode.</span>
82
83
- <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>
84
86
- <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>
85
87
- <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>
86
88
- <spanclass="signature">[`maybeBroadcastArrays( arrays )`][@stdlib/ndarray/base/maybe-broadcast-arrays]</span><spanclass="delimiter">: </span><spanclass="description">broadcast ndarrays to a common shape.</span>
87
89
- <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>
90
+
- <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>
91
+
- <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>
88
92
- <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>
89
93
- <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>
90
94
- <spanclass="signature">[`ndarraylike2ndarray( x )`][@stdlib/ndarray/base/ndarraylike2ndarray]</span><spanclass="delimiter">: </span><spanclass="description">convert an ndarray-like object to an `ndarray`.</span>
@@ -125,6 +129,7 @@ var o = ns;
125
129
- <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>
126
130
- <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>
127
131
- <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>
132
+
- <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>
128
133
- <spanclass="signature">[`transpose( x )`][@stdlib/ndarray/base/transpose]</span><spanclass="delimiter">: </span><spanclass="description">transpose a matrix (or a stack of matrices).</span>
129
134
- <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>
130
135
- <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