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

cosh(PythonObject) -- hyperbolic cosine of a python object

Description

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

i1 : cosh toPython 0

o1 = 1.0

o1 : PythonObject of class float
i2 : cosh toPython 1

o2 = 1.5430806348152437

o2 : PythonObject of class float

See also

Ways to use this method:


The source of this document is in Python/doc/hyperbolic.m2:100:0.