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.3448.0 (4.8.3448.0)
Syntaxpublic 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
The number of range wraps when going from
start to
start +
offset.
If
offset is negative, the function returns a negative value.
See Also