MobilityDB 1.1
Functions

Mathematical functions for temporal types. More...

Collaboration diagram for Mathematical functions:

Functions

Temporal * add_float_tfloat (double d, const Temporal *tnumber)
 Return the temporal addition of a float and a temporal float. More...
 
Temporal * add_int_tint (int i, const Temporal *tnumber)
 Mathematical operators (+, -, *, /) and functions (round, degrees, ...) for temporal numbers. More...
 
Temporal * add_tfloat_float (const Temporal *tnumber, double d)
 Return the temporal addition of a temporal float and a float. More...
 
Temporal * add_tint_int (const Temporal *tnumber, int i)
 Return the temporal addition of a temporal integer and an integer. More...
 
Temporal * add_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2)
 Return the temporal addition of the temporal numbers. More...
 
Temporal * div_float_tfloat (double d, const Temporal *tnumber)
 Return the temporal division of a float and a temporal float. More...
 
Temporal * div_int_tint (int i, const Temporal *tnumber)
 Return the temporal division of an integer and a temporal integer. More...
 
Temporal * div_tfloat_float (const Temporal *tnumber, double d)
 Return the temporal division of a temporal float and a float. More...
 
Temporal * div_tint_int (const Temporal *tnumber, int i)
 Return the temporal division of a temporal integer and an integer. More...
 
Temporal * div_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2)
 Return the temporal division of the temporal numbers. More...
 
Temporal * mult_float_tfloat (double d, const Temporal *tnumber)
 Return the temporal multiplication of a float and a temporal float. More...
 
Temporal * mult_int_tint (int i, const Temporal *tnumber)
 Return the temporal multiplication of an integer and a temporal integer. More...
 
Temporal * mult_tfloat_float (const Temporal *tnumber, double d)
 Return the temporal multiplication of a temporal float and a float. More...
 
Temporal * mult_tint_int (const Temporal *tnumber, int i)
 Return the temporal multiplication of a temporal integer and an integer. More...
 
Temporal * mult_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2)
 Return the temporal multiplication of the temporal numbers. More...
 
Temporal * sub_float_tfloat (double d, const Temporal *tnumber)
 Return the temporal subtraction of a float and a temporal float. More...
 
Temporal * sub_int_tint (int i, const Temporal *tnumber)
 Return the temporal subtraction of an integer and a temporal integer. More...
 
Temporal * sub_tfloat_float (const Temporal *tnumber, double d)
 Return the temporal subtraction of a temporal float and a float. More...
 
Temporal * sub_tint_int (const Temporal *tnumber, int i)
 Return the temporal subtraction of a temporal integer and an integer. More...
 
Temporal * sub_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2)
 Return the temporal subtraction of the temporal numbers. More...
 
Temporal * tfloat_degrees (const Temporal *temp)
 Convert a temporal number from radians to degrees. More...
 
Temporal * tfloat_derivative (const Temporal *temp)
 Return the derivative of a temporal number. More...
 
Temporal * tfloat_radians (const Temporal *temp)
 Convert a temporal number from degrees to radians. More...
 
Temporal * tnumber_abs (const Temporal *temp)
 Get the absolute value of a temporal number. More...
 

Detailed Description

Mathematical functions for temporal types.