grid_function: Discretize function over space-time grid

Description Usage Arguments Details Value

View source: R/grid_functions.R

Description

Discretizes a function of space-time over a grid.

Usage

1
grid_function(f, x, t = NULL)

Arguments

f

function to evaluate on grid

x

space variable

t

time variable, can be null to discretize a function over just space.

Details

Simple double for-loop for space-time functions and one for-loop for functions of a single-variable

Value

matrix


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