Range.Stride Property

Gets the increment for the index.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public int Stride { get; }

Property Value

Int32

Remarks

The last index in the range is the largest number of the form StartIndex + kStride that is less than or equal to EndIndex.

The Stride property can also be negative. In this case, the last index in the range is the smallest number of the form StartIndex + kStride that is greater than or equal to EndIndex.

See Also