functiongetIndex
Function to get the index for the table look-up
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | t | Current time | |
| Real | period | Time period | |
| Real[:] | x | Time stamps |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | k | Index in table |
| Type | Name | Default | Description |
|---|---|---|---|
| Real | t | Current time | |
| Real | period | Time period | |
| Real[:] | x | Time stamps |
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | k | Index in table |