MtxExprInt.Difference Method

VectorInt Difference(TVecInt Vec, Int32 Lag)

Calculate the difference for all Vec elements.

#NameTypeDescription
1VecTVecIntsource TVecInt
2LagInt32

Returns: VectorInt

Remarks:

The Dew.Math.TMtxVecBase.Length of the result is set to one less than the Vec.length.