Filter.Union Method

Returns a filter that represents the union of two filters.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static Filter Union(
	Filter filter1,
	Filter filter2
)

Parameters

filter1  Filter
A Filter.
filter2  Filter
A Filter.

Return Value

Filter
A Filter representing the union of filter1 and filter2.

Remarks

An observation matches the union of two filters if it matches one or the other or both filters. filter1 and filter2 must have the same length.

See Also