MobilityDB 1.3
Loading...
Searching...
No Matches
Functions

Transformation functions for set and span types. More...

Functions

void floatspan_round_set (const Span *s, int maxdd, Span *result)
 Return in the last argument a float span with the precision set to a number of decimal places. More...
 
Setnumset_shift_scale (const Set *s, Datum shift, Datum width, bool hasshift, bool haswidth)
 Return a number set shifted and/or scaled by two values. More...
 
Spannumspan_expand (const Span *s, Datum value)
 Return a number span with its bounds expanded/decreased by a value. More...
 
Spannumspan_shift_scale (const Span *s, Datum shift, Datum width, bool hasshift, bool haswidth)
 Return a number span shifted and/or scaled by two values. More...
 
SpanSetnumspanset_shift_scale (const SpanSet *ss, Datum shift, Datum width, bool hasshift, bool haswidth)
 Return a number set shifted and/or scaled by two intervals. More...
 
Setset_compact (const Set *s)
 Return a copy of a set ordered, without duplicates, and without any additional free space. More...
 
void span_expand (const Span *s1, Span *s2)
 Return the second span expanded with the first one. More...
 
SpanSetspanset_compact (const SpanSet *ss)
 Return a copy of a span set without any extra storage space. More...
 

Detailed Description

Transformation functions for set and span types.