파이썬 cmath.atan() 메서드
예시
복소수의 아크탄젠트 찾기:
#import cmath for complex number operations
import cmath
#find
the arc tangent of a complex number
print (cmath.atan(2 + 3j))
정의 및 사용
이 cmath.atan()
메서드는 복소수의 아크 탄젠트를 반환합니다.
주로 두 가지 분기 컷이 있습니다.
- 가상 축을 따라 1j에서 오른쪽으로 ∞j까지 확장
- 가상 축을 따라 -1j에서 왼쪽으로 -∞j까지 확장
통사론
cmath.atan(x)
매개변수 값
Parameter | Description |
---|---|
x | Required. A number to find the arctangent of |
기술적 세부 사항
반환 값: | complex 복소수의 아크 탄젠트를 나타내는 값 |
---|---|
파이썬 버전: | 2.6 |