Returns the time-reversed order time series (i.e. the first observation is swapped with the last observation, etc.): both missing and non-missing values.
is the univariate time series data (a one dimensional array).
[in]
N
is the number of observations in X.
Remarks
The time series is homogeneous or equally spaced.
The reverse operator changes the time-order from ascending to descending or vice versa: \[ \left[z_t\right] = \left[x_{T-t}\right] \] Where:
\( \left[z_t\right] \) is the reversed time series.
\(\left[x_t\right]\) is the input time series.
\(T\) is the number of observations (including missing values) in the input time series.
The returned array has the same size as the input time series.
Requirements
Header
SFSDK.H
Library
SFSDK.LIB
DLL
SFSDK.DLL
Examples
Namespace:
NumXLAPI
Class:
SFSDK
Scope:
Public
Lifetime:
Static
int NDK_REVERSE
(
double[]
data,
UIntPtr
nSize
)
Returns the time-reversed order time series (i.e. the first observation is swapped with the last observation, etc.): both missing and non-missing values.