You are here: Symbol Reference > MtxVec Namespace > Classes > TVec Class > public > Difference Method > TVec.Difference Method (Integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TVec.Difference Method (Integer)

The difference between two succesive vector elements.

Pascal
function Difference(Lag: Integer = 1): TVec; overload;

Calculate the difference for all calling vector elements. The following formula is used to calculate the difference: 

 

 

The Length of calling vector is automatically decremented by one.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!