set the value of the underlying process at a node of a binomial/trinomial tree
SetUnderlying(T, i, j, v)
binomial or trinomial tree data structure
positive integer; time step
positive integer; node index
real constant; new value of the underlying
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.
T ≔ TrinomialTree⁡5,1,2,3,4,5,6,7
T ≔ moduleend module
The Finance[SetUnderlying] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Download Help Document
What kind of issue would you like to report? (Optional)