MobilityDB 1.1
Functions

Mathematical functions for temporal types. More...

Collaboration diagram for Mathematical functions:

Functions

PGDLLEXPORT Datum Add_number_tnumber (PG_FUNCTION_ARGS)
 Return the temporal addition of a number and a temporal number. More...
 
PGDLLEXPORT Datum Add_tnumber_number (PG_FUNCTION_ARGS)
 Return the temporal addition of a temporal number and a number. More...
 
PGDLLEXPORT Datum Add_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return the temporal addition of the temporal numbers. More...
 
PGDLLEXPORT Datum Div_number_tnumber (PG_FUNCTION_ARGS)
 Return the temporal division of a number and a temporal number. More...
 
PGDLLEXPORT Datum Div_tnumber_number (PG_FUNCTION_ARGS)
 Return the temporal division of a temporal number and a number. More...
 
PGDLLEXPORT Datum Div_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return the temporal multiplication of the temporal numbers. More...
 
PGDLLEXPORT Datum Mult_number_tnumber (PG_FUNCTION_ARGS)
 Return the temporal multiplication of a number and a temporal number. More...
 
PGDLLEXPORT Datum Mult_tnumber_number (PG_FUNCTION_ARGS)
 Return the temporal multiplication of a temporal number and a number. More...
 
PGDLLEXPORT Datum Mult_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return the temporal multiplication of the temporal numbers. More...
 
PGDLLEXPORT Datum Sub_number_tnumber (PG_FUNCTION_ARGS)
 Return the temporal subtraction of a number and a temporal number. More...
 
PGDLLEXPORT Datum Sub_tnumber_number (PG_FUNCTION_ARGS)
 Return the temporal subtraction of a temporal number and a number. More...
 
PGDLLEXPORT Datum Sub_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return the temporal subtraction of the temporal numbers. More...
 
PGDLLEXPORT Datum Tfloat_degrees (PG_FUNCTION_ARGS)
 Convert a temporal number from radians to degrees. More...
 
PGDLLEXPORT Datum Tfloat_derivative (PG_FUNCTION_ARGS)
 Return the derivative of a temporal number. More...
 
PGDLLEXPORT Datum Tfloat_radians (PG_FUNCTION_ARGS)
 Convert a temporal number from degrees to radians. More...
 
PGDLLEXPORT Datum Tfloat_round (PG_FUNCTION_ARGS)
 Round a temporal number to a given number of decimal places. More...
 
PGDLLEXPORT Datum Tnumber_abs (PG_FUNCTION_ARGS)
 Get the absolute value of a temporal number. More...
 

Detailed Description

Mathematical functions for temporal types.