Aggregates the values in the variable using the specified aggregator.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Aggregate ( _ indexes As Integer(), _ aggregator As Aggregator _ ) As Variable |
| C# |
|---|
public Variable Aggregate ( int[] indexes, Aggregator aggregator ) |
| C++ |
|---|
public: Variable^ Aggregate ( array<int>^ indexes, Aggregator^ aggregator ) |
Parameters
- indexes ()
- An integer array specifying the starting point of each group.
- aggregator (Extreme.Statistics.Aggregator)
- The Aggregator object used to compute an aggregated value.
Return Value
A Variable of the same type with aggregated observations.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | indexes is nullNothingnullptr.
-or- aggregator is nullNothingnullptr. |