On this page
cmath.tanh
Prev: cmath.tan | Up: cmath
Rel: cmath.acos, cmath.acosh, cmath.asin, cmath.asinh
Ref: docs.python.org — cmath.tanh
Tags: #public #python3 #stdlib #cmath
Import
import cmath
from cmath import tanh
Signature & Overview
cmath.tanh(z, /)
Return the hyperbolic tangent of z.
Usage
import cmath
assert cmath.isclose(cmath.tanh(0), 0)
Gotchas
- Has poles along the imaginary axis at odd multiples of
i * pi / 2.
REPL Inspect
from cmath import tanh
help(tanh)
Linked from
Related notes
- tuts/python3/stdlib_module/cmath/tan 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/cos shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/cosh shared tags: #cmath, #stdlib