std::lgamma
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <cmath>
|
||
float lgamma( float arg ); |
(C++11およびそれ以降) | |
double lgamma( double arg ); |
(C++11およびそれ以降) | |
long double lgamma( long double arg ); |
(C++11およびそれ以降) | |
double lgamma( Integral arg ); |
(C++11およびそれ以降) | |
ガンマ関数の
arg
の絶対値の自然対数を計算します.Original:
Computes the natural logarithm of the absolute value of the ガンマ関数 of
arg
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] パラメータ
arg | - | 浮動小数点値
Original: floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
arg
ですloge|∫∞
0targ-1
e-t dt|のガンマ関数の対数の値.
Original:
The value of the logarithm of the gamma function of
e|∫∞
0targ-1
e-t dt|.
arg
, that is loge|∫∞
0targ-1
e-t dt|.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
arg
は自然数である場合、std::lgamma(arg)はarg-1
の階乗の対数です.Original:
If
arg
is a natural number, std::lgamma(arg) is the logarithm of the factorial of arg-1
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 例外
arg
がゼロまたは負の整数の場合、極エラーが発生することがあり、FE_INVALIDまたはFE_DIVBYZEROが発生する場合があります.Original:
If
arg
is zero or a negative integer, pole error may occur and FE_INVALID or FE_DIVBYZERO may be raised.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
arg
が大きすぎる場合、範囲エラーが発生することがありますとFE_OVERFLOWが発生する場合があります.Original:
If
arg
is too large, range error may occur and FE_OVERFLOW may be raised.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] ノート
POSIX specificationはさらにlgammaを実行する毎に外部変数
arg
でsigngam
のガンマ関数の符号を格納する必要があります.Original:
POSIX specification additionally requires that each execution of lgamma stores the sign of the gamma function of
arg
in the external variable signgam
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 参照
(C++11) |
ガンマ関数 Original: gamma function The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) |
C documentation for lgamma
|
[編集] 外部リンク
Weisstein, Eric W. "Log Gamma Function."MathWorldのから - WolframのWebリソース.
Original:
Weisstein, Eric W. "Log Gamma Function." From MathWorld--A Wolfram Web Resource.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.