You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TVecInt Class > TVecInt Methods > Difference Method > TVecInt.Difference Method (int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TVecInt.Difference Method (int)

The difference between two succesive vector elements.

Syntax
C#
Visual Basic
public TVecInt Difference(int Lag);

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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!