stehfest_inversion: stehfest_inversion

Description Usage Arguments Value Author(s) See Also Examples

View source: R/laplace_inversion_utilities.R

Description

Function to calculate the Laplace inverse transform using the stehfest algorithm

Usage

1
2
stehfest_inversion(t, coeffs, fun, arg1 = NULL, arg2 = NULL,
  arg3 = NULL)

Arguments

t

Numeric vector with the time

coeffs

Numeric vector with the coefficients

fun

function to be used

arg1, arg2, arg3

Optional arguments to be used by fun

Value

Numeric vector

Author(s)

Oscar Garcia-Cabrejo khaors@gmail.com

See Also

Other laplace functions: stehfest_coeffs

Examples

1
2
3
4
test <- function(p,...){1/p}
coeffs8 <- stehfest_coeffs(8)
td <- logseq(-2,4,30)
stehfest_inversion(td, coeffs8,test)

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