IIndex.Item Property

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
This API is preliminary and subject to change.

Overload List

Item[IEnumerable<Int32>] Gets a subset of the index.
Item[IList<Boolean>] Gets a subset of the index defined by a boolean mask.
Item[Int32] Gets the element at the specified position.

IIndex.Item(IEnumerable<Int32>)

This API is preliminary and subject to change.
Gets a subset of the index.
C#
IIndex this[
	IEnumerable<int> indexes
] { get; }

Parameters

indexes  IEnumerable<Int32>
A sequence of integer indexes.

Return Value

IIndex
An IIndex that contains the elements of this index at the positions listed in indexes.

IIndex.Item(IList<Boolean>)

This API is preliminary and subject to change.
Gets a subset of the index defined by a boolean mask.
C#
IIndex this[
	IList<bool> mask
] { get; }

Parameters

mask  IList<Boolean>
A list of boolean values that has the same length as the index.

Return Value

IIndex
An index with values of this index for which the corresponding element in mask is true.

IIndex.Item(Int32)

This API is preliminary and subject to change.
Gets the element at the specified position.
C#
Object this[
	int index
] { get; }

Parameters

index  Int32
The zero-based index of the element.

Property Value

Object

See Also