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
