Finance[GetSize] - get the size of a binomial/trinomial tree at the given level
|
Calling Sequence
|
|
GetSize(T, i)
|
|
Parameters
|
|
T
|
-
|
binomial or trinomial tree data structure
|
i
|
-
|
positive integer; level
|
|
|
|
|
Description
|
|
•
|
The GetSize command returns the number of nodes at level i of the tree T. See GetDescendants for more details about node indexing.
|
|
|
Compatibility
|
|
•
|
The Finance[GetSize] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?