Type Preserving Aggregator Group.Aggregate Into Method
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Aggregate | Aggregates the specified values according to the specified grouping. |
Aggregate | Aggregates the specified values according to the specified grouping. |
Aggregate | Groups the elements of a vector according to the specified grouping. |
Aggregate | Groups the elements of a vector according to the specified level indexes. |
AggregateInto<T>(IVector, IGrouping, IVector)
Aggregates the specified values according to the specified grouping.
public IVector AggregateInto<T>(
IVector values,
IGrouping grouping,
IVector result
)
Parameters
- values IVector
- A vector of values.
- grouping IGrouping
- An object that specifies the grouping of elements of values.
- result IVector
- The result of the aggregation.
Type Parameters
- T
- The element type of values.
Return Value
IVectorA reference to result.
AggregateInto<T>(IVector, IGrouping, Vector<T>)
Aggregates the specified values according to the specified grouping.
public Vector<T> AggregateInto<T>(
IVector values,
IGrouping grouping,
Vector<T> result
)
Parameters
- values IVector
- A vector of values.
- grouping IGrouping
- An object that specifies the grouping of elements of values.
- result Vector<T>
- The result of the aggregation.
Type Parameters
- T
- The element type of values.
Return Value
Vector<T>A reference to result.
AggregateInto<T>(Vector<T>, IGrouping, Vector<T>)
Groups the elements of a vector according to the specified grouping.
public Vector<T> AggregateInto<T>(
Vector<T> values,
IGrouping grouping,
Vector<T> result
)
Parameters
- values Vector<T>
- The vector to aggregate.
- grouping IGrouping
- A grouping.
- result Vector<T>
- The vector that is to hold the result. May be null.
Type Parameters
- T
Return Value
Vector<T>AggregateInto<T>(Vector<T>, Int32[], Vector<T>)
Groups the elements of a vector according to the specified level indexes.
public Vector<T> AggregateInto<T>(
Vector<T> values,
int[] levels,
Vector<T> result
)
Parameters
- values Vector<T>
- The vector to aggregate.
- levels Int32[]
- An array of level indexes.
- result Vector<T>
- The vector that is to hold the result. May be null.
Type Parameters
- T