Calculate the slope between two points


Namespace: PalmSens
Assembly: PalmSens (in PalmSens.dll)

Syntax

Visual Basic (Declaration)
Public Function CalculateSlope( _ 
   ByVal f As Integer,  _ 
   ByVal t As Integer _ 
) As Single
C#
public float CalculateSlope(
   int f,
   int t
)
C++
public:
 float CalculateSlope(
   int f,
   int t
) sealed 
J#
public float CalculateSlope(
   int f,
   int t
)
JScript
public  function CalculateSlope(
   f : int,
   t : int
) : float

Parameters

f
first index
t
second index

Return Value

calculated slope

See Also