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/blas/base/ndarray/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
@@ -45,6 +45,7 @@ The namespace exposes the following APIs:
45
45
46
46
<divclass="namespace-toc">
47
47
48
+
- <spanclass="signature">[`caxpy( arrays )`][@stdlib/blas/base/ndarray/caxpy]</span><spanclass="delimiter">: </span><spanclass="description">multiply a one-dimensional single-precision complex floating-point ndarray `x` by a constant `alpha` and add the result to a one-dimensional single-precision complex floating-point ndarray `y`.</span>
48
49
- <spanclass="signature">[`dasum( arrays )`][@stdlib/blas/base/ndarray/dasum]</span><spanclass="delimiter">: </span><spanclass="description">calculate the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.</span>
49
50
- <spanclass="signature">[`daxpy( arrays )`][@stdlib/blas/base/ndarray/daxpy]</span><spanclass="delimiter">: </span><spanclass="description">multiply a one-dimensional double-precision floating-point ndarray `x` by a constant `alpha` and add the result to a one-dimensional double-precision floating-point ndarray `y`.</span>
50
51
- <spanclass="signature">[`ddot( arrays )`][@stdlib/blas/base/ndarray/ddot]</span><spanclass="delimiter">: </span><spanclass="description">calculate the dot product of two one-dimensional double-precision floating-point ndarrays.</span>
@@ -54,6 +55,7 @@ The namespace exposes the following APIs:
54
55
- <spanclass="signature">[`sasum( arrays )`][@stdlib/blas/base/ndarray/sasum]</span><spanclass="delimiter">: </span><spanclass="description">calculate the sum of absolute values for all elements in a one-dimensional single-precision floating-point ndarray.</span>
55
56
- <spanclass="signature">[`saxpy( arrays )`][@stdlib/blas/base/ndarray/saxpy]</span><spanclass="delimiter">: </span><spanclass="description">multiply a one-dimensional single-precision floating-point ndarray `x` by a constant `alpha` and add the result to a one-dimensional single-precision floating-point ndarray `y`.</span>
56
57
- <spanclass="signature">[`sdot( arrays )`][@stdlib/blas/base/ndarray/sdot]</span><spanclass="delimiter">: </span><spanclass="description">calculate the dot product of two one-dimensional single-precision floating-point ndarrays.</span>
58
+
- <spanclass="signature">[`zaxpy( arrays )`][@stdlib/blas/base/ndarray/zaxpy]</span><spanclass="delimiter">: </span><spanclass="description">multiply a one-dimensional double-precision complex floating-point ndarray `x` by a constant `alpha` and add the result to a one-dimensional double-precision complex floating-point ndarray `y`.</span>
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/ndarray/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
@@ -78,6 +78,7 @@ In addition, the namespace contains the following multidimensional array utility
78
78
- <spanclass="signature">[`broadcastArrays( ...arrays )`][@stdlib/ndarray/broadcast-arrays]</span><spanclass="delimiter">: </span><spanclass="description">broadcast ndarrays to a common shape.</span>
79
79
- <spanclass="signature">[`broadcastScalar( value, shape[, options] )`][@stdlib/ndarray/broadcast-scalar]</span><spanclass="delimiter">: </span><spanclass="description">broadcast a scalar value to an ndarray of a specified shape.</span>
80
80
- <spanclass="signature">[`castingModes()`][@stdlib/ndarray/casting-modes]</span><spanclass="delimiter">: </span><spanclass="description">list of ndarray casting modes.</span>
81
+
- <spanclass="signature">[`colcat( arrays )`][@stdlib/ndarray/colcat]</span><spanclass="delimiter">: </span><spanclass="description">concatenate a list of one-dimensional or two-dimensional ndarrays as columns.</span>
81
82
- <spanclass="signature">[`concat( arrays[, options] )`][@stdlib/ndarray/concat]</span><spanclass="delimiter">: </span><spanclass="description">concatenate a list of ndarrays along a specified ndarray dimension.</span>
82
83
- <spanclass="signature">[`concat1d( ...arrays )`][@stdlib/ndarray/concat1d]</span><spanclass="delimiter">: </span><spanclass="description">return a one-dimensional ndarray formed by concatenating provided input arguments.</span>
83
84
- <spanclass="signature">[`copy( x[, options] )`][@stdlib/ndarray/copy]</span><spanclass="delimiter">: </span><spanclass="description">copy an input ndarray to a new ndarray having the same shape and data type.</span>
@@ -141,6 +142,7 @@ In addition, the namespace contains the following multidimensional array utility
141
142
- <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>
142
143
- <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>
143
144
- <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>
145
+
- <spanclass="signature">[`rowcat( arrays )`][@stdlib/ndarray/rowcat]</span><spanclass="delimiter">: </span><spanclass="description">concatenate a list of one-dimensional or two-dimensional ndarrays as rows.</span>
144
146
- <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>
145
147
- <spanclass="signature">[`sameKindCasts( [dtype] )`][@stdlib/ndarray/same-kind-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 or cast within the same "kind".</span>
146
148
- <spanclass="signature">[`shape( x )`][@stdlib/ndarray/shape]</span><spanclass="delimiter">: </span><spanclass="description">return the shape of a provided ndarray.</span>
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/ndarray/base/README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,9 @@ var o = ns;
47
47
- <spanclass="signature">[`any( arrays )`][@stdlib/ndarray/base/any]</span><spanclass="delimiter">: </span><spanclass="description">test whether at least one element in an ndarray is truthy.</span>
48
48
- <spanclass="signature">[`assignScalar( arrays )`][@stdlib/ndarray/base/assign-scalar]</span><spanclass="delimiter">: </span><spanclass="description">assign a scalar value to every element of an output ndarray.</span>
49
49
- <spanclass="signature">[`assign( arrays )`][@stdlib/ndarray/base/assign]</span><spanclass="delimiter">: </span><spanclass="description">assign elements in an input ndarray to elements in an output ndarray.</span>
50
+
- <spanclass="signature">[`atleast1d( arrays )`][@stdlib/ndarray/base/atleast1d]</span><spanclass="delimiter">: </span><spanclass="description">convert a list of values (scalars and/or ndarrays) to ndarrays having at least one dimension.</span>
51
+
- <spanclass="signature">[`atleast2d( arrays )`][@stdlib/ndarray/base/atleast2d]</span><spanclass="delimiter">: </span><spanclass="description">convert a list of values (scalars and/or ndarrays) to ndarrays having at least two dimensions.</span>
52
+
- <spanclass="signature">[`atleast3d( arrays )`][@stdlib/ndarray/base/atleast3d]</span><spanclass="delimiter">: </span><spanclass="description">convert a list of values (scalars and/or ndarrays) to ndarrays having at least three dimensions.</span>
50
53
- <spanclass="signature">[`atleastnd( ndims, arrays )`][@stdlib/ndarray/base/atleastnd]</span><spanclass="delimiter">: </span><spanclass="description">convert a list of values (scalars and/or ndarrays) to ndarrays having at least a specified number of dimensions.</span>
51
54
- <spanclass="signature">[`binaryInputCastingDataType( idtype1, idtype2, odtype, policy )`][@stdlib/ndarray/base/binary-input-casting-dtype]</span><spanclass="delimiter">: </span><spanclass="description">resolve the casting data type for an input ndarray provided to a binary function.</span>
52
55
- <spanclass="signature">[`binaryLoopOrder( shape, stridesX, stridesY, stridesZ )`][@stdlib/ndarray/base/binary-loop-interchange-order]</span><spanclass="delimiter">: </span><spanclass="description">reorder ndarray dimensions and associated strides for loop interchange.</span>
@@ -98,6 +101,7 @@ var o = ns;
98
101
- <spanclass="signature">[`everyBy( arrays, predicate[, thisArg] )`][@stdlib/ndarray/base/every-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether all elements in an ndarray pass a test implemented by a predicate function.</span>
99
102
- <spanclass="signature">[`every( arrays )`][@stdlib/ndarray/base/every]</span><spanclass="delimiter">: </span><spanclass="description">test whether every element in an ndarray is truthy.</span>
100
103
- <spanclass="signature">[`expandDimensions( x, dim, writable )`][@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 dimension index.</span>
104
+
- <spanclass="signature">[`falses( dtype, shape, order )`][@stdlib/ndarray/base/falses]</span><spanclass="delimiter">: </span><spanclass="description">create an ndarray filled with `false` values and having a specified shape and data type.</span>
101
105
- <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>
102
106
- <spanclass="signature">[`fill( x, value )`][@stdlib/ndarray/base/fill]</span><spanclass="delimiter">: </span><spanclass="description">fill an input ndarray with a specified value.</span>
103
107
- <spanclass="signature">[`find( arrays, predicate[, thisArg] )`][@stdlib/ndarray/base/find]</span><spanclass="delimiter">: </span><spanclass="description">return the first element in an ndarray which passes a test implemented by a predicate function.</span>
@@ -190,6 +194,7 @@ var o = ns;
190
194
- <spanclass="signature">[`ternaryOutputDataType( xdtype, ydtype, zdtype, policy )`][@stdlib/ndarray/base/ternary-output-dtype]</span><spanclass="delimiter">: </span><spanclass="description">resolve the output ndarray data type for a ternary function.</span>
191
195
- <spanclass="signature">[`ternaryBlockSize( dtypeX, dtypeY, dtypeZ, dtypeW )`][@stdlib/ndarray/base/ternary-tiling-block-size]</span><spanclass="delimiter">: </span><spanclass="description">resolve a loop block size for multi-dimensional array tiled loops.</span>
192
196
- <spanclass="signature">[`ternary( arrays, fcn )`][@stdlib/ndarray/base/ternary]</span><spanclass="delimiter">: </span><spanclass="description">apply a ternary callback to elements in input ndarrays and assign results to elements in an output ndarray.</span>
197
+
- <spanclass="signature">[`tile( x, reps )`][@stdlib/ndarray/base/tile]</span><spanclass="delimiter">: </span><spanclass="description">return an ndarray created by repeating the elements of an input ndarray a specified number of times along each dimension.</span>
193
198
- <spanclass="signature">[`blockSize( dtypes )`][@stdlib/ndarray/base/tiling-block-size]</span><spanclass="delimiter">: </span><spanclass="description">resolve a loop block size for multi-dimensional array tiled loops.</span>
194
199
- <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>
195
200
- <spanclass="signature">[`toFlippedlr( x )`][@stdlib/ndarray/base/to-flippedlr]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray where the order of elements along the last dimension of an input ndarray is reversed.</span>
@@ -201,6 +206,7 @@ var o = ns;
201
206
- <spanclass="signature">[`toUnflattened( x, dim, sizes )`][@stdlib/ndarray/base/to-unflattened]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray in which a specified dimension of an input ndarray is expanded over multiple dimensions.</span>
202
207
- <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>
203
208
- <spanclass="signature">[`transpose( x, writable )`][@stdlib/ndarray/base/transpose]</span><spanclass="delimiter">: </span><spanclass="description">transpose a matrix (or a stack of matrices).</span>
209
+
- <spanclass="signature">[`trues( dtype, shape, order )`][@stdlib/ndarray/base/trues]</span><spanclass="delimiter">: </span><spanclass="description">create an ndarray filled with `true` values and having a specified shape and data type.</span>
204
210
- <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>
205
211
- <spanclass="signature">[`unaryAddonDispatch( addon, fallback )`][@stdlib/ndarray/base/unary-addon-dispatch]</span><spanclass="delimiter">: </span><spanclass="description">dispatch to a native add-on applying a unary function to an input ndarray.</span>
206
212
- <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>
0 commit comments