TOpenCLMtxVec Difference(TOpenCLMtxVec Vec, Int32 Lag)
Calculate the difference for all Vec elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Lag | Int32 |
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.