gamma
감마 함수
설명
예제
입력 인수
제한 사항
double
형 및single
형 데이터 유형의 경우gamma
함수는realmax
및realmax('single')
보다 큰 모든 값에 대해Inf
를 반환합니다. 양의 정수의 포화 임계값은gamma(172)
와gamma(single(36))
인데, 여기서 실행된gamma
함수는 표현 가능한 최댓값보다 큽니다.
세부 정보
알고리즘
gamma
의 계산은 [1]에 설명된 알고리즘을 기반으로 합니다.
참고 문헌
[1] Cody, J., An Overview of Software Development for Special Functions, Lecture Notes in Mathematics, 506, Numerical Analysis Dundee, G. A. Watson (ed.), Springer Verlag, Berlin, 1976.
[2] Abramowitz, M. and I.A. Stegun, Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series #55, Dover Publications, 1965, sec. 6.5.
확장 기능
버전 내역
R2006a 이전에 개발됨
참고 항목
gammainc
| gammaincinv
| gammaln
| psi
| factorial