function Difference(const Vec: TVecInt; Lag: Integer): VectorInt;
Calculate the difference for all Vec elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TVecInt | |
| 2 | Lag | Integer |
Returns: VectorInt
Remarks:
The TMtxVecBase.Length of the result is set to one less than the Vec.length.