MobilityDB 1.1

◆ tnumberdiscseq_twavg()

double tnumberdiscseq_twavg ( const TSequence seq)

Return the time-weighted average of a temporal discrete sequence number.

Note
Since a discrete sequence does not have duration, the function returns the traditional average of the values
SQL Function:
twAvg()