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/array/README.md
+6
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,7 @@ Lastly, the namespace contains various other functions for dealing with arrays,
179
179
- <spanclass="signature">[`minDataType( value )`][@stdlib/array/min-dtype]</span><spanclass="delimiter">: </span><spanclass="description">determine the minimum array data type of the closest "kind" necessary for storing a provided scalar value.</span>
180
180
- <spanclass="signature">[`mostlySafeCasts( [dtype] )`][@stdlib/array/mostly-safe-casts]</span><spanclass="delimiter">: </span><spanclass="description">return a list of array data types to which a provided array data type can be safely cast and, for floating-point data types, can be downcast.</span>
181
181
- <spanclass="signature">[`mskfilter( x, mask )`][@stdlib/array/mskfilter]</span><spanclass="delimiter">: </span><spanclass="description">apply a mask to a provided input array.</span>
182
+
- <spanclass="signature">[`mskput( x, mask, values[, options] )`][@stdlib/array/mskput]</span><spanclass="delimiter">: </span><spanclass="description">replace elements of an array with provided values according to a provided mask array.</span>
182
183
- <spanclass="signature">[`mskreject( x, mask )`][@stdlib/array/mskreject]</span><spanclass="delimiter">: </span><spanclass="description">apply a mask to a provided input array.</span>
183
184
- <spanclass="signature">[`nansLike( x[, dtype] )`][@stdlib/array/nans-like]</span><spanclass="delimiter">: </span><spanclass="description">create an array filled with NaNs and having the same length and data type as a provided array.</span>
184
185
- <spanclass="signature">[`nans( length[, dtype] )`][@stdlib/array/nans]</span><spanclass="delimiter">: </span><spanclass="description">create an array filled with NaNs and having a specified length.</span>
@@ -187,6 +188,7 @@ Lastly, the namespace contains various other functions for dealing with arrays,
187
188
- <spanclass="signature">[`oneTo( n[, dtype] )`][@stdlib/array/one-to]</span><spanclass="delimiter">: </span><spanclass="description">generate a linearly spaced numeric array whose elements increment by `1` starting from one.</span>
188
189
- <spanclass="signature">[`onesLike( x[, dtype] )`][@stdlib/array/ones-like]</span><spanclass="delimiter">: </span><spanclass="description">create an array filled with ones and having the same length and data type as a provided array.</span>
189
190
- <spanclass="signature">[`ones( length[, dtype] )`][@stdlib/array/ones]</span><spanclass="delimiter">: </span><spanclass="description">create an array filled with ones and having a specified length.</span>
191
+
- <spanclass="signature">[`place( x, mask, values[, options] )`][@stdlib/array/place]</span><spanclass="delimiter">: </span><spanclass="description">replace elements of an array with provided values according to a provided mask array.</span>
190
192
- <spanclass="signature">[`typedarraypool()`][@stdlib/array/pool]</span><spanclass="delimiter">: </span><spanclass="description">allocate typed arrays from a typed array memory pool.</span>
191
193
- <spanclass="signature">[`promotionRules( [dtype1, dtype2] )`][@stdlib/array/promotion-rules]</span><spanclass="delimiter">: </span><spanclass="description">return the array data type with the smallest size and closest "kind" to which array data types can be **safely** cast.</span>
192
194
- <spanclass="signature">[`put( x, indices, values[, options] )`][@stdlib/array/put]</span><spanclass="delimiter">: </span><spanclass="description">replace specified elements of an array with provided values.</span>
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/array/base/README.md
+9
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,7 @@ The namespace exports the following:
156
156
- <spanclass="signature">[`minUnsignedIntegerDataType( value )`][@stdlib/array/base/min-unsigned-integer-dtype]</span><spanclass="delimiter">: </span><spanclass="description">determine the minimum array data type for storing a provided unsigned integer value.</span>
157
157
- <spanclass="signature">[`mskbinary2d( arrays, shape, fcn )`][@stdlib/array/base/mskbinary2d]</span><spanclass="delimiter">: </span><spanclass="description">apply a binary callback to elements in two two-dimensional nested input arrays according to elements in a two-dimensional nested mask array and assign results to elements in a two-dimensional nested output array.</span>
158
158
- <spanclass="signature">[`mskfilter( x, mask )`][@stdlib/array/base/mskfilter]</span><spanclass="delimiter">: </span><spanclass="description">apply a mask to a provided input array.</span>
159
+
- <spanclass="signature">[`mskput( x, mask, values, mode )`][@stdlib/array/base/mskput]</span><spanclass="delimiter">: </span><spanclass="description">replace elements of an array with provided values according to a provided mask array.</span>
159
160
- <spanclass="signature">[`mskreject( x, mask )`][@stdlib/array/base/mskreject]</span><spanclass="delimiter">: </span><spanclass="description">apply a mask to a provided input array.</span>
160
161
- <spanclass="signature">[`mskunary2d( arrays, shape, fcn )`][@stdlib/array/base/mskunary2d]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary callback to elements in a two-dimensional nested input array according to elements in a two-dimensional nested mask array and assign results to elements in a two-dimensional nested output array.</span>
161
162
- <spanclass="signature">[`mskunary3d( arrays, shape, fcn )`][@stdlib/array/base/mskunary3d]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary callback to elements in a three-dimensional nested input array according to elements in a three-dimensional nested mask array and assign results to elements in a three-dimensional nested output array.</span>
@@ -170,6 +171,7 @@ The namespace exports the following:
170
171
- <spanclass="signature">[`ones4d( shape )`][@stdlib/array/base/ones4d]</span><spanclass="delimiter">: </span><spanclass="description">create a four-dimensional nested array filled with ones.</span>
171
172
- <spanclass="signature">[`ones5d( shape )`][@stdlib/array/base/ones5d]</span><spanclass="delimiter">: </span><spanclass="description">create a five-dimensional nested array filled with ones.</span>
172
173
- <spanclass="signature">[`onesnd( shape )`][@stdlib/array/base/onesnd]</span><spanclass="delimiter">: </span><spanclass="description">create an n-dimensional nested array filled with ones.</span>
174
+
- <spanclass="signature">[`place( x, mask, values, mode )`][@stdlib/array/base/place]</span><spanclass="delimiter">: </span><spanclass="description">replace elements of an array with provided values according to a provided mask array.</span>
173
175
- <spanclass="signature">[`put( x, indices, values, mode )`][@stdlib/array/base/put]</span><spanclass="delimiter">: </span><spanclass="description">replace specified elements of an array with provided values.</span>
174
176
- <spanclass="signature">[`quaternary2d( arrays, shape, fcn )`][@stdlib/array/base/quaternary2d]</span><spanclass="delimiter">: </span><spanclass="description">apply a quaternary callback to elements in four two-dimensional nested input arrays and assign results to elements in a two-dimensional nested output array.</span>
175
177
- <spanclass="signature">[`quaternary3d( arrays, shape, fcn )`][@stdlib/array/base/quaternary3d]</span><spanclass="delimiter">: </span><spanclass="description">apply a quaternary callback to elements in four three-dimensional nested input arrays and assign results to elements in a three-dimensional nested output array.</span>
@@ -207,6 +209,7 @@ The namespace exports the following:
207
209
- <spanclass="signature">[`unary5d( arrays, shape, fcn )`][@stdlib/array/base/unary5d]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary callback to elements in a five-dimensional nested input array and assign results to elements in a five-dimensional nested output array.</span>
208
210
- <spanclass="signature">[`unarynd( arrays, shape, fcn )`][@stdlib/array/base/unarynd]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary callback to elements in an n-dimensional nested input array and assign results to elements in an n-dimensional nested output array.</span>
209
211
- <spanclass="signature">[`unitspace( start, stop )`][@stdlib/array/base/unitspace]</span><spanclass="delimiter">: </span><spanclass="description">generate a linearly spaced numeric array whose elements increment by 1.</span>
212
+
- <spanclass="signature">[`where( condition, x, y )`][@stdlib/array/base/where]</span><spanclass="delimiter">: </span><spanclass="description">take elements from either one of two arrays depending on a condition.</span>
210
213
- <spanclass="signature">[`arrayWith( x, index, value )`][@stdlib/array/base/with]</span><spanclass="delimiter">: </span><spanclass="description">return a new array with the element at the specified index replaced with a provided value.</span>
211
214
- <spanclass="signature">[`zeroTo( n )`][@stdlib/array/base/zero-to]</span><spanclass="delimiter">: </span><spanclass="description">generate a linearly spaced numeric array whose elements increment by 1 starting from zero.</span>
212
215
- <spanclass="signature">[`zeros( len )`][@stdlib/array/base/zeros]</span><spanclass="delimiter">: </span><spanclass="description">create a zero-filled "generic" array.</span>
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/strided/base/README.md
+6
Original file line number
Diff line number
Diff line change
@@ -72,13 +72,15 @@ The following functions are currently exported:
72
72
- <spanclass="signature">[`offsetView( x, offset )`][@stdlib/strided/base/offset-view]</span><spanclass="delimiter">: </span><spanclass="description">return a typed array view having the same data type as a provided input typed array and starting at a specified index offset.</span>
73
73
- <spanclass="signature">[`quaternary( arrays, shape, strides, fcn )`][@stdlib/strided/base/quaternary]</span><spanclass="delimiter">: </span><spanclass="description">apply a quaternary callback to strided input array elements and assign results to elements in a strided output array.</span>
74
74
- <spanclass="signature">[`quinary( arrays, shape, strides, fcn )`][@stdlib/strided/base/quinary]</span><spanclass="delimiter">: </span><spanclass="description">apply a quinary callback to strided input array elements and assign results to elements in a strided output array.</span>
75
+
- <spanclass="signature">[`reinterpretBoolean( x, offset )`][@stdlib/strided/base/reinterpret-boolean]</span><spanclass="delimiter">: </span><spanclass="description">reinterpret a `BooleanArray` as a `Uint8Array`.</span>
75
76
- <spanclass="signature">[`reinterpretComplex( x, offset )`][@stdlib/strided/base/reinterpret-complex]</span><spanclass="delimiter">: </span><spanclass="description">reinterpret a complex-valued floating-point array as a real-valued floating-point array having the same precision.</span>
76
77
- <spanclass="signature">[`reinterpretComplex128( x, offset )`][@stdlib/strided/base/reinterpret-complex128]</span><spanclass="delimiter">: </span><spanclass="description">reinterpret a `Complex128Array` as a `Float64Array`.</span>
77
78
- <spanclass="signature">[`reinterpretComplex64( x, offset )`][@stdlib/strided/base/reinterpret-complex64]</span><spanclass="delimiter">: </span><spanclass="description">reinterpret a `Complex64Array` as a `Float32Array`.</span>
78
79
- <spanclass="signature">[`smap( N, x, strideX, y, strideY, fcn )`][@stdlib/strided/base/smap]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary function to a single-precision floating-point strided input array and assign results to a single-precision floating-point strided output array.</span>
79
80
- <spanclass="signature">[`smap2( N, x, strideX, y, strideY, z, strideZ, fcn )`][@stdlib/strided/base/smap2]</span><spanclass="delimiter">: </span><spanclass="description">apply a binary function to single-precision floating-point strided input arrays and assign results to a single-precision floating-point strided output array.</span>
80
81
- <spanclass="signature">[`smskmap( N, x, strideX, mask, strideMask, y, strideY, fcn )`][@stdlib/strided/base/smskmap]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary function to a single-precision floating-point strided input array according to a strided mask array and assign results to a single-precision floating-point strided output array.</span>
81
82
- <spanclass="signature">[`smskmap2( N, x, strideX, y, strideY, mask, strideMask, z, strideZ, fcn )`][@stdlib/strided/base/smskmap2]</span><spanclass="delimiter">: </span><spanclass="description">apply a binary function to single-precision floating-point strided input arrays according to a strided mask array and assign results to a single-precision floating-point strided output array.</span>
83
+
- <spanclass="signature">[`stride2offset( N, stride )`][@stdlib/strided/base/stride2offset]</span><spanclass="delimiter">: </span><spanclass="description">determine the index offset which specifies the location of the first indexed value in a strided array.</span>
82
84
- <spanclass="signature">[`ternary( arrays, shape, strides, fcn )`][@stdlib/strided/base/ternary]</span><spanclass="delimiter">: </span><spanclass="description">apply a ternary callback to strided input array elements and assign results to elements in a strided output array.</span>
83
85
- <spanclass="signature">[`unaryAddonDispatch( addon, fallback )`][@stdlib/strided/base/unary-addon-dispatch]</span><spanclass="delimiter">: </span><spanclass="description">dispatch to a native add-on applying a unary function to an input strided array.</span>
84
86
- <spanclass="signature">[`unaryBy( arrays, shape, strides, fcn, clbk[, thisArg] )`][@stdlib/strided/base/unary-by]</span><spanclass="delimiter">: </span><spanclass="description">apply a unary function to each element retrieved from a strided input array according to a callback function and assign results to a strided output array.</span>
0 commit comments