Index<T>.GetSubset Method

Returns a subset of the current index.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public virtual Index<T> GetSubset(
	Subset subset
)

Parameters

subset  Subset
A Subset structure that specifies the elements to return.

Return Value

Index<T>
A new index of the same type.

Exceptions

ArgumentNullException

subset is null.

DimensionMismatchException

The original length of subset does not equal the length of the index.

See Also