Slice.FromLength Method

Creates a slice of the specified length which starts at 0 and has unit stride.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Slice FromLength(
	int length
)

Parameters

length  Int32
The length of the slice.

Return Value

Slice
A slice of length indexes starting at 0.

See Also