Slice.Item Property

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

Item[Int32] Gets the index at the specified position in the slice.
Item[Slice] Returns a slice of the current slice.

Item(Int32)

Gets the index at the specified position in the slice.
C#
public int this[
	int index
] { get; }

Parameters

index  Int32
The zero-based position of the index.

Return Value

Int32
The index at position index.

Item(Slice)

Returns a slice of the current slice.
C#
public Slice this[
	Slice slice
] { get; }

Parameters

slice  Slice
A Slice structure that specifies the elements to return.

Return Value

Slice
A new slice that represents the nested slice.

See Also