Skip to content

Commit 1ab408f

Browse files
committed
Auto-generated commit
1 parent 026a572 commit 1ab408f

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-09-09)
7+
## Unreleased (2025-09-13)
88

99
<section class="features">
1010

@@ -41,6 +41,7 @@
4141

4242
<details>
4343

44+
- [`bea5b86`](https://github.com/stdlib-js/stdlib/commit/bea5b867c7905e4fb8f1648e8fe8acc436f55e14) - **docs:** update REPL namespace documentation [(#8064)](https://github.com/stdlib-js/stdlib/pull/8064) _(by stdlib-bot)_
4445
- [`187b71d`](https://github.com/stdlib-js/stdlib/commit/187b71d88b6b7f55cb1b44d32a6c6077e14caee1) - **docs:** update REPL namespace documentation [(#8044)](https://github.com/stdlib-js/stdlib/pull/8044) _(by stdlib-bot)_
4546
- [`fe269e2`](https://github.com/stdlib-js/stdlib/commit/fe269e2a7c2ae9bff3868d4c8a7fce1cb64e2a88) - **docs:** update REPL namespace documentation [(#8040)](https://github.com/stdlib-js/stdlib/pull/8040) _(by stdlib-bot)_
4647
- [`ca26c53`](https://github.com/stdlib-js/stdlib/commit/ca26c53f8ecdd292c1addd920a11210dc5af7d9d) - **docs:** update REPL namespace documentation [(#7891)](https://github.com/stdlib-js/stdlib/pull/7891) _(by stdlib-bot)_

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ Saurabh Singh <saurabhsraghuvanshi@gmail.com>
181181
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
182182
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
183183
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
184+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
184185
Shivam Ahir <11shivam00@gmail.com>
185186
Shivansh <114570926+shiv343@users.noreply.github.com>
186187
Shraddheya Shendre <shendreshraddheya@gmail.com>

data/data.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
abs,"\nabs( x[, options] )\n Computes the absolute value.\n\n If provided a number, the function returns a number.\n\n If provided an ndarray or array-like object, the function performs element-\n wise computation.\n\n If provided an array-like object, the function returns an array-like object\n having the same length and data type as `x`.\n\n If provided an ndarray, the function returns an ndarray having the same\n shape and data type as `x`.\n\n Parameters\n ----------\n x: ndarray|ArrayLikeObject|number\n Input value.\n\n options: Object (optional)\n Options.\n\n options.order: string (optional)\n Output array order (either row-major (C-style) or column-major (Fortran-\n style)). Only applicable when the input array is an ndarray. By default,\n the output array order is inferred from the input array.\n\n options.dtype: string (optional)\n Output array data type. Only applicable when the input array is either\n an ndarray or array-like object. By default, the output array data type\n is inferred from the input array.\n\n Returns\n -------\n y: ndarray|ArrayLikeObject|number\n Results.\n\n Examples\n --------\n // Provide a number:\n > var y = abs( -1.0 )\n 1.0\n\n // Provide an array-like object:\n > var x = new Float64Array( [ -1.0, -2.0 ] );\n > y = abs( x )\n <Float64Array>[ 1.0, 2.0 ]\n\n > x = [ -1.0, -2.0 ];\n > y = abs( x )\n [ 1.0, 2.0 ]\n\n // Provide an ndarray:\n > x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );\n > y = abs( x )\n <ndarray>\n > y.get( 0, 1 )\n 2.0\n\n\nabs.assign( x, y )\n Computes the absolute value and assigns results to a provided output array.\n\n Parameters\n ----------\n x: ndarray|ArrayLikeObject\n Input array.\n\n y: ndarray|ArrayLikeObject\n Output array. Must be the same data \"kind\" (i.e., ndarray or array-like\n object) as the input array.\n\n Returns\n -------\n y: ndarray|ArrayLikeObject\n Output array.\n\n Examples\n --------\n // Provide an array-like object:\n > var x = new Float64Array( [ -1.0, -2.0 ] );\n > var y = new Float64Array( x.length );\n > var out = abs.assign( x, y )\n <Float64Array>[ 1.0, 2.0 ]\n > var bool = ( out === y )\n true\n\n > x = [ -1.0, -2.0 ];\n > y = [ 0.0, 0.0 ];\n > out = abs.assign( x, y )\n [ 1.0, 2.0 ]\n > bool = ( out === y )\n true\n\n // Provide an ndarray:\n > x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );\n > y = array( [ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ] );\n > out = abs.assign( x, y )\n <ndarray>\n > out.get( 0, 1 )\n 2.0\n > bool = ( out === y )\n true\n\n"
2-
abs.assign,"\nabs.assign( x, y )\n Computes the absolute value and assigns results to a provided output array.\n\n Parameters\n ----------\n x: ndarray|ArrayLikeObject\n Input array.\n\n y: ndarray|ArrayLikeObject\n Output array. Must be the same data \"kind\" (i.e., ndarray or array-like\n object) as the input array.\n\n Returns\n -------\n y: ndarray|ArrayLikeObject\n Output array.\n\n Examples\n --------\n // Provide an array-like object:\n > var x = new Float64Array( [ -1.0, -2.0 ] );\n > var y = new Float64Array( x.length );\n > var out = abs.assign( x, y )\n <Float64Array>[ 1.0, 2.0 ]\n > var bool = ( out === y )\n true\n\n > x = [ -1.0, -2.0 ];\n > y = [ 0.0, 0.0 ];\n > out = abs.assign( x, y )\n [ 1.0, 2.0 ]\n > bool = ( out === y )\n true\n\n // Provide an ndarray:\n > x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );\n > y = array( [ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ] );\n > out = abs.assign( x, y )\n <ndarray>\n > out.get( 0, 1 )\n 2.0\n > bool = ( out === y )\n true"
1+
abs,"\nabs( x[, options] )\n Computes the absolute value for each element in an ndarray.\n\n The function returns an ndarray having the same shape as the input ndarray.\n\n Parameters\n ----------\n x: ndarray\n Input array. Must have a numeric or \"generic\" data type.\n\n options: Object (optional)\n Options.\n\n options.dtype: string (optional)\n Output array data type. Must be a real-valued or \"generic\" data type.\n\n options.order: string (optional)\n Output array order. Must be either row-major (C-style) or column-major\n (Fortran-style). By default, the order of the output array is the same\n as the input array.\n\n Returns\n -------\n y: ndarray\n Output array containing element-wise results.\n\n Examples\n --------\n > var arr = [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ];\n > var x = array( arr );\n > var y = abs( x );\n > ndarray2array( y )\n [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ]\n\n\nabs.assign( x, y )\n Computes the absolute value for each element in an ndarray and assigns\n results to a provided output ndarray.\n\n Parameters\n ----------\n x: ndarray\n Input array. Must have a numeric or \"generic\" data type.\n\n y: ndarray\n Output array.\n\n Returns\n -------\n y: ndarray\n Output array.\n\n Examples\n --------\n > var arr = [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ];\n > var x = array( arr );\n > var sh = ndarrayShape( x );\n > var y = ndzeros( sh );\n > var out = abs.assign( x, y );\n > var bool = ( out === y )\n true\n > ndarray2array( y )\n [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ]\n\n"
2+
abs.assign,"\nabs.assign( x, y )\n Computes the absolute value for each element in an ndarray and assigns\n results to a provided output ndarray.\n\n Parameters\n ----------\n x: ndarray\n Input array. Must have a numeric or \"generic\" data type.\n\n y: ndarray\n Output array.\n\n Returns\n -------\n y: ndarray\n Output array.\n\n Examples\n --------\n > var arr = [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ];\n > var x = array( arr );\n > var sh = ndarrayShape( x );\n > var y = ndzeros( sh );\n > var out = abs.assign( x, y );\n > var bool = ( out === y )\n true\n > ndarray2array( y )\n [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ]"
33
acartesianPower,"\nacartesianPower( x, n )\n Returns the Cartesian power.\n\n If provided an empty array, the function returns an empty array.\n\n If `n` is less than or equal to zero, the function returns an empty array.\n\n Parameters\n ----------\n x: ArrayLikeObject\n Input array.\n\n n: integer\n Power.\n\n Returns\n -------\n out: Array<Array>\n Cartesian product.\n\n Examples\n --------\n > var x = [ 1, 2 ];\n > var out = acartesianPower( x, 2 )\n [ [ 1, 1 ], [ 1, 2 ], [ 2, 1 ], [ 2, 2 ] ]\n\n See Also\n --------\n acartesianProduct, acartesianSquare\n"
44
acartesianProduct,"\nacartesianProduct( x1, x2 )\n Returns the Cartesian product.\n\n If provided one or more empty arrays, the function returns an empty array.\n\n Parameters\n ----------\n x1: ArrayLikeObject\n First input array.\n\n x2: ArrayLikeObject\n Second input array.\n\n Returns\n -------\n out: Array<Array>\n Cartesian product.\n\n Examples\n --------\n > var x1 = [ 1, 2 ];\n > var x2 = [ 3, 4 ];\n > var out = acartesianProduct( x1, x2 )\n [ [ 1, 3 ], [ 1, 4 ], [ 2, 3 ], [ 2, 4 ] ]\n\n See Also\n --------\n acartesianPower, acartesianSquare\n"
55
acartesianSquare,"\nacartesianSquare( x )\n Returns the Cartesian square.\n\n If provided an empty array, the function returns an empty array.\n\n Parameters\n ----------\n x: ArrayLikeObject\n Input array.\n\n Returns\n -------\n out: Array<Array>\n Cartesian product.\n\n Examples\n --------\n > var out = acartesianSquare( [ 1, 2 ] )\n [ [ 1, 1 ], [ 1, 2 ], [ 2, 1 ], [ 2, 2 ] ]\n\n See Also\n --------\n acartesianPower, acartesianProduct\n"

data/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)