Aggregates the specified vector over each group and returns the result.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17150.0)
public virtual Vector<U> AggregateInto<T, U>(
Vector<T> values,
Aggregator<T, U> aggregator,
Vector<U> result
)
Public Overridable Function AggregateInto(Of T, U) (
values As Vector(Of T),
aggregator As Aggregator(Of T, U),
result As Vector(Of U)
) As Vector(Of U)
public:
generic<typename T, typename U>
virtual Vector<U>^ AggregateInto(
Vector<T>^ values,
Aggregator<T, U>^ aggregator,
Vector<U>^ result
)
abstract AggregateInto :
values : Vector<'T> *
aggregator : Aggregator<'T, 'U> *
result : Vector<'U> -> Vector<'U>
override AggregateInto :
values : Vector<'T> *
aggregator : Aggregator<'T, 'U> *
result : Vector<'U> -> Vector<'U>
Parameters
- values
- Type: Extreme.MathematicsVectorT
A vector. - aggregator
- Type: Extreme.DataAnalysisAggregatorT, U
The aggregator to apply to each group. - result
- Type: Extreme.MathematicsVectorU
The vector that is to hold the result of the aggregation.
May be .
Type Parameters
- T
- The element type of the input vector.
- U
- The type of the result of the aggregation.
Return Value
Type:
VectorUImplements
IGroupingAggregateIntoT, U(VectorT, AggregatorT, U, VectorU)
Numerical Libraries
Supported in: 6.0
Reference