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

The difference between two succesive vector elements.

Syntax
C#
Visual Basic
public TVec 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!