Aggregator 2<T, U>.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 | 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(Vector<T>, Vector<T>, IGrouping, Vector<U>)
Groups the elements of a vector according to the specified grouping.
public virtual Vector<U> AggregateInto(
Vector<T> values1,
Vector<T> values2,
IGrouping grouping,
Vector<U> result
)
Parameters
- values1 Vector<T>
- A vector of values.
- values2 Vector<T>
- A vector of values.
- grouping IGrouping
- A grouping.
- result Vector<U>
- The vector that is to hold the result. May be null.
Return Value
Vector<U>AggregateInto(Vector<T>, Vector<T>, Int32[], Vector<U>)
Groups the elements of a vector according to the specified level indexes.
public virtual Vector<U> AggregateInto(
Vector<T> values1,
Vector<T> values2,
int[] levels,
Vector<U> result
)
Parameters
- values1 Vector<T>
- A vector of values.
- values2 Vector<T>
- A vector of values.
- levels Int32[]
- An array of level indexes.
- result Vector<U>
- The vector that is to hold the result. May be null.