functionremoveOldest
Remove all elements from the buffer that are about to leave the sliding time window
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Buffer | buffer | Memory of sliding window | |
| Real | t | Actual time instant |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Buffer | newBuffer | Updated memory of sliding window |