Normalize the array of temporal sequences.
The input sequences may be non-contiguous but must ordered and either (1) are non-overlapping, or (2) share the same last/first instant in the case we are merging temporal sequences.
- Parameters
-
[in] | sequences | Array of input sequences |
[in] | count | Number of elements in the input array |
[out] | newcount | Number of elements in the output array |
- Returns
- Array of normalized temporal sequences values
- Precondition
- Each sequence in the input array is normalized
-
When merging sequences, the test whether the value is the same at the common instant should be ensured by the calling function.
- Note
- The function creates new sequences and does not free the original sequences