Computes a Difference series.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public double[] Compute(
	double[] z,
	int[] periods
)
Visual Basic (Declaration)
Public Function Compute ( _
	z As Double(), _
	periods As Integer() _
) As Double()
Visual C++
public:
array<double>^ Compute(
	array<double>^ z, 
	array<int>^ periods
)

Parameters

z
Type: array< System..::.Double >[]()[]
A double array containing the time series.
periods
Type: array< System..::.Int32 >[]()[]
A int array containing the periods at which z is to be differenced.

Return Value

A double array containing the differenced series.

See Also