Slice.FromLength Method

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

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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