Slice.FromRange Method

Creates a slice over the specified range.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Slice FromRange(
	int startIndex,
	int endIndex,
	int stride
)

Parameters

startIndex  Int32
The first index in the slice.
endIndex  Int32
An index past the last index in the slice.
stride  Int32
The slice's stride.

Return Value

Slice
A slice with stride stride, starting at startIndex and ending at the largest index smaller than endIndex.

See Also