Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Nuget packages
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.DataAnalysis.Models
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Providers
    • Extreme.Providers.InteropServices
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Statistics
    • AnovaModel Class
    • AnovaModelRow Class
    • AnovaRow Class
    • AnovaRowType Enumeration
    • AnovaTable Class
    • Cell Structure
    • ContingencyTable Class
    • ContingencyTableCell Structure
    • DateTimeInterval Structure
    • Descriptives(T) Class
    • Filter Class
    • GeneralizedLinearModel Class
    • HypothesisTests Class
    • Kernel Class
    • KernelDensity Class
    • KernelDensityBandwidthEstimator Enumeration
    • LinearRegressionModel Class
    • LinkFunction Class
    • LogisticRegressionMethod Enumeration
    • LogisticRegressionModel Class
    • ModelFamily Class
    • NearestCorrelationMatrixAlgorithm Enumeration
    • NonlinearRegressionModel Class
    • OneWayAnovaModel Class
    • OneWayRAnovaModel Class
    • PolynomialRegressionModel Class
    • RegularizedRegressionModel Class
    • ScaleFittingMethod Enumeration
    • SimpleRegressionKind Enumeration
    • SimpleRegressionModel Class
    • Stats Class
    • StepwiseCriterion Enumeration
    • StepwiseOptions Class
    • StepwiseRegressionMethod Enumeration
    • SumsOfSquaresType Enumeration
    • TestOfHomogeneityOfVariances Enumeration
    • TestOfNormality Enumeration
    • TwoWayAnovaModel Class
    • WindowFilter Class
  • Filter Class
    • Filter Constructors
    • Properties
    • Methods
    • Operators

Filter Class

Extreme Optimization Numerical Libraries for .NET Professional
Represents a filter that can be used to select observations in a VectorT or IDataFrame.
Inheritance Hierarchy

SystemObject
  Extreme.StatisticsFilter
    Extreme.StatisticsWindowFilter

Namespace:  Extreme.Statistics
Assembly:  Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
Syntax

C#
VB
C++
F#
Copy
[SerializableAttribute]
public class Filter : IEnumerable<int>, IEnumerable
<SerializableAttribute>
Public Class Filter
	Implements IEnumerable(Of Integer), IEnumerable
[SerializableAttribute]
public ref class Filter : IEnumerable<int>, 
	IEnumerable
[<SerializableAttribute>]
type Filter =  
    class
        interface IEnumerable<int>
        interface IEnumerable
    end

The Filter type exposes the following members.

Constructors

  NameDescription
Public methodFilter(Int32, Int32)
Constructs a new Filter from an array of indexes.
Public methodFilter(Int32, Int32, Int32)
Constructs a new Filter from a range of indexes.
Public methodFilter(Int32, Int32, Int32, Boolean)
Constructs a new Filter object.
Top
Properties

  NameDescription
Public propertyEndIndex
Gets the index of the observation past the last visible observation.
Public propertyFilteredLength
Gets the length of the filtered data.
Public propertyIsContiguous
Gets whether the filter selects a contiguous range.
Public propertyItem
Gets the unfiltered index of the observation at the specified index.
Public propertyLength
Gets the length of the unfiltered data.
Public propertyStartIndex
Gets the index of the first visible observation.
Top
Methods

  NameDescription
Public methodApplySort
Returns a filter that applies the specified sort filter to the current filter.
Public methodStatic memberComplement
Returns a Filter that is the complement of the specified filter.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates over the indexes in the filter.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetReverse
Returns a filter that lists the observations of the current filter in reverse order.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIntersection
Returns a filter representing the intersection of two filters.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberReverse
Returns a filter that reverses the observations.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnion
Returns a filter that represents the union of two filters.
Top
Operators

  NameDescription
Public operatorStatic memberBitwiseAnd
Returns a filter representing the intersection of two filters.
Public operatorStatic memberBitwiseOr
Returns a filter that represents the union of two filters.
Public operatorStatic memberOnesComplement
Returns a Filter that is the complement of the specified filter.
Top
Extension Methods

  NameDescription
Public Extension MethodGroupInt32Overloaded.
Returns a grouping by the unique elements in a sequence.
(Defined by Grouping.)
Public Extension MethodGroupInt32(IEqualityComparerInt32)Overloaded.
Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality.
(Defined by Grouping.)
Public Extension MethodSumInt32Overloaded.
Computes the sum of the sequence of values.
(Defined by ArrayMath.)
Public Extension MethodSumInt32, U(FuncInt32, U)Overloaded.
Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath.)
Top
Remarks

Use the Filter object to select a subset of the observations in a VectorT or IDataFrame.

See Also

Reference

Extreme.Statistics Namespace

Copyright (c) 2004-2021 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2021, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.