![]() |
MobilityDB 1.3
|
Mathematical operators (+, -, *, /) and functions (round, degrees, ...) for temporal numbers. More...
#include "temporal/tnumber_mathfuncs.h"
#include <meos.h>
#include <meos_internal.h>
#include "temporal/temporal.h"
#include "temporal/type_util.h"
Functions | |
Temporal * | add_float_tfloat (double d, const Temporal *temp) |
Return the temporal addition of a float and a temporal float. More... | |
Temporal * | add_int_tint (int i, const Temporal *temp) |
Return the temporal addition of an integer and a temporal integer. More... | |
Temporal * | add_tfloat_float (const Temporal *temp, double d) |
Return the temporal addition of a temporal float and a float. More... | |
Temporal * | add_tint_int (const Temporal *temp, int i) |
Return the temporal addition of a temporal integer and an integer. More... | |
Temporal * | add_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return the temporal addition of the temporal numbers. More... | |
Temporal * | div_float_tfloat (double d, const Temporal *temp) |
Return the temporal division of a float and a temporal float. More... | |
Temporal * | div_int_tint (int i, const Temporal *temp) |
Return the temporal division of an integer and a temporal integer. More... | |
Temporal * | div_tfloat_float (const Temporal *temp, double d) |
Return the temporal division of a temporal float and a float. More... | |
Temporal * | div_tint_int (const Temporal *temp, int i) |
Return the temporal division of a temporal integer and an integer. More... | |
Temporal * | div_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return the temporal division of the temporal numbers. More... | |
Temporal * | mult_float_tfloat (double d, const Temporal *temp) |
Return the temporal multiplication of a float and a temporal float. More... | |
Temporal * | mult_int_tint (int i, const Temporal *temp) |
Return the temporal multiplication of an integer and a temporal integer. More... | |
Temporal * | mult_tfloat_float (const Temporal *temp, double d) |
Return the temporal multiplication of a temporal float and a float. More... | |
Temporal * | mult_tint_int (const Temporal *temp, int i) |
Return the temporal multiplication of a temporal integer and an integer. More... | |
Temporal * | mult_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return the temporal multiplication of the temporal numbers. More... | |
Temporal * | sub_float_tfloat (double d, const Temporal *temp) |
Return the temporal subtraction of a float and a temporal float. More... | |
Temporal * | sub_int_tint (int i, const Temporal *temp) |
Return the temporal subtraction of an integer and a temporal integer. More... | |
Temporal * | sub_tfloat_float (const Temporal *temp, double d) |
Return the temporal subtraction of a temporal float and a float. More... | |
Temporal * | sub_tint_int (const Temporal *temp, int i) |
Return the temporal subtraction of a temporal integer and an integer. More... | |
Temporal * | sub_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2) |
Return the temporal subtraction of the temporal numbers. More... | |
Mathematical operators (+, -, *, /) and functions (round, degrees, ...) for temporal numbers.