cunumeric.fliplr#

cunumeric.fliplr(m: ndarray) ndarray#

Reverse the order of elements along axis 1 (left/right).

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.

Parameters:

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

Returns:

f – A new array that is constructed from m with the columns reversed.

Return type:

ndarray

See also

numpy.fliplr

Availability:

Single GPU, Single CPU

Notes

cuNumeric implementation doesn’t return a view, it returns a new array