8000 Auto-generated commit · stdlib-js/ndarray-zeros-like@07df5d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 07df5d9

Browse files
committed
Auto-generated commit
1 parent f4d4015 commit 07df5d9

File tree

4 files changed

+31
-17
lines changed

4 files changed

+31
-17
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,13 @@ for ( i = 0; i < dt.length; i++ ) {
180180

181181
<section class="related">
182182

183+
* * *
184+
185+
## See Also
186+
187+
- <span class="package-name">[`@stdlib/ndarray-empty-like`][@stdlib/ndarray/empty-like]</span><span class="delimiter">: </span><span class="description">create an uninitialized ndarray having the same shape and data type as a provided ndarray.</span>
188+
- <span class="package-name">[`@stdlib/ndarray-zeros`][@stdlib/ndarray/zeros]</span><span class="delimiter">: </span><span class="description">create a zero-filled ndarray having a specified shape and data type.</span>
189+
183190
</section>
184191

185192
<!-- /.related -->
@@ -253,9 +260,17 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
253260

254261
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/ndarray-zeros-like/main/LICENSE
255262

256-
[@stdlib/ndarray/ctor]: https://github.com/stdlib-js/stdlib
263+
[@stdlib/ndarray/ctor]: https://github.com/stdlib-js/ndarray-ctor
264+
265+
[@stdlib/ndarray/dtypes]: https://github.com/stdlib-js/ndarray-dtypes
266+
267+
<!-- <related-links> -->
268+
269+
[@stdlib/ndarray/empty-like]: https://github.com/stdlib-js/ndarray-empty-like
270+
271+
[@stdlib/ndarray/zeros]: https://github.com/stdlib-js/ndarray-zeros
257272

258-
[@stdlib/ndarray/dtypes]: https://github.com/stdlib-js/stdlib
273+
<!-- </related-links> -->
259274

260275
</section>
261276

docs/types/index.d.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ interface OptionsWithDType extends Options {
265265
* dt = y.dtype;
266266
* // returns 'float64'
267267
*/
268-
declare function zerosLike( x: float64ndarray, options?: Options ): float64ndarray; // tslint:disable-line:max-line-length
268+
declare function zerosLike( x: float64ndarray, options?: Options ): float64ndarray;
269269

270270
/**
271271
* Creates a zero-filled array having the same shape and data type as a provided input ndarray.
@@ -302,7 +302,7 @@ declare function zerosLike( x: float64ndarray, options?: Options ): float64ndarr
302302
* dt = y.dtype;
303303
* // returns 'float32'
304304
*/
305-
declare function zerosLike( x: float32ndarray, options?: Options ): float32ndarray; // tslint:disable-line:max-line-length
305+
declare function zerosLike( x: float32ndarray, options?: Options ): float32ndarray;
306306

307307
/**
308308
* Creates a zero-filled array having the same shape and data type as a provided input ndarray.
@@ -339,7 +339,7 @@ declare function zerosLike( x: float32ndarray, options?: Options ): float32ndarr
339339
* dt = y.dtype;
340340
* // returns 'complex128'
341341
*/
342-
declare function zerosLike( x: complex128ndarray, options?: Options ): complex128ndarray; // tslint:disable-line:max-line-length
342+
declare function zerosLike( x: complex128ndarray, options?: Options ): complex128ndarray;
343343

344344
/**
345345
* Creates a zero-filled array having the same shape and data type as a provided input ndarray.
@@ -376,7 +376,7 @@ declare function zerosLike( x: complex128ndarray, options?: Options ): complex12
376376
* dt = y.dtype;
377377
* // returns 'complex64'
378378
*/
379-
declare function zerosLike( x: complex64ndarray, options?: Options ): complex64ndarray; // tslint:disable-line:max-line-length
379+
declare function zerosLike( x: complex64ndarray, options?: Options ): complex64ndarray;
380380

381381
/**
382382
* Creates a zero-filled array having the same shape and data type as a provided input ndarray.
@@ -524,7 +524,7 @@ declare function zerosLike( x: int8ndarray, options?: Options ): int8ndarray;
524524
* dt = y.dtype;
525525
* // returns 'uint32'
526526
*/
527-
declare function zerosLike( x: uint32ndarray, options?: Options ): uint32ndarray; // tslint:disable-line:max-line-length
527+
declare function zerosLike( x: uint32ndarray, options?: Options ): uint32ndarray;
528528

529529
/**
530530
* Creates a zero-filled array having the same shape and data type as a provided input ndarray.
@@ -561,7 +561,7 @@ declare function zerosLike( x: uint32ndarray, options?: Options ): uint32ndarray
561561
* dt = y.dtype;
562562
* // returns 'uint16'
563563
*/
564-
declare function zerosLike( x: uint16ndarray, options?: Options ): uint16ndarray; // tslint:disable-line:max-line-length
564+
declare function zerosLike( x: uint16ndarray, options?: Options ): uint16ndarray;
565565

566566
/**
567567
* Creates a zero-filled array having the same shape and data type as a provided input ndarray.
@@ -635,7 +635,7 @@ declare function zerosLike( x: uint8ndarray, options?: Options ): uint8ndarray;
635635
* dt = y.dtype;
636636
* // returns 'uint8c'
637637
*/
638-
declare function zerosLike( x: uint8cndarray, options?: Options ): uint8cndarray; // tslint:disable-line:max-line-length
638+
declare function zerosLike( x: uint8cndarray, options?: Options ): uint8cndarray;
639639

640640
/**
641641
* Creates a zero-filled double-precision floating-point array having the same shape as a provided input ndarray.
@@ -675,7 +675,7 @@ declare function zerosLike( x: uint8cndarray, options?: Options ): uint8cndarray
675675
* dt = y.dtype;
676676
* // returns 'float64'
677677
*/
678-
declare function zerosLike( x: ndarray, options: Float64Options ): float64ndarray; // tslint:disable-line:max-line-length
678+
declare function zerosLike( x: ndarray, options: Float64Options ): float64ndarray;
679679

680680
/**
681681
* Creates a zero-filled single-precision floating-point array having the same shape as a provided input ndarray.
@@ -715,7 +715,7 @@ declare function zerosLike( x: ndarray, options: Float64Options ): float64ndarra
715715
* dt = y.dtype;
716716
* // returns 'float32'
717717
*/
718-
declare function zerosLike( x: ndarray, options: Float32Options ): float32ndarray; // tslint:disable-line:max-line-length
718+
declare function zerosLike( x: ndarray, options: Float32Options ): float32ndarray;
719719

720720
/**
721721
* Creates a zero-filled double-precision complex floating-point array having the same shape as a provided input ndarray.
@@ -755,7 +755,7 @@ declare function zerosLike( x: ndarray, options: Float32Options ): float32ndarra
755755
* dt = y.dtype;
756756
* // returns 'complex128'
757757
*/
758-
declare function zerosLike( x: ndarray, options: Complex128Options ): complex128ndarray; // tslint:disable-line:max-line-length
758+
declare function zerosLike( x: ndarray, options: Complex128Options ): complex128ndarray;
759759

760760
/**
761761
* Creates a zero-filled single-precision complex floating-point array having the same shape as a provided input ndarray.
@@ -795,7 +795,7 @@ declare function zerosLike( x: ndarray, options: Complex128Options ): complex128
795795
* dt = y.dtype;
796796
* // returns 'complex64'
797797
*/
798-
declare function zerosLike( x: ndarray, options: Complex64Options ): complex64ndarray; // tslint:disable-line:max-line-length
798+
declare function zerosLike( x: ndarray, options: Complex64Options ): complex64ndarray;
799799

800800
/**
801801
* Creates a zero-filled 32-bit signed integer array having the same shape as a provided input ndarray.
@@ -1113,7 +1113,7 @@ declare function zerosLike( x: ndarray, options: Uint8COptions ): uint8cndarray;
11131113
* dt = y.dtype;
11141114
* // returns 'generic'
11151115
*/
1116-
declare function zerosLike( x: ndarray, options?: Options | OptionsWithDType ): typedndarray<number>; // tslint:disable-line:max-line-length
1116+
declare function zerosLike( x: ndarray, options?: Options | OptionsWithDType ): typedndarray<number>;
11171117

11181118

11191119
// EXPORTS //

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@stdlib/ndarray-order": "^0.1.0",
5151
"@stdlib/ndarray-shape": "^0.1.0",
5252
"@stdlib/string-format": "^0.1.1",
53-
"@stdlib/types": "^0.1.0"
53+
"@stdlib/types": "^0.2.0"
5454
},
5555
"devDependencies": {
5656
"@stdlib/array-complex128": "^0.1.0",
@@ -65,7 +65,7 @@
6565
"@stdlib/array-uint8": "^0.1.1",
6666
"@stdlib/array-uint8c": "^0.1.1",
6767
"@stdlib/assert-instance-of": "^0.1.1",
68-
"@stdlib/bench": "^0.1.0",
68+
"@stdlib/bench": "^0.2.0",
6969
"@stdlib/math-base-special-pow": "^0.1.0",
7070
"@stdlib/ndarray-base-zeros": "^0.1.0",
7171
"@stdlib/ndarray-dtypes": "^0.1.0",

0 commit comments

Comments
 (0)
0