fliplr(m)
This docstring was copied from numpy.fliplr.
Some inconsistencies with the Dask version may exist.
For a 2-D array, this flips the entries in each row in the left/right direction. Columns are preserved, but appear in a different order than before.
Equivalent to m[:,::-1]
or np.flip(m, axis=1)
. Requires the array to be at least 2-D.
Input array, must be at least 2-D.
A view of m
with the columns reversed. Since a view is returned, this operation is $\mathcal O(1)$
.
Reverse the order of elements along axis 1 (left/right).
flip
Flip array in one or more dimensions.
flipud
Flip array in the up/down direction.
rot90
Rotate array counterclockwise.
>>> A = np.diag([1.,2.,3.]) # doctest: +SKIPThis example is valid syntax, but we were not able to check execution
... A # doctest: +SKIP array([[1., 0., 0.], [0., 2., 0.], [0., 0., 3.]])
>>> np.fliplr(A) # doctest: +SKIP array([[0., 0., 1.], [0., 2., 0.], [3., 0., 0.]])This example is valid syntax, but we were not able to check execution
>>> A = np.random.randn(2,3,5) # doctest: +SKIPSee :
... np.all(np.fliplr(A) == A[:,::-1,...]) # doctest: +SKIP True
The following pages refer to to this document either explicitly or contain code examples using this.
dask.array.routines.flipud
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them