Returns a filter that represents the union of two filters.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function Union ( _ filter1 As Filter, _ filter2 As Filter _ ) As Filter |
| C# |
|---|
public static Filter Union ( Filter filter1, Filter filter2 ) |
| C++ |
|---|
public: static Filter^ Union ( Filter^ filter1, Filter^ filter2 ) |
Parameters
- filter1 (Extreme.Statistics.Filter)
- A Filter.
- filter2 (Extreme.Statistics.Filter)
- A Filter.
Return Value
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.