kotlin-numpy / org.jetbrains.numkt / flip

flip

fun <T : Any> flip(m: KtNDArray<T>, vararg axis: Int? = emptyArray()): KtNDArray<T> (source)

Reverse the order of elements in an array along the given axis.

Parameters

m - input data.

axis - or axes along which to flip over.

Return
A view of m with the entries of axis reversed.

See Also

flipud

fliplr