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.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
Int32Number of range wraps when going from start to start+offset. In case offset is negative,
the function returns a negative value.
See Also