8000 Auto-generated commit · stdlib-js/ndarray-base-assert@405aa21 · GitHub
[go: up one dir, main page]

Skip to content

Commit 405aa21

Browse files
committed
Auto-generated commit
1 parent 0c3c1ee commit 405aa21

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

CHANGELOG.md

Lines changed: 11 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-02-25)
7+
## Unreleased (2025-02-27)
88

99
<section class="packages">
1010

@@ -20,6 +20,7 @@
2020

2121
##### Features
2222

23+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1) - update namespace TypeScript declarations [(#5436)](https://github.com/stdlib-js/stdlib/pull/5436)
2324
- [`c1b6794`](https://github.com/stdlib-js/stdlib/commit/c1b6794e36255d7df6795f5f5f4d3e493165f397) - add `isOutputDataTypePolicy` to namespace
2425
- [`e661213`](https://github.com/stdlib-js/stdlib/commit/e66121352ef767cdb87d19e938b1eccf7970fa3a) - update namespace TypeScript declarations [(#4706)](https://github.com/stdlib-js/stdlib/pull/4706)
2526
- [`a94dcea`](https://github.com/stdlib-js/stdlib/commit/a94dceaa9469c774ee4622567e4c15a15e215bcf) - add `isColumnMajorString` to namespace
@@ -36,6 +37,10 @@
3637

3738
##### BREAKING CHANGES
3839

40+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1): remove `mulf` symbol
41+
42+
- To migrate, users should access the same symbol via the `number/float32/base` namespace.
43+
3944
- [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec): update namespace declarations
4045

4146
- To migrate, users should consult the corresponding packages containing the respective implementations to determine what is breaking. The primary breakages come from the `blas/*` namespace, where we recently refactored how top-level BLAS APIs operate on input arguments.
@@ -146,6 +151,10 @@
146151

147152
### BREAKING CHANGES
148153

154+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1): remove `mulf` symbol
155+
156+
- To migrate, users should access the same symbol via the `number/float32/base` namespace.
157+
149158
- [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec): update namespace declarations
150159

151160
- To migrate, users should consult the corresponding packages containing the respective implementations to determine what is breaking. The primary breakages come from the `blas/*` namespace, where we recently refactored how top-level BLAS APIs operate on input arguments.
@@ -173,6 +182,7 @@ A total of 2 people contributed to this release. Thank you to the following cont
173182

174183
<details>
175184

185+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1) - **feat:** update namespace TypeScript declarations [(#5436)](https://github.com/stdlib-js/stdlib/pull/5436) _(by stdlib-bot)_
176186
- [`9d532b5`](https://github.com/stdlib-js/stdlib/commit/9d532b5510055d80c5df8ba4c8e897c1670dcd1a) - **docs:** update namespace table of contents [(#5438)](https://github.com/stdlib-js/stdlib/pull/5438) _(by stdlib-bot, Philipp Burckhardt)_
177187
- [`c1b6794`](https://github.com/stdlib-js/stdlib/commit/c1b6794e36255d7df6795f5f5f4d3e493165f397) - **feat:** add `isOutputDataTypePolicy` to namespace _(by Athan Reines)_
178188
- [`9cabe87`](https://github.com/stdlib-js/stdlib/commit/9cabe87a0ce5401967f41d91dc4479a722ba3288) - **feat:** add `ndarray/base/assert/is-output-data-type-policy` _(by Athan Reines)_

docs/types/index.d.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import isIntegerDataType = require( '@stdlib/ndarray-base-assert-is-integer-data
3838
import isMostlySafeDataTypeCast = require( '@stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast' );
3939
import isNumericDataType = require( '@stdlib/ndarray-base-assert-is-numeric-data-type' );
4040
import isOrder = require( '@stdlib/ndarray-base-assert-is-order' );
41+
import isOutputDataTypePolicy = require( '@stdlib/ndarray-base-assert-is-output-data-type-policy' );
4142
import isReadOnly = require( '@stdlib/ndarray-base-assert-is-read-only' );
4243
import isRealDataType = require( '@stdlib/ndarray-base-assert-is-real-data-type' );
4344
import isRealFloatingPointDataType = require( '@stdlib/ndarray-base-assert-is-real-floating-point-data-type' );
@@ -602,6 +603,27 @@ interface Namespace {
602603
*/
603604
isOrder: typeof isOrder;
604605

606+
/**
607+
* Tests whether an input value is a supported ndarray output data type policy.
608+
*
609+
* @param v - value to test
610+
* @returns boolean indicating whether an input value is a supported ndarray output data type policy
611+
*
612+
* @example
613+
* var bool = ns.isOutputDataTypePolicy( 'boolean' );
614+
* // returns true
615+
*
616+
* bool = ns.isOutputDataTypePolicy( 'real' );
617+
* // returns true
618+
*
619+
* bool = ns.isOutputDataTypePolicy( 'numeric' );
620+
* // returns true
621+
*
622+
* bool = ns.isOutputDataTypePolicy( 'foo' );
623+
* // returns false
624+
*/
625+
isOutputDataTypePolicy: typeof isOutputDataTypePolicy;
626+
605627
/**
606628
* Tests whether an ndarray is read-only.
607629
*

0 commit comments

Comments
 (0)
0