Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.06 KB

manipulation_functions.rst

File metadata and controls

33 lines (25 loc) · 1.06 KB

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 :ref:`type-promotion`.

Objects in API

.. currentmodule:: array_api

.. autosummary::
   :toctree: generated
   :template: method.rst

   broadcast_arrays
   broadcast_to
   concat
   expand_dims
   flip
   permute_dims
   reshape
   roll
   squeeze
   stack