jax.numpy.fliplr

jax.numpy.fliplr(m)[source]

Flip array in the left/right direction.

LAX-backend implementation of fliplr().

Original docstring below.

Flip the entries in each row in the left/right direction. Columns are preserved, but appear in a different order than before.

Parameters

m (array_like) – Input array, must be at least 2-D.

Returns

f – A view of m with the columns reversed. Since a view is returned, this operation is \(\mathcal O(1)\).

Return type

ndarray