clVector.Difference Method

function Difference(const Vec: TOpenCLMtxVec; Lag: Integer): TOpenCLMtxVec;

Calculate the difference for all Vec elements.

#NameTypeDescription
1VecTOpenCLMtxVec
2LagInteger

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

Remarks:

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

The Length of calling vector is automatically decremented by one.