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

lngamma -- logarithm of the Gamma function

Description

i1 : lngamma 2.1

o1 = .04543773854448518

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

o2 = 2.273651152924463

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

o3 = 1.531713808195086+3.141592653589793*ii

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

o4 = 75.29308515659711265950622174439893398+
     3.141592653589793238462643383279502885*ii

o4 : CC (of precision 120)

See also

Ways to use lngamma:

  • lngamma(CC)
  • lngamma(Number)
  • lngamma(RR)
  • lngamma(RRi)

For the programmer

The object lngamma is a method function.


The source of this document is in Macaulay2Doc/functions/Gamma-doc.m2:123:0.