Returns a filter representing the intersection of two filters.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function Intersection ( _ filter1 As Filter, _ filter2 As Filter _ ) As Filter |
| C# |
|---|
public static Filter Intersection ( Filter filter1, Filter filter2 ) |
| C++ |
|---|
public: static Filter^ Intersection ( Filter^ filter1, Filter^ filter2 ) |
Parameters
- filter1 (Extreme.Statistics.Filter)
- A Filter.
- filter2 (Extreme.Statistics.Filter)
- A Filter.
Return Value
A Filter representing the intersection of filter1 and filter2.
Remarks
An observation matches the intersection of two filters if it matches both filters.
filter1 and filter2 must have the same length.