NativeArraySlice<T>.From Method

Definition

Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

From(Int32) Returns an array slice starting at the specified index.
From(Int32, Int32) Returns an array slice starting at the specified index.

NativeArraySlice<T>.From(Int32)

Returns an array slice starting at the specified index.
C#
public NativeArraySlice<T> From(
	int index
)

Parameters

index  Int32
The zero-based index of the first element in the new array slice.

Return Value

NativeArraySlice<T>
An array slice whose first element is at position index.

NativeArraySlice<T>.From(Int32, Int32)

Returns an array slice starting at the specified index.
C#
public NativeArraySlice<T> From(
	int index,
	int stride
)

Parameters

index  Int32
The zero-based index of the first element in the new array slice.
stride  Int32
The stride between elements.

Return Value

NativeArraySlice<T>
An array slice whose first element is at position index.

See Also