Skip to content

Commit 7cb7dd1

Browse files
committed
Fix examples
1 parent 48c2d5d commit 7cb7dd1

File tree

1 file changed

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

1 file changed

+12
-12
lines changed

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { ndarray, typedndarray, float64ndarray, float32ndarray, int32ndarray, in
4646
* sh = y.shape;
4747
* // returns [ 2, 2 ]
4848
*
49-
* dt = x.dtype;
49+
* dt = y.dtype;
5050
* // returns 'float64'
5151
*/
5252
declare function zerosLike( x: float64ndarray ): float64ndarray;
@@ -75,7 +75,7 @@ declare function zerosLike( x: float64ndarray ): float64ndarray;
7575
* sh = y.shape;
7676
* // returns [ 2, 2 ]
7777
*
78-
* dt = x.dtype;
78+
* dt = y.dtype;
7979
* // returns 'float32'
8080
*/
8181
declare function zerosLike( x: float32ndarray ): float32ndarray;
@@ -104,7 +104,7 @@ declare function zerosLike( x: float32ndarray ): float32ndarray;
104104
* sh = y.shape;
105105
* // returns [ 2, 2 ]
106106
*
107-
* dt = x.dtype;
107+
* dt = y.dtype;
108108
* // returns 'complex128'
109109
*/
110110
declare function zerosLike( x: complex128ndarray ): complex128ndarray;
@@ -133,7 +133,7 @@ declare function zerosLike( x: complex128ndarray ): complex128ndarray;
133133
* sh = y.shape;
134134
* // returns [ 2, 2 ]
135135
*
136-
* dt = x.dtype;
136+
* dt = y.dtype;
137137
* // returns 'complex64'
138138
*/
139139
declare function zerosLike( x: complex64ndarray ): complex64ndarray;
@@ -162,7 +162,7 @@ declare function zerosLike( x: complex64ndarray ): complex64ndarray;
162162
* sh = y.shape;
163163
* // returns [ 2, 2 ]
164164
*
165-
* dt = x.dtype;
165+
* dt = y.dtype;
166166
* // returns 'int32'
167167
*/
168168
declare function zerosLike( x: int32ndarray ): int32ndarray;
@@ -191,7 +191,7 @@ declare function zerosLike( x: int32ndarray ): int32ndarray;
191191
* sh = y.shape;
192192
* // returns [ 2, 2 ]
193193
*
194-
* dt = x.dtype;
194+
* dt = y.dtype;
195195
* // returns 'int16'
196196
*/
197197
declare function zerosLike( x: int16ndarray ): int16ndarray;
@@ -220,7 +220,7 @@ declare function zerosLike( x: int16ndarray ): int16ndarray;
220220
* sh = y.shape;
221221
* // returns [ 2, 2 ]
222222
*
223-
* dt = x.dtype;
223+
* dt = y.dtype;
224224
* // returns 'int8'
225225
*/
226226
declare function zerosLike( x: int8ndarray ): int8ndarray;
@@ -249,7 +249,7 @@ declare function zerosLike( x: int8ndarray ): int8ndarray;
249249
* sh = y.shape;
250250
* // returns [ 2, 2 ]
251251
*
252-
* dt = x.dtype;
252+
* dt = y.dtype;
253253
* // returns 'uint32'
254254
*/
255255
declare function zerosLike( x: uint32ndarray ): uint32ndarray;
@@ -278,7 +278,7 @@ declare function zerosLike( x: uint32ndarray ): uint32ndarray;
278278
* sh = y.shape;
279279
* // returns [ 2, 2 ]
280280
*
281-
* dt = x.dtype;
281+
* dt = y.dtype;
282282
* // returns 'uint16'
283283
*/
284284
declare function zerosLike( x: uint16ndarray ): uint16ndarray;
@@ -307,7 +307,7 @@ declare function zerosLike( x: uint16ndarray ): uint16ndarray;
307307
* sh = y.shape;
308308
* // returns [ 2, 2 ]
309309
*
310-
* dt = x.dtype;
310+
* dt = y.dtype;
311311
* // returns 'uint8'
312312
*/
313313
declare function zerosLike( x: uint8ndarray ): uint8ndarray;
@@ -336,7 +336,7 @@ declare function zerosLike( x: uint8ndarray ): uint8ndarray;
336336
* sh = y.shape;
337337
* // returns [ 2, 2 ]
338338
*
339-
* dt = x.dtype;
339+
* dt = y.dtype;
340340
* // returns 'uint8c'
341341
*/
342342
declare function zerosLike( x: uint8cndarray ): uint8cndarray;
@@ -365,7 +365,7 @@ declare function zerosLike( x: uint8cndarray ): uint8cndarray;
365365
* sh = y.shape;
366366
* // returns [ 2, 2 ]
367367
*
368-
* dt = x.dtype;
368+
* dt = y.dtype;
369369
* // returns 'generic'
370370
*/
371371
declare function zerosLike( x: ndarray ): typedndarray<number>;

0 commit comments

Comments
 (0)