Return an array of N spans from the instants of a temporal sequence with discrete interpolation.
- Parameters
-
[in] | seq | Temporal sequence |
[in] | span_count | Number of spans |
[out] | count | Number of elements in the output array |
- Returns
- If the number of instants in the sequence is <=
span_count
, the result contains one span per instant. Otherwise, consecutive instants are combined into a single span in the result to reach the number of spans.