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

[module] Python - cmath.nanj 상수 - complex 자료형의 nan 상수 (= nanj) 반환.

951  

목차

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

 

cmath.nanj 예제

 

import cmath

print (cmath.nanj) # nanj


 

cmath.nanj 정의

 

복소수형 nan 상수 (= nanj ) 반환.

 


 

※ nanj : 실수 부분이 0이고, 허수 부분이 nan

※ nan (Not a Number : 숫자 아님)

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

※ Python 3.6 이상.

 

 

cmath.nanj 구문

 

cmath.nanj

 


[반환값]

 

nanj 반환.

※ complex 자료형 nan 상수.

 



분류 제목
module Python - cmath.acosh(x) 메서드 -
module Python - cmath.asin(x) 메서드 -
module Python - cmath.asinh(x) 메서드 -
module Python - cmath.atan(x) 메서드 -
module Python - cmath.atanh(x) 메서드 -
module Python - cmath.cos(x) 메서드 -
module Python - cmath.cosh(x) 메서드 -
module Python - cmath.exp(x) 메서드 -
module Python - cmath.isclose() 메서드 -
module Python - cmath.isfinite(x) 메서드 -
module Python - cmath.isinf(x) 메서드 -
module Python - cmath.isnan(x) 메서드 -
module Python - cmath.log() 메서드 -
module Python - cmath.log10() 메서드 -
module Python - cmath.phase() 메서드 -
module Python - cmath.polar() 메서드 -
module Python - cmath.rect() 메서드 -
module Python - cmath.sin(x) 메서드 -
module Python - cmath.sinh(x) 메서드 -
module Python - cmath.sqrt(x) 메서드 -
6/7
목록
찾아주셔서 감사합니다. Since 2012