[UP]


Manual Reference Pages  - log_gamma (3)

NAME

log_gamma(3f) - [FORTRAN:INTRINSIC:MATHEMATICS] Logarithm of the Gamma function

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class
See Also

SYNTAX

x = log_gamma(x)

DESCRIPTION

log_gamma(x) computes the natural logarithm of the absolute value of the [[Gamma function]].

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

Sample program:

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

STANDARD

[[Fortran 2008]] and later

CLASS

[[Elemental function]]

SEE ALSO

Gamma function: [[gamma]]


log_gamma (3) March 18, 2019
Generated by manServer 1.08 from 7508e572-589b-44a3-8848-417e6558996b using man macros.