forked from stdlib-js/stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrepl.txt
More file actions
29 lines (21 loc) · 632 Bytes
/
repl.txt
File metadata and controls
29 lines (21 loc) · 632 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{{alias}}( dtype, shape, order )
Returns a null-filled ndarray having a specified shape and data type.
Parameters
----------
dtype: string|DataType
Underlying data type. Must be a "generic" data type.
shape: ArrayLikeObject<integer>
Array shape.
order: string
Specifies whether an array is row-major (C-style) or column-major
(Fortran-style).
Returns
-------
out: ndarray
Output array.
Examples
--------
> var arr = {{alias}}( 'generic', [ 2, 2 ], 'row-major' )
<ndarray>[ [ null, null ], [ null, null ] ]
See Also
--------