Clicky

Fortran Wiki
log_gamma (changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #4 to #5: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

log_gamma(x) computes the natural logarithm of the absolute value of the Gamma function ((削除) \\Gamma (削除ここまで)(追記) Γ\Gamma (追記ここまで)).

Standard

Fortran 2008 and later

Class

Elemental function

Syntax

x = log_gamma(x)

Arguments

  • x - Shall be of type real and neither zero nor a negative integer.

Return value

The return value is of type real of the same kind as x.

Example

program test_log_gamma
 real :: x = 1.0
 x = log_gamma(x) ! returns 0.0
end program test_log_gamma

See also

Gamma function: gamma

category: intrinsics

Revised on March 1, 2023 13:12:48 by vmagnin (86.67.213.90) (639 characters / 0.0 pages)
Edit | Back in time (4 revisions) | Hide changes | History | Views: Print | TeX | Source | Linked from: Intrinsic procedures, Fortran 2008, gamma

AltStyle によって変換されたページ (->オリジナル) /