Array1D<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.

Array1D<T>.From(Int32)

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

Parameters

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

Return Value

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

Array1D<T>.From(Int32, Int32)

Returns an array slice that starts at the specified index in the current array.
C#
public ArraySlice<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

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

See Also