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

acos(PythonObject) -- arc cosine of a python object

Description

This calls Python's built-in math.acos function, which computes the arc cosine of x.

i1 : acos toPython 1

o1 = 0.0

o1 : PythonObject of class float
i2 : acos toPython 0

o2 = 1.5707963267948966

o2 : PythonObject of class float

See also

Ways to use this method:


The source of this document is in Python/doc/trig.m2:28:0.