Aggregator<T, TResult> Class
Represents a function that aggregates the values in a vector.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public abstract class Aggregator<T, TResult> : IAggregator<TResult>,
IAggregator
- Inheritance
- Object → Aggregator<T, TResult>
- Derived
- Implements
- IAggregator, IAggregator<TResult>
Type Parameters
- T
- The element type of the input.
- TResult
- The type of the result of the aggregation.
Constructors
Aggregator<T, TResult> | Constructs a new aggregator. |
Properties
Empty | Gets whether the aggregator produces a value for empty groups. |
Empty | Gets the result of the aggregation when the input is empty. |
IsIncremental | Gets whether the aggregator operates on individual elements or on the input as a whole. |
Missing | Gets whether the result of the outcome is different if missing values are present in the input but the other values are the same. |
Ordering | Gets whether the result of the outcome is different if elements are in a different order. |
Requires | Gets whether the aggregator requires O(N) storage during the computation. |
Supports | Gets whether the aggregator supports computing the aggregation for all groups directly from the group levels. |
Zeros | Gets whether the result of the outcome is different if zero elements are omitted. |
Methods
Aggregate( | Aggregates the elements of a vector and returns the result. |
Aggregate( | Aggregates the elements of a sequence and returns the result. |
Aggregate( | Aggregates the elements of a vector and returns the result. |
Aggregate( | Aggregates the elements of a vector and returns the result. |
Aggregate( | Aggregates over a span and returns the result. |
Aggregate( | Aggregates the elements of a vector and returns the result. |
Aggregate( | Aggregates the specified range of elements of a vector and returns the result. |
Aggregate( | Aggregates over a span and returns the result. |
Aggregate | Groups the elements of a vector according to the specified grouping. |
Aggregate | Aggregates the elements of a vector according to the specified level indexes. |
Aggregate | Groups the elements of a vector according to the specified level indexes. |
Aggregate | Aggregates the columns of a matrix. |
Aggregate | Aggregates the columns of a matrix disregarding the entire row if any of its entries are missing. |
Aggregate |
Aggregates the columns of a matrix.
Obsolete. |
Aggregate |
Groups the elements of a vector according to the specified grouping.
Obsolete. |
Aggregate |
Aggregates the elements of a vector according to the specified level indexes.
Obsolete. |
Aggregate |
Groups the elements of a vector according to the specified level indexes.
Obsolete. |
Aggregate | Groups the elements of a vector according to the specified level indexes. |
Aggregate |
Aggregates the columns of a matrix disregarding the entire row if any of its
entries are missing.
Obsolete. |
Aggregate | Aggregates over a span and returns the result. |
Aggregate | Aggregates the elements of a sequence and returns the result. |
Aggregate | Aggregates the elements of a span and returns the result. |
Aggregate | Aggregates the elements of a vector and returns the result. |
Aggregate | Aggregates the elements of a vector and returns the result. |
Aggregate | Aggregates the specified range of elements of a vector and returns the result. |
Aggregate | Aggregates the specified range of elements of a vector and returns the result. |
Aggregate | Aggregates the elements of a vector and returns the result. |
Create<TIntermediate, TAccumulator> | Creates an aggregator that converts inputs to an intermediate type before passing them to an accumulator of the specified type to perform the aggregation. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Try | Aggregates the elements of a vector and returns the result. |
Try | Aggregates the elements of a sequence and returns the result. |
Try | Aggregates the elements of a vector and returns the result. |
Try | Aggregates the specified range of elements of a vector and returns the result. |
Try | Aggregates the elements of a vector and returns the result. |
Try | Aggregates the elements of a vector and returns the result. |
Try | Aggregates the elements of a vector and returns the result. |
Try | Aggregates the elements of a sequence and returns the result. |
Try | Aggregates the elements of a vector and returns the result. |
Try | Aggregates the elements of a vector and returns the result. |
Try | Aggregates the elements of a vector and returns the result. |
Try | Aggregates the specified range of elements of a vector and returns the result. |
Try | Aggregates the specified range of elements of a vector and returns the result. |
Try | Aggregates the elements of a vector and returns the result. |
Try | Attempts to get an accumulator with the specified capability. |
Operators
Implicit(Func<Vector<T>, TResult> to Aggregator<T, TResult>) | Implicitly converts an aggregation function to an Aggregator<T, TResult> object. |