Skip to content

Commit 65c1aeb

Browse files
committed
Fix examples
1 parent 7cb7dd1 commit 65c1aeb

File tree

1 file changed

+23
-23
lines changed
  • lib/node_modules/@stdlib/ndarray/zeros-like/docs/types

1 file changed

+23
-23
lines changed

lib/node_modules/@stdlib/ndarray/zeros-like/docs/types/index.d.ts

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ interface OptionsWithDType extends Options {
244244
* sh = y.shape;
245245
* // returns [ 2, 2 ]
246246
*
247-
* dt = x.dtype;
247+
* dt = y.dtype;
248248
* // returns 'float64'
249249
*/
250250
declare function zerosLike( x: float64ndarray, options?: Options ): float64ndarray; // tslint:disable-line:max-line-length
@@ -278,7 +278,7 @@ declare function zerosLike( x: float64ndarray, options?: Options ): float64ndarr
278278
* sh = y.shape;
279279
* // returns [ 2, 2 ]
280280
*
281-
* dt = x.dtype;
281+
* dt = y.dtype;
282282
* // returns 'float32'
283283
*/
284284
declare function zerosLike( x: float32ndarray, options?: Options ): float32ndarray; // tslint:disable-line:max-line-length
@@ -312,7 +312,7 @@ declare function zerosLike( x: float32ndarray, options?: Options ): float32ndarr
312312
* sh = y.shape;
313313
* // returns [ 2, 2 ]
314314
*
315-
* dt = x.dtype;
315+
* dt = y.dtype;
316316
* // returns 'complex128'
317317
*/
318318
declare function zerosLike( x: complex128ndarray, options?: Options ): complex128ndarray; // tslint:disable-line:max-line-length
@@ -346,7 +346,7 @@ declare function zerosLike( x: complex128ndarray, options?: Options ): complex12
346346
* sh = y.shape;
347347
* // returns [ 2, 2 ]
348348
*
349-
* dt = x.dtype;
349+
* dt = y.dtype;
350350
* // returns 'complex64'
351351
*/
352352
declare function zerosLike( x: complex64ndarray, options?: Options ): complex64ndarray; // tslint:disable-line:max-line-length
@@ -380,7 +380,7 @@ declare function zerosLike( x: complex64ndarray, options?: Options ): complex64n
380380
* sh = y.shape;
381381
* // returns [ 2, 2 ]
382382
*
383-
* dt = x.dtype;
383+
* dt = y.dtype;
384384
* // returns 'int32'
385385
*/
386386
declare function zerosLike( x: int32ndarray, options?: Options ): int32ndarray;
@@ -414,7 +414,7 @@ declare function zerosLike( x: int32ndarray, options?: Options ): int32ndarray;
414414
* sh = y.shape;
415415
* // returns [ 2, 2 ]
416416
*
417-
* dt = x.dtype;
417+
* dt = y.dtype;
418418
* // returns 'int16'
419419
*/
420420
declare function zerosLike( x: int16ndarray, options?: Options ): int16ndarray;
@@ -448,7 +448,7 @@ declare function zerosLike( x: int16ndarray, options?: Options ): int16ndarray;
448448
* sh = y.shape;
449449
* // returns [ 2, 2 ]
450450
*
451-
* dt = x.dtype;
451+
* dt = y.dtype;
452452
* // returns 'int8'
453453
*/
454454
declare function zerosLike( x: int8ndarray, options?: Options ): int8ndarray;
@@ -482,7 +482,7 @@ declare function zerosLike( x: int8ndarray, options?: Options ): int8ndarray;
482482
* sh = y.shape;
483483
* // returns [ 2, 2 ]
484484
*
485-
* dt = x.dtype;
485+
* dt = y.dtype;
486486
* // returns 'uint32'
487487
*/
488488
declare function zerosLike( x: uint32ndarray, options?: Options ): uint32ndarray; // tslint:disable-line:max-line-length
@@ -516,7 +516,7 @@ declare function zerosLike( x: uint32ndarray, options?: Options ): uint32ndarray
516516
* sh = y.shape;
517517
* // returns [ 2, 2 ]
518518
*
519-
* dt = x.dtype;
519+
* dt = y.dtype;
520520
* // returns 'uint16'
521521
*/
522522
declare function zerosLike( x: uint16ndarray, options?: Options ): uint16ndarray; // tslint:disable-line:max-line-length
@@ -550,7 +550,7 @@ declare function zerosLike( x: uint16ndarray, options?: Options ): uint16ndarray
550550
* sh = y.shape;
551551
* // returns [ 2, 2 ]
552552
*
553-
* dt = x.dtype;
553+
* dt = y.dtype;
554554
* // returns 'uint8'
555555
*/
556556
declare function zerosLike( x: uint8ndarray, options?: Options ): uint8ndarray;
@@ -584,7 +584,7 @@ declare function zerosLike( x: uint8ndarray, options?: Options ): uint8ndarray;
584584
* sh = y.shape;
585585
* // returns [ 2, 2 ]
586586
*
587-
* dt = x.dtype;
587+
* dt = y.dtype;
588588
* // returns 'uint8c'
589589
*/
590590
declare function zerosLike( x: uint8cndarray, options?: Options ): uint8cndarray; // tslint:disable-line:max-line-length
@@ -621,7 +621,7 @@ declare function zerosLike( x: uint8cndarray, options?: Options ): uint8cndarray
621621
* sh = y.shape;
622622
* // returns [ 2, 2 ]
623623
*
624-
* dt = x.dtype;
624+
* dt = y.dtype;
625625
* // returns 'float64'
626626
*/
627627
declare function zerosLike( x: ndarray, options: Float64Options ): float64ndarray; // tslint:disable-line:max-line-length
@@ -658,7 +658,7 @@ declare function zerosLike( x: ndarray, options: Float64Options ): float64ndarra
658658
* sh = y.shape;
659659
* // returns [ 2, 2 ]
660660
*
661-
* dt = x.dtype;
661+
* dt = y.dtype;
662662
* // returns 'float32'
663663
*/
664664
declare function zerosLike( x: ndarray, options: Float32Options ): float32ndarray; // tslint:disable-line:max-line-length
@@ -695,7 +695,7 @@ declare function zerosLike( x: ndarray, options: Float32Options ): float32ndarra
695695
* sh = y.shape;
696696
* // returns [ 2, 2 ]
697697
*
698-
* dt = x.dtype;
698+
* dt = y.dtype;
699699
* // returns 'complex128'
700700
*/
701701
declare function zerosLike( x: ndarray, options: Complex128Options ): complex128ndarray; // tslint:disable-line:max-line-length
@@ -732,7 +732,7 @@ declare function zerosLike( x: ndarray, options: Complex128Options ): complex128
732732
* sh = y.shape;
733733
* // returns [ 2, 2 ]
734734
*
735-
* dt = x.dtype;
735+
* dt = y.dtype;
736736
* // returns 'complex64'
737737
*/
738738
declare function zerosLike( x: ndarray, options: Complex64Options ): complex64ndarray; // tslint:disable-line:max-line-length
@@ -769,7 +769,7 @@ declare function zerosLike( x: ndarray, options: Complex64Options ): complex64nd
769769
* sh = y.shape;
770770
* // returns [ 2, 2 ]
771771
*
772-
* dt = x.dtype;
772+
* dt = y.dtype;
773773
* // returns 'int32'
774774
*/
775775
declare function zerosLike( x: ndarray, options: Int32Options ): int32ndarray;
@@ -806,7 +806,7 @@ declare function zerosLike( x: ndarray, options: Int32Options ): int32ndarray;
806806
* sh = y.shape;
807807
* // returns [ 2, 2 ]
808808
*
809-
* dt = x.dtype;
809+
* dt = y.dtype;
810810
* // returns 'int16'
811811
*/
812812
declare function zerosLike( x: ndarray, options: Int16Options ): int16ndarray;
@@ -843,7 +843,7 @@ declare function zerosLike( x: ndarray, options: Int16Options ): int16ndarray;
843843
* sh = y.shape;
844844
* // returns [ 2, 2 ]
845845
*
846-
* dt = x.dtype;
846+
* dt = y.dtype;
847847
* // returns 'int8'
848848
*/
849849
declare function zerosLike( x: ndarray, options: Int8Options ): int8ndarray;
@@ -880,7 +880,7 @@ declare function zerosLike( x: ndarray, options: Int8Options ): int8ndarray;
880880
* sh = y.shape;
881881
* // returns [ 2, 2 ]
882882
*
883-
* dt = x.dtype;
883+
* dt = y.dtype;
884884
* // returns 'uint32'
885885
*/
886886
declare function zerosLike( x: ndarray, options: Uint32Options ): uint32ndarray;
@@ -917,7 +917,7 @@ declare function zerosLike( x: ndarray, options: Uint32Options ): uint32ndarray;
917917
* sh = y.shape;
918918
* // returns [ 2, 2 ]
919919
*
920-
* dt = x.dtype;
920+
* dt = y.dtype;
921921
* // returns 'uint16'
922922
*/
923923
declare function zerosLike( x: ndarray, options: Uint16Options ): uint16ndarray;
@@ -954,7 +954,7 @@ declare function zerosLike( x: ndarray, options: Uint16Options ): uint16ndarray;
954954
* sh = y.shape;
955955
* // returns [ 2, 2 ]
956956
*
957-
* dt = x.dtype;
957+
* dt = y.dtype;
958958
* // returns 'uint8'
959959
*/
960960
declare function zerosLike( x: ndarray, options: Uint8Options ): uint8ndarray;
@@ -991,7 +991,7 @@ declare function zerosLike( x: ndarray, options: Uint8Options ): uint8ndarray;
991991
* sh = y.shape;
992992
* // returns [ 2, 2 ]
993993
*
994-
* dt = x.dtype;
994+
* dt = y.dtype;
995995
* // returns 'uint8c'
996996
*/
997997
declare function zerosLike( x: ndarray, options: Uint8COptions ): uint8cndarray;
@@ -1026,7 +1026,7 @@ declare function zerosLike( x: ndarray, options: Uint8COptions ): uint8cndarray;
10261026
* sh = y.shape;
10271027
* // returns [ 2, 2 ]
10281028
*
1029-
* dt = x.dtype;
1029+
* dt = y.dtype;
10301030
* // returns 'generic'
10311031
*/
10321032
declare function zerosLike( x: ndarray, options?: Options | OptionsWithDType ): typedndarray<number>; // tslint:disable-line:max-line-length

0 commit comments

Comments
 (0)