Manipulation Functions¶
Array API specification for manipulating arrays.
A conforming implementation of the array API standard must provide and support the following functions adhering to the following conventions.
Positional parameters must be positional-only parameters. Positional-only parameters have no externally-usable name. When a function accepting positional-only parameters is called, positional arguments are mapped to these parameters based solely on their order.
Optional parameters must be keyword-only arguments.
Unless stated otherwise, functions must adhere to the type promotion rules defined in Type Promotion Rules.
Objects in API¶
|
Joins a sequence of arrays along an existing axis. |
|
Expands the shape of an array by inserting a new axis (dimension) of size one at the position specified by |
|
Reverses the order of elements in an array along the given axis. |
|
Permutes the axes (dimensions) of an array |
|
Reshapes an array without changing its data. |
|
Rolls array elements along a specified axis. |
|
Removes singleton dimensions (axes) from |
|
Joins a sequence of arrays along a new axis. |