MobilityDB 1.1

◆ tnumber_arithop_tp_at_timestamp()

static bool tnumber_arithop_tp_at_timestamp ( const TInstant start1,
const TInstant end1,
const TInstant start2,
const TInstant end2,
char  op,
Datum value,
TimestampTz t 
)
static

Find the single timestamptz at which the operation of two temporal number segments is at a local minimum/maximum.

Note
This function is called only when both sequences are linear.