Learn R Programming

BAS (version 1.0.6)

hypergeometric1F1: Confluent hypergeometric2F1 function

Description

Compute the Confluetn Hypergeometric function: 1F1(a,b,c,t) = Gamma(b)/(Gamma(b-a)Gamma(a)) Int_0^1 t^(b-1) (1 - t)^(b-a-1) exp(c t) dt

Usage

hypergeometric1F1(a,b,c, laplace=TRUE, log=TRUE)

Arguments

a
arbitrary
b
Must be greater 0
c
arbitrary
laplace
The default is to use the Laplace approximate as the Cephes library routine are sometimes is unstable for large a or s returning NA, Inf or negative values.
log
if TRUE, return log(1F1)

References

Cephes library hyp1f1.c

Examples

Run this code
hypergeometric1F1(11.14756, 0.5, 0.00175097)

Run the code above in your browser using DataLab