Skip to main content

Module constants

Module constants 

Source

Constants§

E
Euler’s number, the base of natural logarithms.
EULER_GAMMA
The Euler-Mascheroni constant (gamma ~ 0.5772…).
INF
Positive infinity.
NAN
Not a number (quiet NaN).
NEG_INF
Negative infinity.
NEWAXIS
Sentinel value for expand_dims indicating a new axis should be inserted.
NZERO
Negative zero (-0.0).
PI
The ratio of a circle’s circumference to its diameter.
PZERO
Positive zero (+0.0).