On this page
  1. cmath.cosh
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

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

REPL Inspect

from cmath import cosh
help(cosh)

Linked from

Related notes