gsl (version 1.2-20)

Psi: Psi (digamma) functions

Description

Psi (digamma) functons as per the Gnu Scientific Library, section 7.27 of the reference manual.

Usage

psi_int(n, give=FALSE, strict=TRUE)
psi(x, give=FALSE, strict=TRUE)
psi_1piy(y, give=FALSE, strict=TRUE)
psi_1_int(n, give=FALSE, strict=TRUE)
psi_1(x, give=FALSE, strict=TRUE)
psi_n(m, x, give=FALSE, strict=TRUE)

Arguments

n
input: integer values
m
input: integer values
x
input: real values
y
input: real values
give
Boolean with TRUE meaning to return a list of three items: the value, an estimate of the error, and a status number.
strict
Boolean, with TRUE meaning to return NaN if status is an error.

Examples

Run this code
psi_int(1:6)
psi(pi+(1:6))
psi_1piy(pi+(1:6))
psi_1_int(1:6)
psi_n(m=5,x=c(1.123,1.6523))

Run the code above in your browser using DataCamp Workspace