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 (22 loc) · 670 Bytes
/
repl.txt
File metadata and controls
29 lines (22 loc) · 670 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}}( x, writable )
Returns a view of an input ndarray in which the order of elements along each
dimension is reversed.
Parameters
----------
x: ndarray
Input array.
writable: boolean
Boolean indicating whether a returned ndarray should be writable. This
parameter only applies to ndarray constructors which support read-only
instances.
Returns
-------
out: ndarray
Output array view.
Examples
--------
> var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2 ], [ 3, 4 ] ] );
> var y = {{alias}}( x, false )
<ndarray>[ [ 4, 3 ], [ 2, 1 ] ]
See Also
--------