Index.Union<T> Method

Returns the union of two indexes.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static Index<T> Union<T>(
	Index<T> left,
	Index<T> right
)

Parameters

left  Index<T>
The first index.
right  Index<T>
The second index.

Type Parameters

T

Return Value

Index<T>
The intersection of left and right.

Remarks

The elements are returned in the following order. First, all elements of right are returned, followed by the elements of left that do not appear in right.

See Also