From 12d4976196d26d3bc7435a4797461e996c93fe1d Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 13 Jul 2024 23:40:22 +0000 Subject: [PATCH] Auto-generated commit --- CHANGELOG.md | 24 ++++++++++++++++++++++++ base/docs/types/index.d.ts | 4 ++-- docs/types/index.d.ts | 3 ++- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2169ed7..d8127635 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ ##### Features +- [`de17de3`](https://github.com/stdlib-js/stdlib/commit/de17de32867461079aae166d5cecbecb1da7f922) - update namespace TypeScript declarations [(#2593)](https://github.com/stdlib-js/stdlib/pull/2593) - [`b8bd516`](https://github.com/stdlib-js/stdlib/commit/b8bd51687cabdda74299cb37b9a5527fddd35aaa) - update namespace TypeScript declarations [(##2351)](#2351) - [`0adcae5`](https://github.com/stdlib-js/stdlib/commit/0adcae51386086e2ef5fb5d78402389cff776deb) - update namespace TypeScript declarations [(#1340)](https://github.com/stdlib-js/stdlib/pull/1340) - [`8f43afc`](https://github.com/stdlib-js/stdlib/commit/8f43afc5d9637ba35f60d35046041e5f0579f92c) - rename exported aliases @@ -55,6 +56,28 @@ +
+ +#### [@stdlib/ndarray/base](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base) + +
+ +
+ +##### Features + +- [`de17de3`](https://github.com/stdlib-js/stdlib/commit/de17de32867461079aae166d5cecbecb1da7f922) - update namespace TypeScript declarations [(#2593)](https://github.com/stdlib-js/stdlib/pull/2593) + +
+ + + +
+ +
+ + +
#### [@stdlib/ndarray/base/assert/is-boolean-](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/assert/is-boolean-) @@ -704,6 +727,7 @@ A total of 3 people contributed to this release. Thank you to the following cont
+- [`de17de3`](https://github.com/stdlib-js/stdlib/commit/de17de32867461079aae166d5cecbecb1da7f922) - **feat:** update namespace TypeScript declarations [(#2593)](https://github.com/stdlib-js/stdlib/pull/2593) _(by stdlib-bot, Athan Reines)_ - [`71cf5a0`](https://github.com/stdlib-js/stdlib/commit/71cf5a05a13d12aed627d332147642adc4694ab9) - **feat:** add boolean dtype support to `ndarray/empty*` and `ndarray/base/empty*` packages [(#2588)](https://github.com/stdlib-js/stdlib/pull/2588) _(by Jaysukh Makvana, Athan Reines)_ - [`f766a56`](https://github.com/stdlib-js/stdlib/commit/f766a563e112098dc229991c0eedb5f5b7417811) - **feat:** add boolean dtype support to `ndarray/from-scalar` [(#2589)](https://github.com/stdlib-js/stdlib/pull/2589) _(by Jaysukh Makvana, Athan Reines)_ - [`a360f04`](https://github.com/stdlib-js/stdlib/commit/a360f048dde8429a3ffcc60d36abe9ad33038c73) - **feat:** add boolean dtype support to `ndarray/base/unary` [(#2587)](https://github.com/stdlib-js/stdlib/pull/2587) _(by Jaysukh Makvana)_ diff --git a/base/docs/types/index.d.ts b/base/docs/types/index.d.ts index e3bedacc..d729514c 100644 --- a/base/docs/types/index.d.ts +++ b/base/docs/types/index.d.ts @@ -2909,14 +2909,14 @@ interface Namespace { * @returns zero-filled array * * @example - * var arr = ns.zeros( 'float32', [ 2, 2 ], 'row-major' ); + * var arr = ns.zeros( 'float64', [ 2, 2 ], 'row-major' ); * // returns * * var sh = arr.shape; * // returns [ 2, 2 ] * * var dt = arr.dtype; - * // returns 'float32' + * // returns 'float64' */ zeros: typeof zeros; diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index 124a7199..91781417 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -598,7 +598,8 @@ interface Namespace { * * - If a `dtype` option is not provided and `value` * - * - is a `number`, the default data type is the default real-valued floating-point data type. + * - is a number, the default data type is the default real-valued floating-point data type. + * - is a boolean, the default data type is the default boolean data type. * - is a complex number object of a known complex data type, the data type is the same as the provided value. * - is a complex number object of an unknown complex data type, the default data type is the default complex-valued floating-point data type. * - is any other value type, the default data type is `'generic'`.