Click or drag to resize

BasicFunctionsNumberOfWraps Method

Calculates the number of wraps w. This is the number of range wraps that must be taken to go from start to start+offset.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static int NumberOfWraps(
	int len,
	int start,
	int offset
)

Parameters

len  Int32
Length of the range.
start  Int32
Start point.
offset  Int32
Offset.

Return Value

Int32
Number of range wraps when going from start to start+offset. In case offset is negative, the function returns a negative value.
See Also