Skip to content

Commit 8976788

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents 9135c03 + cc0ab62 commit 8976788

695 files changed

Lines changed: 7802 additions & 4630 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/migration-guides/numpy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ limitations under the License.
4848
| Filter an array according to a predicate function | `x[np.vectorize(predicate)(x)]` | [`filter(x, predicate)`][@stdlib/ndarray/filter] |
4949
| Find the index of the first element which equals a specified value | `np.argmax(x == v, axis=dim)` | [`indexOf(x, v, {dim: dim})`][@stdlib/blas/ext/index-of] |
5050
| Find the index of the last element which equals a specified value | `x.shape[dim]-1-np.argmax(np.flip(x, axis=dim) == v, axis=dim)` | [`lastIndexOf(x, v, {dim: dim})`][@stdlib/blas/ext/last-index-of] |
51-
| Flatten an array to a desired depth | `np.reshape(x, newshape)`] | [`flatten(x, {depth: depth})`][@stdlib/ndarray/flatten] |
51+
| Flatten an array to a desired depth | `np.reshape(x, newshape)` | [`flatten(x, {depth: depth})`][@stdlib/ndarray/flatten] |
5252
| Flatten an array starting from a specific dimension | `np.reshape(x, x.shape[:dim] + (-1,))` | [`flattenFrom(x, dim)`][@stdlib/ndarray/flatten-from] |
5353
| Prepend a specified number of singleton dimensions | `np.reshape(x, (1,)*n + x.shape)` | [`prependSingletonDimensions(x, n)`][@stdlib/ndarray/prepend-singleton-dimensions] |
5454
| Prepend a zero-filled array of the same shape along a specified dimension | `np.concat((np.zeros_like(x), x), axis=dim)` | [`concat([zerosLike(x), x], {dim: dim})`][@stdlib/ndarray/concat] |

lib/node_modules/@stdlib/blas/base/ndarray/caxpy/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ var bool = ( z === y );
6060

6161
The function has the following parameters:
6262

63-
- **arrays**: array-like object containing the following ndarrays in order:
63+
- **arrays**: array-like object containing the following ndarrays:
6464

65-
- input ndarray
66-
- output ndarray
67-
- zero-dimensional ndarray containing a scalar constant
65+
- a one-dimensional input ndarray.
66+
- a one-dimensional output ndarray.
67+
- a zero-dimensional ndarray containing a scalar constant.
6868

6969
</section>
7070

lib/node_modules/@stdlib/blas/base/ndarray/caxpy/docs/repl.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
Parameters
1111
----------
1212
arrays: ArrayLikeObject<ndarray>
13-
Array-like object containing an input ndarray, an output ndarray, and
14-
a zero-dimensional ndarray containing a scalar constant `alpha`.
13+
Array-like object containing the following ndarrays:
14+
15+
- a one-dimensional input ndarray.
16+
- a one-dimensional output ndarray.
17+
- a zero-dimensional ndarray containing a scalar constant `alpha`.
1518

1619
Returns
1720
-------

lib/node_modules/@stdlib/blas/base/ndarray/caxpy/docs/types/index.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,15 @@ import { complex64ndarray } from '@stdlib/types/ndarray';
2525
/**
2626
* Multiplies a one-dimensional single-precision complex floating-point ndarray `x` by a constant `alpha` and adds the result to a one-dimensional single-precision complex floating-point ndarray `y`.
2727
*
28-
* @param arrays - array-like object containing an input ndarray, an output ndarray, and a zero-dimensional ndarray containing a scalar constant
28+
* ## Notes
29+
*
30+
* - The function expects the following ndarrays:
31+
*
32+
* - a one-dimensional input ndarray.
33+
* - a one-dimensional output ndarray.
34+
* - a zero-dimensional ndarray containing a scalar constant.
35+
*
36+
* @param arrays - array-like object containing ndarrays
2937
* @returns output ndarray
3038
*
3139
* @example

lib/node_modules/@stdlib/blas/base/ndarray/caxpy/lib/main.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ var strided = require( '@stdlib/blas/base/caxpy' ).ndarray;
3333
/**
3434
* Multiplies a one-dimensional single-precision complex floating-point ndarray `x` by a constant `alpha` and adds the result to a one-dimensional single-precision complex floating-point ndarray `y`.
3535
*
36-
* @param {ArrayLikeObject<Object>} arrays - array-like object containing an input ndarray, an output ndarray, and a zero-dimensional ndarray containing a scalar constant
36+
* ## Notes
37+
*
38+
* - The function expects the following ndarrays:
39+
*
40+
* - a one-dimensional input ndarray.
41+
* - a one-dimensional output ndarray.
42+
* - a zero-dimensional ndarray containing a scalar constant.
43+
*
44+
* @param {ArrayLikeObject<Object>} arrays - array-like object containing ndarrays
3745
* @returns {Object} output ndarray
3846
*
3947
* @example

lib/node_modules/@stdlib/blas/base/ndarray/ccopy/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ var bool = ( z === y );
5555

5656
The function has the following parameters:
5757

58-
- **arrays**: array-like object containing the following ndarrays in order:
58+
- **arrays**: array-like object containing the following ndarrays:
5959

60-
- input ndarray
61-
- output ndarray
60+
- a one-dimensional input ndarray.
61+
- a one-dimensional output ndarray.
6262

6363
</section>
6464

lib/node_modules/@stdlib/blas/base/ndarray/ccopy/docs/repl.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
Parameters
1111
----------
1212
arrays: ArrayLikeObject<ndarray>
13-
Array-like object containing an input ndarray and an output ndarray.
13+
Array-like object containing the following ndarrays:
14+
15+
- a one-dimensional input ndarray.
16+
- a one-dimensional output ndarray.
1417

1518
Returns
1619
-------

lib/node_modules/@stdlib/blas/base/ndarray/ccopy/docs/types/index.d.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ import { complex64ndarray } from '@stdlib/types/ndarray';
2525
/**
2626
* Copies values from a one-dimensional single-precision complex floating-point ndarray `x` into a one-dimensional single-precision complex floating-point ndarray `y`.
2727
*
28-
* @param arrays - array-like object containing an input ndarray and an output ndarray
28+
* ## Notes
29+
*
30+
* - The function expects the following ndarrays:
31+
*
32+
* - a one-dimensional input ndarray.
33+
* - a one-dimensional output ndarray.
34+
*
35+
* @param arrays - array-like object containing ndarrays
2936
* @returns output ndarray
3037
*
3138
* @example

lib/node_modules/@stdlib/blas/base/ndarray/ccopy/lib/main.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ var strided = require( '@stdlib/blas/base/ccopy' ).ndarray;
3232
/**
3333
* Copies values from a one-dimensional single-precision complex floating-point ndarray `x` into a one-dimensional single-precision complex floating-point ndarray `y`.
3434
*
35-
* @param {ArrayLikeObject<Object>} arrays - array-like object containing an input ndarray and an output ndarray
35+
* ## Notes
36+
*
37+
* - The function expects the following ndarrays:
38+
*
39+
* - a one-dimensional input ndarray.
40+
* - a one-dimensional output ndarray.
41+
*
42+
* @param {ArrayLikeObject<Object>} arrays - array-like object containing ndarrays
3643
* @returns {Object} output ndarray
3744
*
3845
* @example

lib/node_modules/@stdlib/blas/base/ndarray/dasum/docs/types/index.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ import { float64ndarray } from '@stdlib/types/ndarray';
2525
/**
2626
* Computes the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
2727
*
28-
* @param arrays - array-like object containing a one-dimensional input ndarray
28+
* ## Notes
29+
*
30+
* - The function expects the following ndarrays:
31+
*
32+
* - a one-dimensional input ndarray.
33+
*
34+
* @param arrays - array-like object containing ndarrays
2935
* @returns sum
3036
*
3137
* @example

0 commit comments

Comments
 (0)