Description Usage Arguments Details Value
Solves the PDE or variational inequality for an associated Ito diffusion via Feynman Kac formula.
1 |
pde.setup |
list containing problem setup. See details |
variational |
boolean for variational inequality vs PDE proper |
output |
type of output to return: price, greeks, or grid |
An implicit scheme is implemented to solve the PDE and dynamic programming used for the variational inequality. The pde.setup list should contain "grid.x", "grid.t", "alpha", "beta", "delta". The last three are the coefficients of the linear system, i.e. the tridiagonal entries of the matrix.
depending on the output
input, this function either returns the price (numeric), a vector of the price and greeks, or
the entire solution grid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.