Creates a slice of the specified length which starts at 0 and
has unit stride.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Slice FromLength(
int length
)
Public Shared Function FromLength (
length As Integer
) As Slice
public:
static Slice FromLength(
int length
)
static member FromLength :
length : int -> Slice
Parameters
- length
- Type: SystemInt32
The length of the slice.
Return Value
Type:
SliceA slice of
length indexes
starting at 0.
Reference