Skip to content

Commit 44a8767

Browse files
committed
Auto-generated commit
1 parent fa3b5d7 commit 44a8767

19 files changed

Lines changed: 23 additions & 36 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`3116666`](https://github.com/stdlib-js/stdlib/commit/3116666b3e530b2e6fb161924ae4c43cdf02905b) - **docs:** correct TSDoc across `ndarray` TypeScript declarations [(#12635)](https://github.com/stdlib-js/stdlib/pull/12635) _(by Philipp Burckhardt, Athan Reines)_
2526
- [`727a69c`](https://github.com/stdlib-js/stdlib/commit/727a69cb34991e322acd1fc76c828a7243faf96f) - **refactor:** remove redundant overload in `ndarray/base/transpose` [(#12632)](https://github.com/stdlib-js/stdlib/pull/12632) _(by Philipp Burckhardt)_
2627
- [`853c4b4`](https://github.com/stdlib-js/stdlib/commit/853c4b4f23a7187a6acaf937d9f7af2f079e941d) - **refactor:** remove redundant union member in `ndarray/base/some` [(#12634)](https://github.com/stdlib-js/stdlib/pull/12634) _(by Philipp Burckhardt)_
2728
- [`81bb9b4`](https://github.com/stdlib-js/stdlib/commit/81bb9b4388146ac422e75697d177c2beeaf47d41) - **docs:** update `ndarray/iter` TypeScript declarations [(#12592)](https://github.com/stdlib-js/stdlib/pull/12592) _(by stdlib-bot)_
@@ -38,8 +39,9 @@
3839

3940
### Contributors
4041

41-
A total of 1 person contributed to this release. Thank you to this contributor:
42+
A total of 2 people contributed to this release. Thank you to the following contributors:
4243

44+
- Athan Reines
4345
- Philipp Burckhardt
4446

4547
</section>

any-by/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ interface AnyBy {
174174
<T = unknown, U extends InputArray<T> = InputArray<T>, ThisArg = unknown>( x: U, options: Options, predicate: Predicate<T, U, ThisArg>, thisArg?: ThisParameterType<Predicate<T, U, ThisArg>> ): boolndarray;
175175

176176
/**
177-
* Tests whether at least one element along one or more ndarray dimensions passes a test implemented by a predicate function.
177+
* Tests whether at least one element along one or more ndarray dimensions passes a test implemented by a predicate function and assigns the result to a provided output ndarray.
178178
*
179179
* @param x - input ndarray
180180
* @param y - output ndarray
@@ -218,7 +218,7 @@ interface AnyBy {
218218
assign<T = unknown, U extends InputArray<T> = InputArray<T>, V extends ndarray = ndarray, ThisArg = unknown>( x: U, y: V, predicate: Predicate<T, U, ThisArg>, thisArg?: ThisParameterType<Predicate<T, U, ThisArg>> ): V;
219219

220220
/**
221-
* Tests whether at least one element along one or more ndarray dimensions passes a test implemented by a predicate function.
221+
* Tests whether at least one element along one or more ndarray dimensions passes a test implemented by a predicate function and assigns the result to a provided output ndarray.
222222
*
223223
* @param x - input ndarray
224224
* @param y - output ndarray

array/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ interface ExtendedOptions extends Options {
144144
* @param options.flatten - boolean indicating whether to automatically flatten generic array data sources (default: true)
145145
* @param options.ndmin - minimum number of dimensions (default: 0)
146146
* @param options.casting - casting rule used to determine what constitutes an acceptable cast (default: 'safe')
147-
* @param options.readonly - boolean indicating whether an array should be read-only
147+
* @param options.readonly - boolean indicating whether an array should be read-only (default: false)
148148
* @throws must provide valid options
149149
* @throws must provide either an array shape, data source, or both
150150
* @throws invalid cast
@@ -181,7 +181,7 @@ declare function array<T = unknown>( options: OptionsWithShape | OptionsWithBuff
181181
* @param options.flatten - boolean indicating whether to automatically flatten generic array data sources (default: true)
182182
* @param options.ndmin - minimum number of dimensions (default: 0)
183183
* @param options.casting - casting rule used to determine what constitutes an acceptable cast (default: 'safe')
184-
* @param options.readonly - boolean indicating whether an array should be read-only
184+
* @param options.readonly - boolean indicating whether an array should be read-only (default: false)
185185
* @throws must provide valid options
186186
* @throws must provide either an array shape, data source, or both
187187
* @throws invalid cast

base/buffer-dtype-enum/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { Collection } from '@stdlib/types/array';
2525
/**
2626
* Returns the data type enumeration constant for a provided ndarray data buffer.
2727
*
28-
* @param arr - strided array
28+
* @param arr - ndarray data buffer
2929
* @returns data type enumeration constant or null
3030
*
3131
* @example

base/dtype-str2enum/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// TypeScript Version: 4.1
2020

2121
/**
22-
* Returns the enumeration constant associated with a ndarray data type string.
22+
* Returns the enumeration constant associated with an ndarray data type string.
2323
*
2424
* ## Notes
2525
*

base/from-scalar-like/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ declare function scalar2ndarrayLike<T = unknown, U extends InputArray<T> = Input
8888
* var dt = String( getDType( y ) );
8989
* // returns 'complex128'
9090
*
91-
* var v = y.get();
91+
* var z = y.get();
9292
* // returns <Complex128>[ 1.0, 2.0 ]
9393
*/
9494
declare function scalar2ndarrayLike<T extends typedndarray<ComplexLike> = typedndarray<ComplexLike>>( x: T, value: number ): T;

base/maybe-broadcast-arrays/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { ndarray } from '@stdlib/types/ndarray';
2828
*
2929
* ## Notes
3030
*
31-
* - The function throws an error if a provided broadcast-incompatible ndarrays.
31+
* - The function throws an error if provided broadcast-incompatible ndarrays.
3232
* - If a provided ndarray has a shape matching the common shape, the function returns the provided ndarray.
3333
* - If a provided ndarray has a different (broadcast compatible) shape than the common shape, the function returns a new (base) ndarray view of the provided ndarray's data. The view is typically **not** contiguous. As more than one element of a returned view may refer to the same memory location, writing to a view may affect multiple elements. If you need to write to a returned array, copy the array before performing operations which may mutate elements.
3434
* - A returned array view is a "base" ndarray, and, thus, a returned array view does not perform bounds checking or afford any of the guarantees of the non-base ndarray constructor. The primary intent of this function is to broadcast ndarray-like objects within internal implementations and to do so with minimal overhead.

base/next-cartesian-index/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ interface Routine {
9797
* @param idx - current dimension indices
9898
* @param dim - index of the dimension from which to start incrementing (inclusive)
9999
* @param out - output array
100-
* @returns update dimension indices
100+
* @returns updated dimension indices
101101
*
102102
* @example
103103
* var shape = [ 12 ];

base/nullary-strided1d-dispatch-factory/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ interface DispatchTable<T, U> extends BaseDispatchTable<T, U> {
298298
*/
299299
interface NullaryFunction1<T> {
300300
/**
301-
* Applies a strided function and assign results to a provided output ndarray.
301+
* Applies a strided function and assigns results to a provided output ndarray.
302302
*
303303
* @param out - output ndarray
304304
* @param options - function options

base/rotr90/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { typedndarray } from '@stdlib/types/ndarray';
2828
* @param x - input array
2929
* @param k - number of times to rotate by 90 degrees
3030
* @param writable - boolean indicating whether the returned ndarray should be writable
31-
* @returns output array
31+
* @returns ndarray view
3232
*
3333
* @example
3434
* var array = require( '@stdlib/ndarray/array' );

0 commit comments

Comments
 (0)