On this page
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
- Unbounded for non-zero imaginary parts.
REPL Inspect
from cmath import sin
help(sin)
Linked from
Related notes
- tuts/python3/stdlib_module/cmath/rect Linked here; links to this page; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/sinh 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