Clicky
Showing changes from revision #1 to #2:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
log_gamma(x)
computes the natural logarithm of the absolute value of the Gamma (\\Gamma
) function.
(削除) Fortran 2008 and later (削除ここまで)(追記) Fortran 2008 (追記ここまで)(追記) and later (追記ここまで)
(削除) Elemental function (削除ここまで)(追記) Elemental function (追記ここまで)
x = log_gamma(x)
x
- Shall be of type real
and neither zero nor a negative integer.The return value is of type real
of the same kind as x
.
program test_log_gamma
real :: x = 1.0
x = lgamma(x) ! returns 0.0
end program test_log_gamma
Gamma function: gamma