On this page
cmath.cosh
Prev: cmath.cos | Up: cmath | Next: cmath.exp
Rel: cmath.acos, cmath.acosh, cmath.asin, cmath.asinh
Ref: docs.python.org — cmath.cosh
Tags: #public #python3 #stdlib #cmath
Import
import cmath
from cmath import cosh
Signature & Overview
cmath.cosh(z, /)
Return the hyperbolic cosine of z.
Usage
import cmath
assert cmath.isclose(cmath.cosh(0), 1)
Gotchas
- Returns
complex; overflows for large|z.real|.
REPL Inspect
from cmath import cosh
help(cosh)
Linked from
Related notes
- tuts/python3/stdlib_module/cmath/cos Linked here; links to this page; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/exp Linked here; links to this page; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/cmath/acos Linked here; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/acosh Linked here; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/asin Linked here; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/asinh Linked here; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/atan shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/atanh shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/isclose shared tags: #cmath, #stdlib