GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • 
  • Consortium for Python Data API Standards
  • API specification
  • Purpose and scope
  • Terms and Definitions
  • Use cases
  • Assumptions
  • Design topics & constraints
  • Future API standard evolution
  • Array object
  • Broadcasting
  • Constants
  • Creation Functions
  • Data Type Functions

This view

  • Original page
  • New address

GeezerVison is showing data-apis.org — Constants — Python array API standard DRAFT documentation

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¶

e

IEEE 754 floating-point representation of Euler's constant.

inf

IEEE 754 floating-point representation of (positive) infinity.

nan

IEEE 754 floating-point representation of Not a Number (NaN).

newaxis

An alias for None which is useful for indexing arrays.

pi

IEEE 754 floating-point representation of the mathematical constant π.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.