# jax.numpy.flipud¶

jax.numpy.flipud(m)[source]

Flip array in the up/down direction.

LAX-backend implementation of flipud().

The JAX version of this function may in some cases return a copy rather than a view of the input.

Original docstring below.

Flip the entries in each column in the up/down direction. Rows are preserved, but appear in a different order than before.

Parameters

m (array_like) – Input array.

Returns

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

Return type

array_like