clVector.Difference Method

TOpenCLMtxVec Difference(TOpenCLMtxVec Vec, Int32 Lag)

Calculate the difference for all Vec elements.

#NameTypeDescription
1VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
2LagInt32

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the results in the calling vector. The Dew.Math.TOpenCLBase.Length of the calling vector is set to one less the length of Vec and Dew.Math.TOpenCLBase.Complex property is set to Vec.Complex.

The Length of calling vector is automatically decremented by one.