MobilityDB  1.0

◆ tinstantarr_normalize()

static const TInstant** tinstantarr_normalize ( const TInstant **  instants,
bool  linear,
int  count,
int *  newcount 
)
static

Normalize the array of temporal instant values.

Parameters
[in]instantsArray of input instants
[in]linearTrue when the instants have linear interpolation
[in]countNumber of elements in the input array
[out]newcountNumber of elements in the output array
Returns
Array of normalized temporal instant values
Precondition
The input array has at least two elements
Note
The function does not create new instants, it creates an array of pointers to a subset of the input instants