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
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
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
    • 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.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.Distributed.Cuda
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.FSharp
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.Generic.LinearAlgebra
    • Extreme.Mathematics.Generic.LinearAlgebra.Implementation
    • Extreme.Mathematics.Generic.LinearAlgebra.Providers
    • Extreme.Mathematics.Generic.SignalProcessing
    • Extreme.Mathematics.Implementation
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Complex
    • Extreme.Mathematics.LinearAlgebra.Complex.Decompositions
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IO
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.LinearAlgebra.Providers
    • Extreme.Mathematics.LinearAlgebra.Sparse
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.Genetic
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Numerics.FSharp
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.IO
    • Extreme.Statistics.Linq
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Random
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Statistics
    • Aggregator Class
    • AnovaModel Class
    • AnovaModelRow Class
    • AnovaRow Class
    • AnovaRowCollection Class
    • AnovaRowType Enumeration
    • AnovaTable Class
    • BoundaryIntervalBehavior Enumeration
    • CategoricalScale Class
    • CategoricalVariable Class
    • CategoricalVariable.CategoricalFilters Structure
    • Cell Structure
    • CellArray Class
    • ClassificationModel Class
    • ClusteringModel Class
    • CollectionSortOrder Class
    • ContingencyTable Class
    • ContingencyTableCell Structure
    • DataArray(T) Class
    • DataArrayElement(T) Class
    • DateTimeInterval Structure
    • DateTimeScale Class
    • DateTimeUnit Enumeration
    • DateTimeVariable Class
    • DateTimeVariable.DateTimeFilters Structure
    • Descriptives(T) Class
    • Filter Class
    • GeneralizedLinearModel Class
    • Histogram Class
    • HistogramBin Structure
    • HistogramBinCollection Class
    • HypothesisTests Class
    • InsufficientDataException Class
    • ITransformationModel Interface
    • Kernel Class
    • KernelDensity Class
    • KernelDensityBandwidthEstimator Enumeration
    • KeyVariable Class
    • KeyVariable(T) Class
    • LinearRegressionModel Class
    • LinkFunction Class
    • LogisticRegressionMethod Enumeration
    • LogisticRegressionModel Class
    • MissingValueAction Enumeration
    • MissingValueException Class
    • Model Class
    • ModelExtensions Class
    • ModelFamily Class
    • ModelFitOptions Class
    • ModelInput Class
    • ModelInputCategory Enumeration
    • ModelInputFormat Enumeration
    • ModelInputGroup Class
    • ModelSerialization Enumeration
    • ModelStatus Enumeration
    • ModelTerm Class
    • ModelTermCollection Class
    • ModelTermKind Enumeration
    • MultipleMissingValueAction Enumeration
    • NearestCorrelationMatrixAlgorithm Enumeration
    • NonlinearRegressionModel Class
    • NumericalScale Class
    • NumericalVariable Class
    • NumericalVariable.NumericalFilters Structure
    • NumericalVariable.NumericalVariableTransforms Structure
    • Observation Structure
    • ObservationCollection Class
    • OneWayAnovaModel Class
    • OneWayRAnovaModel Class
    • Parameter Class
    • ParameterCollection Class
    • ParameterVector Class
    • PolynomialRegressionModel Class
    • RankTiebreaker Enumeration
    • RegressionModel Class
    • RegularizedRegressionModel Class
    • ScaleFittingMethod Enumeration
    • SeriesExtensions Class
    • SimpleRegressionKind Enumeration
    • SimpleRegressionModel Class
    • SortOrder Enumeration
    • SpecialBins Enumeration
    • Stats Class
    • StepwiseCriterion Enumeration
    • StepwiseOptions Class
    • StepwiseRegressionMethod Enumeration
    • SumsOfSquaresType Enumeration
    • TestOfHomogeneityOfVariances Enumeration
    • TestOfNormality Enumeration
    • TransformationModel Class
    • TransformedParameter Class
    • TwoWayAnovaModel Class
    • UnivariateModel Class
    • Variable Class
    • VariableCollection Class
    • WindowFilter Class
  • Filter Class
    • Filter Constructors
    • Properties
    • Methods
    • Operators
Filter ClassExtreme 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.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
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 a hash function for a particular type.
(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 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 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.

Version Information

Numerical Libraries

Supported in: 6.0, 5.x, 4.x
See Also

Reference

Extreme.Statistics Namespace

Copyright (c) 2004-2017 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2018, 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.