IStorageSlice<T, TSelf>.From Method

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

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

From(Int32)

Returns a storage slice starting at the specified index.
C#
TSelf From(
	int index
)

Parameters

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

Return Value

TSelf
An array slice whose first element is at position index.

From(Int32, Int32)

Returns an array slice starting at the specified index.
C#
TSelf 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

TSelf
An array slice whose first element is at position index.

See Also