Macaulay2 » Documentation
Packages » Macaulay2Doc :: lngamma
next | previous | forward | backward | up | index | toc

lngamma -- logarithm of the Gamma function

Synopsis

Description

i1 : lngamma 2.1

o1 = .0454377385444852

o1 : RR (of precision 53)
i2 : lngamma(-1.1)

o2 = 2.27365115292446

o2 : RR (of precision 53)
i3 : lngamma(-2.1)

o3 = 1.53171380819509+3.14159265358979*ii

o3 : CC (of precision 53)
i4 : lngamma (-2.000000000000000000000000000000001p120)

o4 = 75.293085156597112659506221744398934+
     3.14159265358979323846264338327950288*ii

o4 : CC (of precision 120)

See also

Ways to use lngamma :

For the programmer

The object lngamma is a method function.