MobilityDB 1.1

◆ arithop_tnumber_number()

Temporal * arithop_tnumber_number ( const Temporal temp,
Datum  value,
meosType  basetype,
TArithmetic  oper,
Datum(*)(Datum, Datum, meosType, meosType func,
bool  invert 
)

Generic arithmetic operator on a temporal number and a number.

Parameters
[in]tempTemporal number
[in]valueNumber
[in]basetypeBase type
[in]operEnumeration that states the arithmetic operator
[in]funcArithmetic function
[in]invertTrue if the base value is the first argument of the function