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

◆ tnumberseq_shift_scale_value()

TSequence * tnumberseq_shift_scale_value ( const TSequence seq,
Datum  shift,
Datum  width,
bool  hasshift,
bool  haswidth 
)

Return a temporal sequence whose value dimension is shifted and/or scaled by two values.

Parameters
[in]seqTemporal sequence
[in]shiftValue for shifting the temporal value
[in]widthWidth of the result
[in]hasshiftTrue when the shift argument is given
[in]haswidthTrue when the width argument is given
Precondition
The width is greater than 0 if it is not NULL // TODO @csqlfn Tnumber_shift_value(), Tnumber_scale_value(), Tnumber_shift_scale_value()