pde_setup: Setting up PDE problem

Description Usage Arguments Details Value

View source: R/pde_setup.R

Description

Sets up grid and function evaluations over grid to create tridiagonal system coefficients for the solver to take.

Usage

1
pde_setup(f, contract_specs, numeric_specs)

Arguments

f

the list of coefficient functions (f.mu, f.vo, f.rate)

contract_specs

list of variables defining contract specifications, see details

numeric_specs

list of variables defining numerical specifications, see details

Details

A basic discretization scheme is used, functions are evaluated via loops then coefficients are returned in a list. For risk neutral pricing the drift and rate functions should match. The list contract_specs must contain

, while the list numeric_specs should contain

Value

list containing


shill1729/FeynmanKacSolver documentation built on May 19, 2020, 8:23 p.m.