Macaulay2 » Documentation
Packages » Python » PythonObject » exp(PythonObject)
next | previous | forward | backward | up | index | toc

exp(PythonObject) -- exponential of a python object

Description

This calls Python's built-in math.exp function, which computes the exponential of x.

i1 : exp toPython 1

o1 = 2.718281828459045

o1 : PythonObject of class float
i2 : exp toPython 0

o2 = 1.0

o2 : PythonObject of class float

See also

Ways to use this method:


The source of this document is in Python/doc/exp-log.m2:27:0.