Aggregates the specified vector over each group and returns the result.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
Vector<U> AggregateInto<T, U>(
Vector<T> values1,
Vector<T> values2,
Aggregator2<T, U> aggregator,
Vector<U> result
)
Function AggregateInto(Of T, U) (
values1 As Vector(Of T),
values2 As Vector(Of T),
aggregator As Aggregator2(Of T, U),
result As Vector(Of U)
) As Vector(Of U)
generic<typename T, typename U>
Vector<U>^ AggregateInto(
Vector<T>^ values1,
Vector<T>^ values2,
Aggregator2<T, U>^ aggregator,
Vector<U>^ result
)
abstract AggregateInto :
values1 : Vector<'T> *
values2 : Vector<'T> *
aggregator : Aggregator2<'T, 'U> *
result : Vector<'U> -> Vector<'U>
Parameters
- values1
- Type: Extreme.MathematicsVectorT
A vector. - values2
- Type: Extreme.MathematicsVectorT
A vector. - aggregator
- Type: Extreme.DataAnalysisAggregator2T, U
The aggregator to apply to each group. - result
- Type: Extreme.MathematicsVectorU
The vector that is to hold the result.
Type Parameters
- T
- The element type of the input vector.
- U
- The type of the result of the aggregation.
Return Value
Type:
VectorU
Reference