stehfest_coeffs: stehfest_coeffs

Description Usage Arguments Value Author(s) See Also Examples

View source: R/laplace_inversion_utilities.R

Description

Function to calculate the coefficients used in the stehfest inversion. These coefficients c_{i}are given by:

c_{i}=(-1)^{i+n/2} ∑_{k=≤ft[ \frac{i+1}{2} \right]}^{\min{(i.n/2)}} \frac{k^{n/2}(2k)!}{≤ft(\frac{n}{2}-k\right)!k!(k-1)!(i-k)!(2k-i)!}

Usage

1

Arguments

n

Number of coefficients

Value

Numeric vector with the coefficients

Author(s)

Oscar Garcia-Cabrejo khaors@gmail.com

See Also

Other laplace functions: stehfest_inversion

Examples

1
2
coeffs8 <- stehfest_coeffs(8)
coeffs20 <- stehfest_coeffs(20)

khaors/pumpingtest documentation built on Nov. 15, 2019, 8:10 p.m.