Destructive Aggregator<T, TResult, TIntermediate, TConverter> Class
Represents an aggregator that destroys its input.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public abstract class DestructiveAggregator<T, TResult, TIntermediate, TConverter> : Aggregator<T, TResult>
where TConverter : struct, new(), IFromConverter<T>
- Inheritance
- Object → Aggregator<T, TResult> → DestructiveAggregator<T, TResult, TIntermediate, TConverter>
Type Parameters
- T
- The element type of the input.
- TResult
- The type of the result of the aggregation.
- TIntermediate
- The intermediate result of the aggregation.
- TConverter
- The type of the converter that casts T values to TIntermediate.
Remarks
The constructor accepts a function that applies a transformation to the result of the aggregation.
Constructors
Destructive | Constructs a new destructive aggregator. |
Properties
Empty |
Gets whether the aggregator produces a value for empty groups.
(Inherited from Aggregator<T, TResult>) |
Empty |
Gets the result of the aggregation when the input is empty.
(Inherited from Aggregator<T, TResult>) |
IsIncremental |
Gets whether the aggregator operates on individual elements or
on the input as a whole.
(Inherited from Aggregator<T, TResult>) |
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.
(Inherited from Aggregator<T, TResult>) |
Ordering |
Gets whether the result of the outcome is different if elements are in a different order.
(Inherited from Aggregator<T, TResult>) |
Requires |
Gets whether the aggregator requires O(N) storage during the computation.
(Inherited from Aggregator<T, TResult>) |
Supports |
Gets whether the aggregator supports computing the aggregation
for all groups directly from the group levels.
(Inherited from Aggregator<T, TResult>) |
Transformation | Gets the delegate that transforms the intermediate result of the aggregation into the final value. |
Zeros |
Gets whether the result of the outcome is different if zero elements are omitted.
(Inherited from Aggregator<T, TResult>) |
Methods
Aggregate( |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate( |
Aggregates the elements of a sequence and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate( |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate( |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate( |
Aggregates over a span and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate( |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate( |
Aggregates the specified range of elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate( |
Aggregates over a span and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Groups the elements of a vector according to the specified grouping.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the elements of a vector according to the specified level indexes.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Groups the elements of a vector according to the specified level indexes.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the columns of a matrix.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the columns of a matrix disregarding the entire row if any of its
entries are missing.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the columns of a matrix.
(Inherited from Aggregator<T, TResult>) Obsolete. |
Aggregate |
Groups the elements of a vector according to the specified grouping.
(Inherited from Aggregator<T, TResult>) Obsolete. |
Aggregate |
Aggregates the elements of a vector according to the specified level indexes.
(Inherited from Aggregator<T, TResult>) Obsolete. |
Aggregate |
Groups the elements of a vector according to the specified level indexes.
(Inherited from Aggregator<T, TResult>) Obsolete. |
Aggregate |
Groups the elements of a vector according to the specified level indexes.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the columns of a matrix disregarding the entire row if any of its
entries are missing.
(Inherited from Aggregator<T, TResult>) Obsolete. |
Aggregate |
Aggregates over a span and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the elements of a sequence and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the elements of a span and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the specified range of elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the specified range of elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Aggregate |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
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 | Attempts to perform the aggregation operation. |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a sequence and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the specified range of elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a sequence and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the specified range of elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the specified range of elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Aggregates the elements of a vector and returns the result.
(Inherited from Aggregator<T, TResult>) |
Try |
Attempts to get an accumulator with the specified capability.
(Inherited from Aggregator<T, TResult>) |