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

cmath.sin

Prev: cmath.rect | Up: cmath | Next: cmath.sinh
Rel: cmath.acos, cmath.acosh, cmath.asin, cmath.asinh
Ref: docs.python.org — cmath.sin
Tags: #public #python3 #stdlib #cmath


Import

import cmath
from cmath import sin

Signature & Overview

cmath.sin(z, /)

Return the sine of z.

Usage

import cmath

assert cmath.isclose(cmath.sin(cmath.pi / 2), 1)

Gotchas

REPL Inspect

from cmath import sin
help(sin)

Linked from

Related notes