pochhammer: Pochhammer symbol

View source: R/pochhammer.R

pochhammerR Documentation

Pochhammer symbol

Description

The Pochhammer symbol is evaluated via the expression (a)n = gamma(a+n)/gamma(a) for positive integer n.

Usage

pochhammer(a, n, log)

Arguments

a

"vector".

n

"positive integer vector".

log

"logical"

If TRUE, return the logarithm of Pochhammer symbol. Else return the usual one.

Value

"matrix"

The (i, j)th element of the matrix indicates the Pochhammer symbol for (a[i])n[j].

Note

Created: Tue Jan 15 11:20:51 CET 2013; Current: Tue Jan 15 11:21:00 CET 2013.

Author(s)

Feng Li, Department of Statistics, Stockholm University, Sweden.

References

NA


thiyangt/fformpp documentation built on Jan. 5, 2024, 5:44 a.m.