Finance[PathGenerator] - create new path generator for a stochastic process
|
Calling Sequence
|
|
PathGenerator(process, timegrid)
PathGenerator(process, timeinterval, timesteps)
|
|
Parameters
|
|
process
|
-
|
stochastic process; process for the path to be generated
|
timegrid
|
-
|
list, Vector, or time grid; time grid
|
timeinterval
|
-
|
range; length of simulation interval
|
timesteps
|
-
|
positive integer; number of time steps
|
|
|
|
|
Description
|
|
•
|
The PathGenerator(process, timegrid) calling sequence creates a path generator for process based on the specified time grid.
|
|
|
Compatibility
|
|
•
|
The Finance[PathGenerator] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
Here is a path generator based on a non-homogeneous grid.
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
This is simulating a multi-dimensional process.
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
This is creating a path generator for a Vector of one-dimensional processes.
>
|
|
>
|
|
| (9) |
>
|
|
| (10) |
|
|
Download Help Document
Was this information helpful?