|
◆ temporal_split_each_n_spans()
Span * temporal_split_each_n_spans |
( |
const Temporal * |
temp, |
|
|
int |
elems_per_span, |
|
|
int * |
count |
|
) |
| |
Return an array of spans obtained from the instants or segments of a temporal value, where the choice between instants or segments depends, respectively, on whether the interpolation is discrete or continuous.
- Parameters
-
[in] | temp | Temporal value |
[in] | elems_per_span | Number of input instants or segments merged into an output span |
[out] | count | Number of spans of the output array |
- Returns
- If the number of instants or segments is <=
elems_per_span , the result contains a single span. Otherwise, the number consecutive input instants or segments are combined into a single output span in the result. On error return NULL @csqlfn Temporal_split_each_n_spans()
|