Learn R Programming

invLT (version 0.2.1)

ivLT.plot: Plot Laplace Transform inversion

Description

Plots the results of a Laplace Transform inversion at multiple time values.

Usage

ivLT.plot(L.FUN, METHOD = iv.opC, tPts = seq(-2, 5, 0.1), nterms = 100, ...)

Arguments

L.FUN
the Laplace-Transformed function
METHOD
inversion algorithm to use (iv.opC, iv.opChalf or iv.BrC)
tPts
time points at which to plot
nterms
number of terms to use in the numerical inversion (odd number safest for iv.opC, even for iv.opChalf)
...
graphical parameters for plot

Details

This function is useful for investigating the performance of a Laplace Transform inversion over a range of time values. Use for example with the LT functions provided in with this package (invLT).

Examples

Run this code
ivLT.plot(L.tsq, iv.opC, nterms = 31L)
ivLT.plot(L.tsq, iv.opC, nterms = 1000L)
ivLT.plot(L.tsq, iv.opChalf, nterms = 16L)
ivLT.plot(L.tsq, iv.opChalf, nterms = 1000L)
ivLT.plot(L.tsq, iv.BrC, nterms = 31L)
ivLT.plot(L.tsq, iv.BrC, nterms = 1000L)

Run the code above in your browser using DataLab