hyp2f1: Gauss hypergeometric function

Description Usage Arguments Value Author(s) Examples

Description

This is an R interface to the C function taken from the Cephes library. Note that all parameters must be numeric and must not be complex. Only x may be a vector.

Usage

1
  hyp2f1(a, b, c, x)

Arguments

a

first function parameter

b

second function parameter

c

third function parameter

x

vector of abscissae with absolute value not greater than 1

Value

the vector of function values

Author(s)

Daniel Sabanes Bove daniel.sabanesbove@ifspm.uzh.ch

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## examples from the Digital Library of Mathematical Functions
## (http://dlmf.nist.gov/15.3)

x <- seq(from=-0.023,
         to=1,
         length=1000)
plot(x,
     hyp2f1(a=5,
            b=-10,
            c=1,
            x=x),
     type="l")


x <- seq(from=-1,
         to=0.022,
         length=1000)
plot(x,
     hyp2f1(a=5,
            b=10,
            c=1,
            x=x),
     type="l")

hypergsplines documentation built on May 2, 2019, 6:14 p.m.