View source: R/laplace_inversion_utilities.R
stehfest_coeffs | R Documentation |
Function to calculate the coefficients used in the stehfest inversion. These coefficients
c_{i}
are given by:
c_{i}=(-1)^{i+n/2} \sum_{k=\left[ \frac{i+1}{2} \right]}^{\min{(i.n/2)}} \frac{k^{n/2}(2k)!}{\left(\frac{n}{2}-k\right)!k!(k-1)!(i-k)!(2k-i)!}
stehfest_coeffs(n)
n |
Number of coefficients |
Numeric vector with the coefficients
Oscar Garcia-Cabrejo khaors@gmail.com
Other laplace functions: stehfest_inversion
coeffs8 <- stehfest_coeffs(8)
coeffs20 <- stehfest_coeffs(20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.