- TIBCO BusinessEvents®
- Standard
- Temporal
- Calculus

# Temporal.Calculus

## Description

Numeric Temporal Functions

## Functions

Name | Signature and Synopsis
--- | ---
`integralDouble` | `double integralDouble(PropertyAtomDouble pad, long stime, long etime, int sample_rate, boolean bound_by_stime)` This method returns the integral of values in the history of a property atom over a given time interval [stime, etime], all the times are in (milliseconds).
`integralInt` | `int integralInt(PropertyAtomInt pai, long stime, long etime, int sample_rate, boolean bound_by_stime)` This method returns the integral of values in the history of a property atom over a given time interval [stime, etime], all the times are in (milliseconds).
`integralLong` | `long integralLong(PropertyAtomLong pal, long stime, long etime, int sample_rate, boolean bound_by_stime)` This method returns the integral of values in the history of a property atom over a given time interval [stime, etime], all the times are in (milliseconds).
`rateOfChangeDouble` | `double rateOfChangeDouble(PropertyAtomDouble pad, long stime, long etime, int sample_rate, boolean bound_by_stime)` This method performs a least-squares fit of a straight line (Y = mX +b) and returns the value of the slope of the line (m) as the rate of change of the given PorpertyAtomInt over the time interval[stime, etime]. All the times are in (milliseconds).
`rateOfChangeInt` | `double rateOfChangeInt(PropertyAtomInt pai, long stime, long etime, int sample_rate, boolean bound_by_stime)` This method performs a least-squares fit of a straight line (Y = mX +b) and returns the value of the slope of the line (m) as the rate of change of the given PorpertyAtomInt over the time interval[stime, etime]. All the times are in (milliseconds).
`rateOfChangeLong` | `double rateOfChangeLong(PropertyAtomLong pal, long stime, long etime, int sample_rate, boolean bound_by_stime)` This method performs a least-squares fit of a straight line (Y = mX +b) and returns the value of the slope of the line (m) as the rate of change of the given PorpertyAtomLong over the time interval[stime, etime]. All the times are in (milliseconds).