Finance[SetUnderlying] - set the value of the underlying process at a node of a binomial/trinomial tree
|
Calling Sequence
|
|
SetUnderlying(T, i, j, v)
|
|
Parameters
|
|
T
|
-
|
binomial or trinomial tree data structure
|
i
|
-
|
positive integer; time step
|
j
|
-
|
positive integer; node index
|
v
|
-
|
real constant; new value of the underlying
|
|
|
|
|
Description
|
|
•
|
The SetUnderlying command sets the value of the underlying for node j at level i of the tree T. See Finance[GetDescendants] for more details about node indexing.
|
|
|
Compatibility
|
|
•
|
The Finance[SetUnderlying] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
>
|
|
>
|
|
>
|
|
|
|
Download Help Document
Was this information helpful?