Skip to content

Commit 0accb2a

Browse files
committed
Auto-generated commit
1 parent b8213eb commit 0accb2a

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

CHANGELOG.md

Lines changed: 4 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-01-11)
7+
## Unreleased (2025-01-12)
88

99
<section class="packages">
1010

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

2121
##### Features
2222

23+
- [`e661213`](https://github.com/stdlib-js/stdlib/commit/e66121352ef767cdb87d19e938b1eccf7970fa3a) - update namespace TypeScript declarations [(#4706)](https://github.com/stdlib-js/stdlib/pull/4706)
2324
- [`a94dcea`](https://github.com/stdlib-js/stdlib/commit/a94dceaa9469c774ee4622567e4c15a15e215bcf) - add `isColumnMajorString` to namespace
2425
- [`5e1be08`](https://github.com/stdlib-js/stdlib/commit/5e1be08ff661fb981dc4a91c2e9d37d7396327f5) - add `isRowMajorString` to namespace
2526
- [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec) - update namespace TypeScript declarations [(#3190)](https://github.com/stdlib-js/stdlib/pull/3190)
@@ -149,6 +150,8 @@ A total of 2 people contributed to this release. Thank you to the following cont
149150

150151
<details>
151152

153+
- [`e661213`](https://github.com/stdlib-js/stdlib/commit/e66121352ef767cdb87d19e938b1eccf7970fa3a) - **feat:** update namespace TypeScript declarations [(#4706)](https://github.com/stdlib-js/stdlib/pull/4706) _(by stdlib-bot)_
154+
- [`cff470f`](https://github.com/stdlib-js/stdlib/commit/cff470f9608165100c8c122fce70c40b1af864ec) - **docs:** update namespace table of contents (#4708) _(by stdlib-bot, Planeshifter)_
152155
- [`a94dcea`](https://github.com/stdlib-js/stdlib/commit/a94dceaa9469c774ee4622567e4c15a15e215bcf) - **feat:** add `isColumnMajorString` to namespace _(by Athan Reines)_
153156
- [`76872c7`](https://github.com/stdlib-js/stdlib/commit/76872c76f1c655afe5e87d9d894be37f6a07c08b) - **feat:** add `ndarray/base/assert/is-column-major-string` _(by Athan Reines)_
154157
- [`5e1be08`](https://github.com/stdlib-js/stdlib/commit/5e1be08ff661fb981dc4a91c2e9d37d7396327f5) - **feat:** add `isRowMajorString` to namespace _(by Athan Reines)_

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ var o = ns;
8383
- <span class="signature">[`isBufferLengthCompatible( len, shape, strides, offset )`][@stdlib/ndarray/base/assert/is-buffer-length-compatible]</span><span class="delimiter">: </span><span class="description">determine if a buffer length is compatible with ndarray meta data.</span>
8484
- <span class="signature">[`isCastingMode( value )`][@stdlib/ndarray/base/assert/is-casting-mode]</span><span class="delimiter">: </span><span class="description">test if an input value is a supported ndarray casting mode.</span>
8585
- <span class="signature">[`isColumnMajorContiguous( shape, strides, offset )`][@stdlib/ndarray/base/assert/is-column-major-contiguous]</span><span class="delimiter">: </span><span class="description">determine if an array is column-major contiguous.</span>
86+
- <span class="signature">[`isColumnMajorString( value )`][@stdlib/ndarray/base/assert/is-column-major-string]</span><span class="delimiter">: </span><span class="description">test whether an input value is the string representing column-major order.</span>
8687
- <span class="signature">[`isColumnMajor( strides )`][@stdlib/ndarray/base/assert/is-column-major]</span><span class="delimiter">: </span><span class="description">given a stride array, determine whether an array is column-major.</span>
8788
- <span class="signature">[`isComplexFloatingPointDataType( value )`][@stdlib/ndarray/base/assert/is-complex-floating-point-data-type]</span><span class="delimiter">: </span><span class="description">test if an input value is a supported ndarray complex-valued floating-point data type.</span>
8889
- <span class="signature">[`isContiguous( shape, strides, offset )`][@stdlib/ndarray/base/assert/is-contiguous]</span><span class="delimiter">: </span><span class="description">determine if an array is contiguous.</span>
@@ -97,6 +98,7 @@ var o = ns;
9798
- <span class="signature">[`isRealDataType( value )`][@stdlib/ndarray/base/assert/is-real-data-type]</span><span class="delimiter">: </span><span class="description">test if an input value is a supported ndarray real-valued data type.</span>
9899
- <span class="signature">[`isRealFloatingPointDataType( value )`][@stdlib/ndarray/base/assert/is-real-floating-point-data-type]</span><span class="delimiter">: </span><span class="description">test if an input value is a supported ndarray real-valued floating-point data type.</span>
99100
- <span class="signature">[`isRowMajorContiguous( shape, strides, offset )`][@stdlib/ndarray/base/assert/is-row-major-contiguous]</span><span class="delimiter">: </span><span class="description">determine if an array is row-major contiguous.</span>
101+
- <span class="signature">[`isRowMajorString( value )`][@stdlib/ndarray/base/assert/is-row-major-string]</span><span class="delimiter">: </span><span class="description">test whether an input value is the string representing row-major order.</span>
100102
- <span class="signature">[`isRowMajor( strides )`][@stdlib/ndarray/base/assert/is-row-major]</span><span class="delimiter">: </span><span class="description">given a stride array, determine whether an array is row-major.</span>
101103
- <span class="signature">[`isSafeDataTypeCast( from, to )`][@stdlib/ndarray/base/assert/is-safe-data-type-cast]</span><span class="delimiter">: </span><span class="description">determine whether an ndarray data type can be safely cast to another ndarray data type.</span>
102104
- <span class="signature">[`isSameKindDataTypeCast( from, to )`][@stdlib/ndarray/base/assert/is-same-kind-data-type-cast]</span><span class="delimiter">: </span><span class="description">determine whether an ndarray data type can be safely cast to, or is of the same "kind" as, another ndarray data type.</span>
@@ -227,6 +229,8 @@ Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
227229

228230
[@stdlib/ndarray/base/assert/is-column-major-contiguous]: https://github.com/stdlib-js/ndarray-base-assert-is-column-major-contiguous
229231

232+
[@stdlib/ndarray/base/assert/is-column-major-string]: https://github.com/stdlib-js/ndarray-base-assert-is-column-major-string
233+
230234
[@stdlib/ndarray/base/assert/is-column-major]: https://github.com/stdlib-js/ndarray-base-assert-is-column-major
231235

232236
[@stdlib/ndarray/base/assert/is-complex-floating-point-data-type]: https://github.com/stdlib-js/ndarray-base-assert-is-complex-floating-point-data-type
@@ -255,6 +259,8 @@ Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
255259

256260
[@stdlib/ndarray/base/assert/is-row-major-contiguous]: https://github.com/stdlib-js/ndarray-base-assert-is-row-major-contiguous
257261

262+
[@stdlib/ndarray/base/assert/is-row-major-string]: https://github.com/stdlib-js/ndarray-base-assert-is-row-major-string
263+
258264
[@stdlib/ndarray/base/assert/is-row-major]: https://github.com/stdlib-js/ndarray-base-assert-is-row-major
259265

260266
[@stdlib/ndarray/base/assert/is-safe-data-type-cast]: https://github.com/stdlib-js/ndarray-base-assert-is-safe-data-type-cast

docs/types/index.d.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import isBufferLengthCompatibleShape = require( '@stdlib/ndarray-base-assert-is-
2828
import isCastingMode = require( '@stdlib/ndarray-base-assert-is-casting-mode' );
2929
import isColumnMajor = require( '@stdlib/ndarray-base-assert-is-column-major' );
3030
import isColumnMajorContiguous = require( '@stdlib/ndarray-base-assert-is-column-major-contiguous' );
31+
import isColumnMajorString = require( '@stdlib/ndarray-base-assert-is-column-major-string' );
3132
import isComplexFloatingPointDataType = require( '@stdlib/ndarray-base-assert-is-complex-floating-point-data-type' );
3233
import isContiguous = require( '@stdlib/ndarray-base-assert-is-contiguous' );
3334
import isDataType = require( '@stdlib/ndarray-base-assert-is-data-type' );
@@ -42,6 +43,7 @@ import isRealDataType = require( '@stdlib/ndarray-base-assert-is-real-data-type'
4243
import isRealFloatingPointDataType = require( '@stdlib/ndarray-base-assert-is-real-floating-point-data-type' );
4344
import isRowMajor = require( '@stdlib/ndarray-base-assert-is-row-major' );
4445
import isRowMajorContiguous = require( '@stdlib/ndarray-base-assert-is-row-major-contiguous' );
46+
import isRowMajorString = require( '@stdlib/ndarray-base-assert-is-row-major-string' );
4547
import isSafeDataTypeCast = require( '@stdlib/ndarray-base-assert-is-safe-data-type-cast' );
4648
import isSameKindDataTypeCast = require( '@stdlib/ndarray-base-assert-is-same-kind-data-type-cast' );
4749
import isSignedIntegerDataType = require( '@stdlib/ndarray-base-assert-is-signed-integer-data-type' );
@@ -262,6 +264,24 @@ interface Namespace {
262264
*/
263265
isColumnMajorContiguous: typeof isColumnMajorContiguous;
264266

267+
/**
268+
* Tests whether an input value is the string representing column-major order.
269+
*
270+
* @param v - value to test
271+
* @returns boolean result
272+
*
273+
* @example
274+
* var bool = ns.isColumnMajorString( 'column-major' );
275+
* // returns true
276+
*
277+
* bool = ns.isColumnMajorString( 'row-major' );
278+
* // returns false
279+
*
280+
* bool = ns.isColumnMajorString( 'foo' );
281+
* // returns false
282+
*/
283+
isColumnMajorString: typeof isColumnMajorString;
284+
265285
/**
266286
* Tests whether an input value is a supported ndarray complex-valued floating-point data type.
267287
*
@@ -747,6 +767,24 @@ interface Namespace {
747767
*/
748768
isRowMajorContiguous: typeof isRowMajorContiguous;
749769

770+
/**
771+
* Tests whether an input value is the string representing row-major order.
772+
*
773+
* @param v - value to test
774+
* @returns boolean result
775+
*
776+
* @example
777+
* var bool = ns.isRowMajorString( 'row-major' );
778+
* // returns true
779+
*
780+
* bool = ns.isRowMajorString( 'column-major' );
781+
* // returns false
782+
*
783+
* bool = ns.isRowMajorString( 'foo' );
784+
* // returns false
785+
*/
786+
isRowMajorString: typeof isRowMajorString;
787+
750788
/**
751789
* Returns a boolean indicating if a provided ndarray data type can be safely cast to another ndarray data type.
752790
*

0 commit comments

Comments
 (0)