◐ Shell
clean mode source ↗

std::lgamma - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<cmath>

float lgamma( float arg );

(dal C++11)

double lgamma( double arg );

(dal C++11)

long double lgamma( long double arg );

(dal C++11)

double lgamma( Integral arg );

(dal C++11)

Calcola il logaritmo naturale del valore assoluto della funzione gamma di arg.

Original:

Computes the natural logarithm of the absolute value of the funzione gamma of arg.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parametri

arg -

valore in virgola mobile

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.

Valore di ritorno

Il valore del logaritmo della funzione gamma di arg, che è log
e
|
0
targ-1
e-t dt|
.

Original:

The value of the logarithm of the gamma function of arg, that is log
e
|
0
targ-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.

Se arg è un numero naturale, std::lgamma(arg) è il logaritmo del fattoriale di 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.

Eccezioni

Se arg è zero o un numero intero negativo, errore può verificarsi polo e FE_INVALID o FE_DIVBYZERO può essere sollevata.

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.

Se arg è troppo grande, l'errore può verificarsi gamma e FE_OVERFLOW può essere sollevata.

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.

Note

POSIX specification richiede inoltre che ogni esecuzione del lgamma memorizza il segno della funzione gamma di arg nel signgam variabile esterna.

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.

Vedi anche

Collegamenti esterni

Weisstein, Eric W. "Log Gamma Function." Da MathWorld - Una risorsa Web Wolfram.

Original:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.