NativeArray1D<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 that starts at the specified index in the current array.
From(Int32, Int32) Returns an array slice that starts at the specified index in the current array.

NativeArray1D<T>.From(Int32)

Returns an array that starts at the specified index in the current array.
C#
public NativeArray1D<T> From(
	int index
)

Parameters

index  Int32
The index of the first element of the new array.

Return Value

NativeArray1D<T>
An array that starts at position index in the current array.

NativeArray1D<T>.From(Int32, Int32)

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

Parameters

index  Int32
The index of the first element of the new array.
stride  Int32
The stride of the array slice.

Return Value

NativeArraySlice<T>
An array slice that starts at position index in the current array with stride stride.

See Also