Movatterモバイル変換


[0]ホーム

URL:


Skip to content

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 forNone which is useful for indexing arrays.

pi

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


[8]ページ先頭

©2009-2025 Movatter.jp