Back to Core Functions
flip
Flip order of elements
Syntax
B = flip(A) B = flip(A, dim)
Description
Reverses the order of elements along the specified dimension (default: first non-singleton dimension).
Parameters
| Name | Description |
|---|---|
| A | Input array |
| dim(optional) | Dimension to flip along |
Returns
Flipped NDArray