Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 567 Bytes

constants.rst

File metadata and controls

26 lines (18 loc) · 567 Bytes

Constants

Array API specification for constants.

A conforming implementation of the array API standard must provide and support the following constants adhering to the following conventions.

  • Each constant must have a Python floating-point data type (i.e., float) and be provided as a Python scalar value.

Objects in API

.. currentmodule:: array_api.constants

.. autosummary::
   :toctree: generated
   :template: attribute.rst

   e
   inf
   nan
   newaxis
   pi