MobilityDB 1.1

◆ tnumberseq_disc_value_split()

static TSequence ** tnumberseq_disc_value_split ( const TSequence seq,
Datum  start_bucket,
Datum  size,
int  count,
Datum **  buckets,
int *  newcount 
)
static

Split a temporal value into an array of fragments according to value buckets.

Parameters
[in]seqTemporal value
[in]sizeSize of the value buckets
[in]start_bucketValue of the start bucket
[in]countNumber of buckets
[out]bucketsStart value of the buckets containing a fragment
[out]newcountNumber of values in the output arrays