• 회원가입
  • 로그인
  • 구글아이디로 로그인

[module] Python - cmath.infj 상수 - complex 자료형의 무한대 상수 (= infj) 반환.

1030  

목차

  1. cmath.infj 예제
  2. cmath.infj 정의
  3. cmath.infj 구문

 

cmath.infj 예제

 

import cmath

print (cmath.infj) # jinf (※ 복소수 무한대)


 

cmath.infj 정의

 

복소수 무한대 상수 (= infj ) 반환.

 


 

※ 복소수 무한대 : 실수 부분이 0이고, 허수 부분이 양의 무한대.

complex(0.0, float("inf")) 값과 동일.

※ Python 3.6 이상.

 

 

cmath.infj 구문

 

cmath.infj

 


[반환값]

 

infj 반환.

※ 복소수 무한대 상수.

※ complex 자료형.

 



분류 제목
module Python - statistics.stdev() 메서드 -
module Python - statistics.pvariance() 메서드 -
module Python - statistics.variance() 메서드 -
module Python - math 모듈 메서드・상수 종류 (※ 수학 모듈)
module Python - math.acos() 메서드 -
module Python - math.acosh() 메서드 -
module Python - math.asin() 메서드 -
module Python - math.asinh() 메서드 -
module Python - math.atan() 메서드 -
module Python - math.atan2() 메서드 -
module Python - math.atanh() 메서드 -
module Python - math.ceil() 메서드 ★ - 천장 반올림 (= 상위 정수로 반올림. = ceil메서드…
module Python - math.comb() 메서드 -
module Python - math.copysign() 메서드 -
module Python - math.cos() 메서드 -
module Python - math.cosh() 메서드 -
module Python - math.degrees() 메서드 -
module Python - math.dist() 메서드 -
module Python - math.erf() 메서드 -
module Python - math.erfc() 메서드 -
3/7
목록
찾아주셔서 감사합니다. Since 2012